From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: [babel] ledger tutorial on Worg Date: Wed, 01 Sep 2010 13:25:35 +0200 Message-ID: <87aao1bt8w.fsf@mundaneum.com> References: <871v9lm0s3.wl%ucecesf@ucl.ac.uk> <4296BE2D-051E-47E8-8AA7-24582082DD0F@gmail.com> <87zkw8vzxw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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 <> #+end_src --8<---------------cut here---------------end--------------->8--- Though this should work as far as I understand, it does not yet... Best regards, Seb --=20 S=C3=A9bastien Vauban _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode