]> granicus.if.org Git - python/commitdiff
support \e in \file and \filenq; this is useful for Windows paths
authorFred Drake <fdrake@acm.org>
Mon, 9 Feb 2004 20:58:08 +0000 (20:58 +0000)
committerFred Drake <fdrake@acm.org>
Mon, 9 Feb 2004 20:58:08 +0000 (20:58 +0000)
Doc/texinputs/python.sty

index 0e69587ec8ffa8824dc2566516a1fcb155c74fe5..734ffa30eebb6336ebe85145dbce03e28d4313c9 100644 (file)
 \newcommand{\strong}[1]{{\bf #1}}
 % let's experiment with a new font:
 \newcommand{\file}[1]{`\filenq{#1}'}
-\newcommand{\filenq}[1]{{\py@smallsize\textsf{#1}}}
+\newcommand{\filenq}[1]{{\py@smallsize\textsf{\let\e=\textbackslash#1}}}
 
 % Use this def/redef approach for \url{} since hyperref defined this already,
 % but only if we actually used hyperref: