diff options
author | Igbanam Ogbuluijah <390059+igbanam@users.noreply.github.com> | 2024-07-06 02:19:13 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2024-07-08 10:10:43 -0700 |
commit | a3c052111824c4da5c8e565f9a8669707df7a84a (patch) | |
tree | cb9e7f1b8bcce17d6df4f4c7a028007bef981b54 /doc/ledger3.texi | |
parent | 2f0bc088607650d029713e3500efacfb3b049c85 (diff) | |
download | fork-ledger-a3c052111824c4da5c8e565f9a8669707df7a84a.tar.gz fork-ledger-a3c052111824c4da5c8e565f9a8669707df7a84a.tar.bz2 fork-ledger-a3c052111824c4da5c8e565f9a8669707df7a84a.zip |
fix documentation syntax (#3)
Diffstat (limited to 'doc/ledger3.texi')
-rw-r--r-- | doc/ledger3.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index a39687e5..0759e2cb 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -3903,7 +3903,7 @@ Becomes: It is possible to refer to information within the posting using a @var{VEXPR}. Note that the syntax for using a @var{VEXPR} is "%(@var{VEXPR})". -@smallexample @c input:validate +@smallexample = ^Income Liabilities:Tax:%(tag(/Tax/)) (20/120) $account (-20/120) @@ -3912,18 +3912,18 @@ It is possible to refer to information within the posting using a @var{VEXPR}. ; Tax: General Assets 10 USD Income:Customer A -@end @smallexample +@end smallexample Becomes: -@smallexample @c input:validate +@smallexample 2024/07/04 * Sale ; Tax: General Assets 10 USD Income:Customer A -10 USD Liabilities:Tax:General -2 USD Income:Customer A 2 USD -@end @smallexample +@end smallexample Keep in mind that if you are using @option{--strict} or @option{--pedantic} you will have to explicitly define an account to avoid errors. When using @samp{$account}, such definition can be done thus: |