Re: Report format strings

2015-01-10 Thread Richard Lyons
Thanks Craig, but I cannot find examples in the man page. I have found on the web (at http://ledger-cli.org/3.0/doc/ledger3.html#Format-Strings) an example, in section 12.4 but this is only of some conditional formatting of one field. I have tried googling to no avail -- this is made more

Re: Report format strings

2015-01-10 Thread Richard Lyons
Thanks Lifepillar, they do look useful. richard On Saturday, 10 January 2015 11:07:45 UTC, Lifepillar wrote: Are there anywhere some examples of balance and register format strings? I don't know how helpful they can be, but you may find some examples in my ledger2html script:

Balance assertions with lot prices?

2015-01-10 Thread Eric Weigle
Related to the earlier question about currencies/commodities, I can't seem to find a way to say something like this: 2015/01/01 Stock balance forward Assets:Stock0 = 5 AAPL {$100} Assets:Stock0 = 10 AAPL {$200} Is this possible? -- --- You received this message because you

Re: Report format strings

2015-01-10 Thread Richard Lyons
Thanks. The manual on the web does give fuller information than the man page. Does this mean that I need to copy the whole 31 lines of the register format to my config file, and edit it? In my case this would be by adding a clause for the transaction-code, containing something like

Re: Report format strings

2015-01-10 Thread Alexis
Hello Richard, search for --register-format the Output CustomizationĀ¹ section of the manual, there you will also find format strings for other reports which have served me well as learning examples. If you have any suggestions on how to best improve the documentation for the format strings please

Re: Report format strings

2015-01-10 Thread Craig Earls
Richard, do you have the actual manual? Not the man page, but the actual pdf or info manual? On Sat, Jan 10, 2015 at 5:12 AM, Richard Lyons rich...@the-place.net wrote: Thanks Lifepillar, they do look useful. richard On Saturday, 10 January 2015 11:07:45 UTC, Lifepillar wrote: Are there

Re: ledger -j reg: Error: Cannot convert a balance with multiple commodities to an amount

2015-01-10 Thread thierry
To graph data, I am using ledger -J -X ā‚¬ reg ^exp Hope this helps, Thierry On Thursday, January 8, 2015 at 12:53:54 AM UTC+1, Hans Erik van Elburg wrote: * ledger -j Error: Cannot convert a balance with multiple commodities to an amount ** symptoms I wanted to create some output

Re: Balance assertions with lot prices?

2015-01-10 Thread Martin Blais
I've thought about this before: Beancount only offers checks in units, not individual lots, neither in total cost basis for those units. This is not an unreasonable feature to consider however, but I haven't found it to be necessary yet. Are you just being particularly sensitive to making

Cannot get ledger-mode to run properly

2015-01-10 Thread Phil Gee
Hello, I am fairly new to ledger and emacs. Ok, to be more precise I currently give emacs a second chance by using it for ledger. The latter one works perfectly fine as command line tool in any folder, ie ledger is to be found in the $PATH-variable. However, if I try to run ledger-mode in

Re: Report format strings

2015-01-10 Thread Richard Lyons
Craig, yes, I have now found the pdf manual, /usr/share/doc/ledger/ledger3.pdf (and also some info files, but I hate trying to navigate info files). The very long register-format is given there too. There does not seem to be information on the configuration file, but I assume it can

Re: Report format strings

2015-01-10 Thread Alexis
Hi Richard, omitting the initial --. It would be nice to see an example configuration file, To quote from the manual: --init-file FILE -i FILE Causes FILE to be read by ledger before any other ledger file. This file may not contain any postings, but it may contain option settings. To

Re: Ledger Releases and Thirdparty Code

2015-01-10 Thread John Wiegley
Alexis surryh...@gmail.com writes: Any objections? None, great idea, Alexis. John -- --- You received this message because you are subscribed to the Google Groups Ledger group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Report format strings

2015-01-10 Thread Richard Lyons
Thanks Alexis. I searched for config -- did not think if init. I shall start experimenting with ~/.ledgerrc tomorrow. richard On Saturday, 10 January 2015 23:49:39 UTC, unices wrote: [...] It's ~/.ledgerrc (