doc updates

This commit is contained in:
John Wiegley 2005-02-16 20:24:48 +00:00
parent 1f68d9609e
commit fed917dd8e

View file

@ -3225,10 +3225,23 @@ Now money can be spent directly from a fund:
@end smallexample @end smallexample
When reports are generated, by default they will appear in terms of When reports are generated, by default they will appear in terms of
the funds, income and expenses. If the @option{--real} option is the funds, income and expenses. In this case, you will likely want to
used, the report is in terms of the accounts. If more asset accounts mask out your @samp{Assets} account, becausue the balance won't make
are needed as the source of a transaction, just list them as you would much sense:
normally, for example:
@example
ledger bal -^Assets
@end example
If the @option{--real} option is used, the report is in terms of the
real accounts:
@example
ledger --real bal
@end example
If more asset accounts are needed as the source of a transaction, just
list them as you would normally, for example:
@smallexample @smallexample
2004/03/25 Payment for books (paid from Checking) 2004/03/25 Payment for books (paid from Checking)
@ -3606,8 +3619,12 @@ transaction has been cleared or not. There is also an
user wishes. user wishes.
After the initial entry data, there must follow a set of transactions After the initial entry data, there must follow a set of transactions
marked with @samp{en:transactions}. Within this tag is a series of marked with @samp{en:transactions}. Typically these transactions will
one or more @samp{transaction}'s, which have the following form: all balance each other, but if not they will be automatically balanced
into an account named @samp{<Unknown>}.
Within the @samp{en:transactions} tag is a series of one or more
@samp{transaction}'s, which have the following form:
@smallexample @smallexample
<transaction> <transaction>
@ -3705,9 +3722,9 @@ example:
@end smallexample @end smallexample
That is the extent of the XML data format used by Ledger. It will That is the extent of the XML data format used by Ledger. It will
output such data if the @command{xml} command is used, and it can read output such data if the @command{xml} command is used, and can read
such data as long as the @file{xmlparse} library was available at the the same data as long as the @file{xmlparse} library was available
time Ledger was built. when Ledger was built.
@node Extending with Python, , Using XML, Top @node Extending with Python, , Using XML, Top
@chapter Extending with Python @chapter Extending with Python