"Kayvan A. Sylvan" wrote:
>
> On Mon, Oct 25, 2004 at 04:46:20PM +0200, roland schmitz wrote:
> > Hi Alexis,
> >
<SNIP>
> > > keywords, which CVS uses to do the same thing. Try putting '$Revision$'
<SNIP>
> Put the following in your LaTeX preamble:
>
> % RCS style.
> \def\RCSdef $#1${\typeout{RCS keyword string: [EMAIL PROTECTED]: {} :.}
> [EMAIL PROTECTED]: #2 :#3.{\expandafter\def\csname RCS#1\endcsname{#2}}
>
> Then, in your document (or in your preamble), do:
>
> \RCSdef $Revision$
> \RCSdef $Date$
>
> Now, you can use \RCSRevision or \RCSDate in your document (in a
> LaTeX ERT inset).
Thank you Very much.
I have been looking for a way do do it with out the $'s and :'s for quite a
while. Bosses did not seem to understand why I wanted to have version control
markers in my text when it looked so "ugly", this makes it look "Pretty". Now
I just have to make them understand that using the revision control "version
indicator" of documents is more meaningful than a never updated hand version
marker. :}
--
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter