How can you safely use Perforce $Revision$ in LaTeX document? -


I would like to include Perforce's $ Revision $ keyword in my latex document, however,

\ 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 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

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -