From 4ec3c9382918bce74fed02c1a5d001c0b8553140 Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Fri, 16 Jan 2015 21:50:34 +0100 Subject: [PATCH] [doc] Remove unsupported value expressions The following value expressions result in an error: A, B, g, G, I, v, V Tested using: % for o in A B g G I v V; do ledger -f test/input/sample.dat -F "%(${o}(amount))\n" reg done While handling posting from "test/input/sample.dat", line 17: > Assets:Bank:Checking $1,000.00 Error: The A value expression variable is no longer supported ... [ci skip] --- doc/ledger3.texi | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/doc/ledger3.texi b/doc/ledger3.texi index 2925d358..ab3c8823 100644 --- a/doc/ledger3.texi +++ b/doc/ledger3.texi @@ -7753,13 +7753,6 @@ considering children. The cost of a posting; the cost of an account, without its children. -@item v -The market value of a posting or an account, without its children. - -@item g -The net gain (market value minus cost basis), for a posting or an -account, without its children. It is the same as @samp{v-b}. - @item l The depth (``level'') of an account. If an account has one parent, its depth is one. @@ -7792,19 +7785,6 @@ and all its children. The total count of postings affecting an account and all its children. -@item B -The total cost of all postings seen so far; the total cost of an -account and all its children. - -@item V -The market value of all postings seen so far, or of an account and -all its children. - -@item G -The total net gain (market value minus cost basis), for a series of -postings, or an account and its children. It is the same as -@samp{V-B}. - @end table @node Functions, Operators, Variables, Value Expressions @@ -7823,10 +7803,6 @@ The absolute (unsigned) value of the argument. @item S Strips the commodity from the argument. -@item A -The arithmetic mean of the argument; @samp{Ax} is the same as -@samp{x/n}. - @item P The present market value of the argument. The syntax @samp{P(x,d)} is supported, which yields the market value at time @samp{d}. If no date