emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [babel] ledger tutorial on Worg


From: Sébastien Vauban
Subject: [Orgmode] Re: [babel] ledger tutorial on Worg
Date: Wed, 01 Sep 2010 13:25:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Eric,

>>> I have just placed on Worg [1] a short tutorial/example for using
>>> ledger with babel.  Please have a look and comment etc!
>
> [1]  http://orgmode.org/worg/org-contrib/babel/languages.php#langs

Being interested a lot in Ledger integration with Org-Babel as well, I have a
quick remark: instead of including (with explicit full path) the journal
entries in every code block, can't we use the more natural (at least, to me)
tangling provided by the Noweb syntax?

Something like:

--8<---------------cut here---------------start------------->8---
* Journal data

#+src_name ledger-journal
#+begin_src ledger :results silent
2008/01/03 * (SCORPIOS) SEB VAUBAN
        Assets:Bank:Checking:799979450003                               550.00 
EUR
        Assets:Bank:Transferred

2008/01/01 * ( ) UNKNOWN-PAYEE
        Assets:Bank:Checking:799979450003                                21.91 
EUR
        Expenses:Unknown
#+end_src

* Balance

Give me an overview...

#+srcname: ledger-balance
#+begin_src ledger :cmdline "bal" :noweb
<<ledger-journal>>
#+end_src
--8<---------------cut here---------------end--------------->8---

Though this should work as far as I understand, it does not yet...

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]