File tree Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Expand file tree Collapse file tree 1 file changed +15
-15
lines changed Original file line number Diff line number Diff line change 74
74
% to fix problems for the 5.0.0 inline code highlighting (captions!).
75
75
% The \text is from amstext, a dependency of sphinx.sty. It is here only
76
76
% to avoid build errors if for some reason expansion is in math mode.
77
- \def\PYGZbs{{ \text\textbackslash} }
78
- \def\PYGZus{{\_} }
79
- \def\PYGZob{{\{{} }
80
- \def\PYGZcb{{\}} }}
81
- \def\PYGZca{{ \text\textasciicircum} }
82
- \def\PYGZam{{\&} }
83
- \def\PYGZlt{{ \text\textless} }
84
- \def\PYGZgt{{ \text\textgreater} }
85
- \def\PYGZsh{{\#} }
86
- \def\PYGZpc{{\%} }
87
- \def\PYGZdl{{\$} }
88
- \def\PYGZhy{{ \sphinxhyphen} }% defined in sphinxlatexstyletext.sty
89
- \def\PYGZsq{{ \text\textquotesingle} }
90
- \def\PYGZdq{{"} }
91
- \def\PYGZti{{ \text\textasciitilde} }
77
+ \def\PYGZbs{\text\textbackslash}
78
+ \def\PYGZus{\_ }
79
+ \def\PYGZob{\{ }
80
+ \def\PYGZcb{\ }}
81
+ \def\PYGZca{\text\textasciicircum}
82
+ \def\PYGZam{\& }
83
+ \def\PYGZlt{\text\textless}
84
+ \def\PYGZgt{\text\textgreater}
85
+ \def\PYGZsh{\# }
86
+ \def\PYGZpc{\% }
87
+ \def\PYGZdl{\$ }
88
+ \def\PYGZhy{\sphinxhyphen}% defined in sphinxlatexstyletext.sty
89
+ \def\PYGZsq{\text\textquotesingle}
90
+ \def\PYGZdq{" }
91
+ \def\PYGZti{\text\textasciitilde}
92
92
\makeatletter
93
93
% use \protected to allow syntax highlighting in captions
94
94
\def\PYG@#1#2{{\PYG@reset\PYG@toks#1+\relax+{{\PYG@do{{#2}}}}}}
You can’t perform that action at this time.
0 commit comments