diff options
author | John Wiegley <johnw@newartisans.com> | 2012-09-09 21:45:08 -0700 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-09-09 21:45:08 -0700 |
commit | d48560919ad140cd70e63cb4be4532963b9f9f44 (patch) | |
tree | d308511bf33553c0f790d52e0e71782c7d8158ac /doc | |
parent | d1fadf07a819dd55847b855253566a6307a3bee0 (diff) | |
parent | 137183d19f2ae54c030a1f7dcd59e02341f088c6 (diff) | |
download | fork-ledger-d48560919ad140cd70e63cb4be4532963b9f9f44.tar.gz fork-ledger-d48560919ad140cd70e63cb4be4532963b9f9f44.tar.bz2 fork-ledger-d48560919ad140cd70e63cb4be4532963b9f9f44.zip |
Merge pull request #81 from bkuhn/doc-small-improvements
Document "Data File Parsing Information" format strings.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/ledger3.texi | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 1ea4fd02..16bf0564 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -6691,6 +6691,7 @@ As an example of how flexible the --format strings can be, the default balance f * Quantities and Calculations:: * Dates:: * Text Formatting:: +* Data File Parsing Information:: * Misc:: @end menu @@ -6762,7 +6763,7 @@ The character based formatting ledger can do is limited to the ANSI terminal cha @item @code{value_date } @tab @code{} @tab @end multitable -@node Text Formatting, Misc, Dates, New formatting codes +@node Text Formatting, Data File Parsing Information, Dates, New formatting codes @subsection Text Formatting @subsubsection Summary @multitable @columnfractions .6 .4 @@ -6797,7 +6798,26 @@ Return str surrounded by double quotes, @code{"<str>"}. Values can have numerous annotations, such as effective dates and lot prices. @code{strip} removes these annotations. @end table -@node Misc, , Text Formatting, New formatting codes + +@node Data File Parsing Information, Misc, Text Formatting, New formatting codes +@subsection Data File Parsing Information + +The format strings in the table below provide locational metadata +regarding the coordinates of entries in the source data file(s) that +generated the posting. + +@subsubsection Summary +@multitable @columnfractions .3 .2 .5 +@item @strong{Function} @tab @strong{Abbrev.} @tab @strong{Description} +@item @code{filename} @tab S @tab name of ledger data file from whence posting came +@item @code{beg_pos} @tab B @tab character position in @code{filename} where entry for posting begins +@item @code{end_pos} @tab E @tab character position in @code{filename} where entry for posting ends +@item @code{beg_line} @tab b @tab line number in @code{filename} where entry for posting begins +@item @code{end_line} @tab e @tab line number in @code{filename} where posting's entry for posting ends +@end multitable + + +@node Misc, , Data File Parsing Information, New formatting codes @subsection Miscellaneous @multitable @columnfractions .3 .2 .5 @item @strong{Function} @tab @strong{Abbrev.} @tab @strong{Description} |