emacs-orgmode
[Top][All Lists]
Advanced

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

[Orgmode] Re: svn version number as tag or property?


From: Sébastien Vauban
Subject: [Orgmode] Re: svn version number as tag or property?
Date: Wed, 01 Sep 2010 13:49:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Rainer,

Rainer M Krug wrote:
> is it possible to automatically insert the svn version number of the org
> file visited by the org buffer into the text and also to pass it to a code
> block as a variable?
>
> I could use a code block with a bash script to extract that information from
> svn info, but that seems to be awkward for me - there must be an easier way.

Like for LaTeX documents, I would say: insert `$Id$' in your Org file, and
that will get translated by the Id string when it will be committed.

Though, it means you first have to commit before exporting and printing, if
you want correct information on your printed document.

Best regards,
  Seb

-- 
Sébastien Vauban




reply via email to

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