How can you safely use Perforce $Revision$ in LaTeX document? -
I would like to include Perforce's \ cft {$ revision: # 8 $} You end with an error such as "Invalid \ Temporary" A parameter in the definition of "I searched for and found packages (such as Latex RCS packages) which are other keywords Area that handles date), but $ Revision $ keyword in my latex document, however,
does not see anything to handle the # .
\ go \ savecfoot \ cfoot \ def \ cft {\ catcode` \ # = 12 \ Cfthelp} \ def \ cfoothelp # 1 {\ Savecfoot {# 1} \ catcode` \ # = 6} New:
To stop the meaning of $:
\ go \ savecfoot \ cfoot \ def \ cfoot {\ catcode` \ # = 12 \ catcode` \ $ = 9 \ cfoothelp} \ def \ Cfthelp # 1 {\ savecfoot {#}} \ Catcode` \ # 6 = catcode` \ $ = 3}
Comments
Post a Comment