[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: accounting
From: |
Uwe Brauer |
Subject: |
Re: accounting |
Date: |
Mon, 04 Jan 2021 21:01:01 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>>> "ESF" == Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> On Monday, 4 Jan 2021 at 13:43, Uwe Brauer wrote:
>> The example in this link is ok, also the output (the result of the
>> ledger operation) is not very nicely formatted.
> ledger does allow you to control, in detail, how the output should be
> formatted. The default output is suitable for a console display but you
> can modify this through appropriate arguments to the ledger command line
> via babel. For instance, I have this line in my org file for generating
> a balance of my assets:
> ,#+call: year2020[:cmdline -V --format "%-20A %14T\n" bal --flat assets ]()
I am not sure I understand this (I admit I never used ledger, I used for
some time gnucash)
Do you mean this?
#+call: allinone[:cmdline -V --format "%-20A %14T\n" bal --flat assets ]()
#+name: allinone
#+begin_src ledger
2010/01/01 * Starting balance
assets:bank:savings 1300.00
income:starting balances
2010/07/22 * Got paid
assets:bank:chequing 1000.00
income:salary
2010/07/23 Rent
expenses:rent 250.00
assets:bank:chequing
2010/07/24 Food
expenses:food 150.00
assets:bank:chequing
2010/07/31 * Interest on bank savings
assets:bank:savings 3.53
income:interest
2010/07/31 * Transfer savings
assets:bank:savings 250.00
assets:bank:chequing
2010/08/01 got paid again
assets:bank:chequing 1000.00
income:salary
#+end_src
smime.p7s
Description: S/MIME cryptographic signature
- accounting, Uwe Brauer, 2021/01/04
- Re: accounting, Eric S Fraga, 2021/01/04
- Re: accounting, Dr. Arne Babenhauserheide, 2021/01/04
- Re: accounting, Uwe Brauer, 2021/01/04
- Re: accounting, Eric S Fraga, 2021/01/04
- Re: accounting,
Uwe Brauer <=
- Message not available
- Re: accounting, Uwe Brauer, 2021/01/05
- [A solution of sorts] (was: accounting), Uwe Brauer, 2021/01/05
- Re: [A solution of sorts], Eric S Fraga, 2021/01/05
- Re: [A solution of sorts], Uwe Brauer, 2021/01/06
- Re: accounting, Eric S Fraga, 2021/01/05
- Re: accounting, Ihor Radchenko, 2021/01/05
Re: accounting, Daniele Nicolodi, 2021/01/04