Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 52feb81

Browse files
committed
support \e in \file and \filenq; this is useful for Windows paths
1 parent fd0e494 commit 52feb81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/texinputs/python.sty

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,7 @@
849849
\newcommand{\strong}[1]{{\bf #1}}
850850
% let's experiment with a new font:
851851
\newcommand{\file}[1]{`\filenq{#1}'}
852-
\newcommand{\filenq}[1]{{\py@smallsize\textsf{#1}}}
852+
\newcommand{\filenq}[1]{{\py@smallsize\textsf{\let\e=\textbackslash#1}}}
853853

854854
% Use this def/redef approach for \url{} since hyperref defined this already,
855855
% but only if we actually used hyperref:

0 commit comments

Comments
 (0)