summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorCraig Earls <enderw88@gmail.com>2011-10-19 20:20:06 -0700
committerCraig Earls <enderw88@gmail.com>2011-10-19 20:20:06 -0700
commitd9f72c01eec1971108ad9c6848fd8fa4cd31b8ea (patch)
tree3f7cdca249018f5b1560b42b3fc6dacbe503b55f /doc
parent95cb4e86b5130e224e004f3e41cf399f6cad8452 (diff)
downloadfork-ledger-d9f72c01eec1971108ad9c6848fd8fa4cd31b8ea.tar.gz
fork-ledger-d9f72c01eec1971108ad9c6848fd8fa4cd31b8ea.tar.bz2
fork-ledger-d9f72c01eec1971108ad9c6848fd8fa4cd31b8ea.zip
Added section about forcing balance checking
Diffstat (limited to 'doc')
-rw-r--r--doc/ledger3.texi45
1 files changed, 44 insertions, 1 deletions
diff --git a/doc/ledger3.texi b/doc/ledger3.texi
index 7281814b..ec0699e5 100644
--- a/doc/ledger3.texi
+++ b/doc/ledger3.texi
@@ -45,7 +45,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
@titlepage
@title Ledger: Command-Line Accounting
@subtitle For Version 3.0 of Ledger
-@subtitle Draft Manual Time-stamp: <2011-10-12 15:13 (cpearls)>
+@subtitle Draft Manual Time-stamp: <2011-10-19 20:20 (cpearls)>
@author John Wiegley
@end titlepage
@@ -1497,6 +1497,28 @@ amount and the account. If you do not have adequate separation between
the amount and the account Ledger will give an error and stop
calculating}
+@menu
+* Checking Balances::
+@end menu
+
+@node Checking Balances, , Most Basic Entry, Most Basic Entry
+@subsection Checking balances
+
+
+Ledger 3.0 has a new feature for confirming
+known past balances. Here's an example entry:
+
+@smallexample
+ 2008/11/26 (Interest) EXTND INS SWEEP ACCT(FDIC-INS)
+ * Assets:Brokerage $0.07 = $970.64
+ Income:Interest $-0.07
+@end smallexample
+
+What this says is that as of 11/26/08 (bank perspective), the
+Assets:Brokerage account was known to equal $970.64. It @strong{must}
+equal this amount at this point in the Ledger file, or there will be a
+balancing error.
+
@node Currency and Commodities, Structuring Your Accounts, Most Basic Entry, Keeping a Journal
@section Currency and Commodities
@@ -4015,4 +4037,25 @@ ledger register Checking --sort d -d 'd>[2011/04/01]' until 2011/05/25
(Liabilities:Tithe Owed) -1.0
@end smallexample
+@subsection --balance-format
+On Apr 29, 2010, at 7:58 AM, Peter Ross wrote:
+
+> All I've found is an email which mentions using %(account), but no
+> other information.
+
+> Is there any documentation anywhere?
+
+Not yet. Essentialy the new format is %[-][MAX][.MIN](VALEXPR). But it can get a little crazy due to its flexibility, so that the default balance format looks like this:
+
+ "%(justify(scrub(display_total), 20, -1, true, color))"
+ " %(!options.flat ? depth_spacer : \"\")"
+ "%-(ansify_if(partial_account(options.flat), blue if color))\n%/"
+ "%$1\n%/"
+ "--------------------\n"
+
+Just imagine the strings concatenated.
+
+John
+
+
@bye