Bill,

You could always use Org-babel to execute a shell script which calls
Ledger with your chosen files.

For instance:

#+begin_src sh :results output :exports results
  ledger -f myfile.dat bal
#+end_src

Be aware that results 'output' may need some refinement, in my older
version of Org that's broken and I have to set mine to 'latex'
instead.

Thanks.

On Wed, Jan 23, 2013 at 09:06:48PM -0800, Bill wrote:
> I'm running ledger 2.6.2 and org-mode 7.01.g on Debian Squeeze, and I'd
> like to use org-babel to integrate the two.  All the examples I've found
> show the actual ledger contained in the org-mode file itself, but I'd like
> to connect to an existing ledger file.  What is the magic incantation,
> assuming there is one?  Where do I find that documentation?
>
> Thanks,
>
> Bill


------------------------------------------------------------------
Russell Adams                            [email protected]

PGP Key ID:     0x1160DCB3           http://www.adamsinfoserv.com/

Fingerprint:    1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3

Reply via email to