I tried to send this before but some mess with the MTA here got my
emails refused at sourceforge...
On 25.06.05, Simson Garfinkel wrote:
> > The percent sign is the LaTeX comment character, so you will need to
> > escape it, as "\%"
> > Of course, the "\" is an escape character for Python, so you will
> > probably have to use "\\%"
> > In some cases, you may find it necessary to use "\\\\%"
I do remember escaping slashes to generate of LaTeX code with Python
quoted as an example of raw strings in Python when these were
A string is marked as "raw" if it's prefixed with an 'r':
In :print r"'\\%'"
In :print "'\\\\%'"