diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/NEWS | 14 | ||||
-rw-r--r-- | doc/ledger.1 | 4 | ||||
-rw-r--r-- | doc/ledger3.texi | 13 |
3 files changed, 25 insertions, 6 deletions
@@ -9,17 +9,21 @@ - Check balance assertions against the amount after the posting (bug #1147). +- Allow balance assertions with multiple posts to same account (bug #1187). + - Fixed period duration of "every X days" and similar statements (bug #370). -- Python: Removed double quotes from Unicode values. +- Option --force-color does not require --color anymore (bug #1109). -- ledger.el: Made links in ledger-report "register" commands optional. +- Added quoted_rfc4180 to allow CVS output with RFC 4180 compliant quoting. + +- Python: Removed double quotes from Unicode values. -- ledger.el: Added a "binary" format specifier to ledger-report. +- Emacs Lisp files have been moved to https://github.com/ledger/ledger-mode -- ledger.el: Consider ISO dates in `ledger-read-date'. +- Fixed build under MSYS (32-bit). -- ledger.el: Fixed compatibility problem with spacemacs. +- Fixed build under Cygwin. - Various documentation improvements diff --git a/doc/ledger.1 b/doc/ledger.1 index 80649496..141d245c 100644 --- a/doc/ledger.1 +++ b/doc/ledger.1 @@ -1283,6 +1283,10 @@ for values that have a per-unit cost. Surround .Ar expression with double-quotes. +.It Fn quoted_rfc4180 expression +Surround +.Ar expression +with double-quotes, compatible with rfc 4180. .It Sy real .\" Is there a difference between real and actual? Return true if the transaction is real, i.e not a automated or virtual diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 08099a15..5407aa71 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -8360,7 +8360,18 @@ Return the quantity of @var{value} for values that have a per-unit cost. @end defun @defun quoted expression -Surround @var{expression} with double-quotes. +Surround @var{expression} with double-quotes. If expression contains a double-quote, it will be escaped with a backslash. +@smallexample @c command:EAD8AA7,with_input:3406FC1 +$ ledger -f expr.dat --format "%(quoted(account)) %(quoted(amount))\n" reg +@end smallexample +@smallexample @c output:EAD8AA7 +"Assets:Cash" "¤ -123,45" +"Expenses:Office Supplies" "¤ 123,45" +@end smallexample +@end defun + +@defun quoted_rfc4180 expression +Surround @var{expression} with double-quotes, compliant with rfc 4180. If expression contains a double-quote, it will be represented with two double-quotes. @smallexample @c command:EAD8AA7,with_input:3406FC1 $ ledger -f expr.dat --format "%(quoted(account)) %(quoted(amount))\n" reg @end smallexample |