Hallo,

has anybody a good solution for embedding RCS keywords in LyX files?

I use the following in the LaTeX preamble:

-----snip----

% This lines will be changed by RCS, see "man co"
\newcommand{\rcsauthor}{
$ $Author$ $
}

\newcommand{\rcsdate}{
$ $Date$ $
}

\newcommand{\rcsid}{
$ $Id$ $
}

-----snip----

and then insert for example \rcsid in the footer, which works fine.

I know that '$' switches to math mode, so I get a space in math mode before
and after each keyword.

This works for one-line keywords, but not for $Log$, which might also
be useful.


By the way, many thanks to the auhors of LyX for their great programme!

Best regards,
 
+- Michael Behrens --------------+--------------------------------+
|  Carl Schenck AG, Abt. FEHE    | mailto:[EMAIL PROTECTED]          |
|  Landwehrstr. 55               | Phone : +49 (0)6151-32-2129    |
|  D-64293 Darmstadt, Germany    | Fax   : +49 (0)6151-32-1256    |
+--------------------------------+--------------------------------+

-- 
                +++ the lyx project user mailing list +++
                To unsubscribe from this list send mail to 
                         [EMAIL PROTECTED]
                    with the **Subject** unsubscribe.

Reply via email to