diff options
-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: |