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


_______________________________________________
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