Setting default currency for a Ledger file

2010-12-10 Thread Aggelos Orfanakos
Hello. Is there a way to set a default currency for transactions? So, instead of typing €100, €23, etc in each transaction, you'd simply write 100, 23 etc and when something is not €, you'd explicitly write its symbol. Thanks in advance.

Indentation when printing with different currencies

2010-12-10 Thread Aggelos Orfanakos
Hello. Given this file (test.db): 2010-12-08 foo assets:savings:1 €1.234,56 equity:opening balances 2010-12-08 bar assets:savings:2 $7.890,12 equity:opening balances If I do ledger -f test.db print, I get: 2010/12/08 foo assets:savings:1 €1.234,56

Re: Setting default currency for a Ledger file

2010-12-10 Thread Simon Michael
hledger allows it: http://hledger.org/MANUAL.html#default-commodity I guess ledger 2.x did ?

Re: Setting default currency for a Ledger file

2010-12-10 Thread John Wiegley
On Dec 10, 2010, at 6:31 PM, Simon Michael wrote: Interesting! I thought otherwise from Specifies the default commodity to use, by specifying an amount in the expected format. The entry command will use this commodity as the default when none other can be determined. in the 2.x manual.

Documentation patches for 3.0

2010-12-10 Thread Matthew Palmer
Attached are a couple of patches for 3.0 arising from bugs submitted to Debian: 0001: (http://bugs.debian.org/605810) Options provided in ~/.ledgerrc must be specified one-per-line, not all on one line. 0002: (http://bugs.debian.org/605807) Specifying multiple files separated by colons to either