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


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to