Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!edcastle!aiai!aipna!cstr!rjc From: rjc@cstr.ed.ac.uk (Richard Caley) Newsgroups: comp.text.tex Subject: Re: Integrating RCS and LaTeX Message-ID: Date: 22 Apr 91 15:54:44 GMT References: <1991Apr17.205440.23660@arc.ab.ca> <1991Apr19.084714.6508@fys.ruu.nl> Sender: news@aipna.ed.ac.uk Organization: Centre for Speech Technology Research Lines: 19 The following definition works for me... \def\rcs$#1:#2${\expandafter\gdef\csname rcs#1\endcsname{\mbox{#2}}} You use it as \rcs$Revision: 1.1 $ in the prolog and it defines a macro \rcsRevison containing ` 1.1 '. I am sure that someone will be able to get rid of those annoying spaces, at least it means the $s and : etc don't end up in your final document. -- rjc@cstr.ed.ac.uk _O_ |<