Hi

Yes - RCS is (IMHO) the best way to do it, but you need to use the rcs
latex package.

In your preamble add this:

\usepackage{rcs}
\RCS $Header$
\RCS $Date$
\RCS $Revision$

then later on in your document, you can add this (in ERT):

Revision: \RCSRevision
Date of last revision: \RCSDate

You can add it to your footer in the preamble as follows:

\lfoot{Revision: \RCSRevision}
\rfoot{\RCSDate}

Pete

PS: Don't forget to check your document in so that you get some
sensible values !!


> On Thu, 21 Feb 2002, Ryan McBride wrote:
> 
> > I'm wondering what facilities are available in lyx to access document
> > metadata and use it in the document. 
......
> 
> If you use RCS, I guess you can just put $Id:$ or whatever a the right
> place in your doc... But there are small problemes with that ($ is math
> mode, and you may have some characters (like _) that tex doesnt like very
> much...), in a \verb something, maybe ?

Reply via email to