On 26/05/2010 1:17 PM, Rainer Dorsch wrote:
Hello,

we maintain our LyX document in subversion. From time to time, I distribute a
pdf. I would like to include the subversion revision number in the document.
Is there a easy way to do that?

Thanks
Rainer

In the preamble:
\usepackage{svn}
\SVN $Revision$

In the document, inside a TeX code box:
\SVNRevision

See also this thread:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg78371.html

and:
http://jtauber.com/blog/2006/03/28/subversion_keywords_in_latex_documents/

--
Julien

Reply via email to