The DocTests.py script will parse a given texinfo file for specially
marked examples, run the ledger command from the example, and check
the result against the example output from the documentation.
If one uses --exchange to force CSV display amounts into a particular
currency, then the commodity output column should match that currency.
Without this patch, the commodity column contains the original
commodity, not the commodity for the exported amount.
Rename to "Report filtering", "Output customization", "Commodity reporting". Second word is lowercase as exact same subsection exists with uppercase. Not a proper fix, but the quickest I found.
Rename from "Example Journal File: drewr.dat" to "Example Journal File" as makeinfo does not like ':' in titles.
Fix some old naming of cross references.
Rename @code{-Q} to @option{--download (-Q)}. The reasoning is that the reader of the manual is a newcomer, and as a newcomer --download is more self-explicit compared to a cryptic single letter. But information is kept for advanced user who can still exercise their mastery with cryptic things.
Fix short option -Z (and not -L) for --price-exp
Fix "@section Balance format" (as @option in title is causing issues with makeinfo).
Fix consistency of @option{--option @var{VAR}} by adding systematically @var{VAR}.
Add period at end of sentences.
report.cc::lookup_option, session.cc::lookup_option, are listed in
documentation.
Add consistency about the @var{} variables passed to --options.
M-x texinfo-all-menus-update
uses the Texinfo standard, and prints nicely in TeX output.
Also, I did a consistency check (i.e., I renamed STRING to STR as
example).
Also, I deleted the option --wide-register-format
and --wide-register-report, as I could not find them in the code.