From dbf1574ab7f05d7cd8920b144675f006cccdf212 Mon Sep 17 00:00:00 2001 From: thdox Date: Sat, 10 Jan 2015 23:13:48 +0100 Subject: [PATCH 1/2] Add those single letter directives to index. --- doc/ledger3.texi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 81d1849f..c08d301c 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -2081,6 +2081,7 @@ the syntax @code{[ACTUAL_DATE]} or @code{[=EFFECTIVE_DATE]} or @item P @findex --download +@findex P Specifies a historical price for a commodity. These are usually found in a pricing history file (see the @option{--download (-Q)} option). The syntax is: @@ -2554,12 +2555,15 @@ alone, for backwards compatibility with older Ledger versions. @table @code @item A +@findex A See @code{bucket}. @item Y +@findex Y See @code{year}. @item N SYMBOL +@findex N Indicates that pricing information is to be ignored for a given symbol, nor will quotes ever be downloaded for that symbol. Useful with a home currency, such as the dollar @samp{$}. It is recommended @@ -2572,6 +2576,7 @@ N SYMBOL @item D AMOUNT @findex xact +@findex D Specifies the default commodity to use, by specifying an amount in the expected format. The @command{xact} command will use this commodity as @@ -2586,6 +2591,7 @@ D $1,000.00 @end smallexample @item C AMOUNT1 = AMOUNT2 +@findex C Specifies a commodity conversion, where the first amount is given to be equivalent to the second amount. The first amount should use the decimal precision desired during reporting: @@ -2595,6 +2601,12 @@ C 1.00 Kb = 1024 bytes @end smallexample @item I, i, O, o, b, h +@findex I +@findex i +@findex O +@findex o +@findex b +@findex h These four relate to timeclock support, which permits Ledger to read timelog files. See timeclock's documentation for more info on the syntax of its timelog files. From c066156f0917ec60ce88eeab5ee4c58f09184a4c Mon Sep 17 00:00:00 2001 From: thdox Date: Tue, 20 Jan 2015 12:49:58 +0100 Subject: [PATCH 2/2] Add cross-ref for bucket and year. On top of @node, @xref{} can also be linked to @anchor. [ci skip] --- doc/ledger3.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index c08d301c..7fe14d6e 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -2262,6 +2262,7 @@ assert @end smallexample @item bucket +@anchor{bucket} @c instance_t::default_account_directive Defines the default account to use for balancing transactions. Normally, each transaction has at least two postings, which must @@ -2540,6 +2541,7 @@ This is a synonym for @code{comment} and must be closed by an @code{end} tag. @item year +@anchor{year} @c instance_t::year_directive in textual.cc Denotes the year used for all subsequent transactions that give a date without a year. The year should appear immediately after the @@ -2556,11 +2558,11 @@ alone, for backwards compatibility with older Ledger versions. @item A @findex A -See @code{bucket}. +@xref{bucket}. @item Y @findex Y -See @code{year}. +@xref{year}. @item N SYMBOL @findex N