mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
support \e in \file and \filenq; this is useful for Windows paths
This commit is contained in:
parent
fd0e494c98
commit
52feb81932
1 changed files with 1 additions and 1 deletions
|
@ -849,7 +849,7 @@
|
|||
\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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue