Files
ServerSync/lib/pygments/formatters/__pycache__/latex.cpython-314.pyc

233 lines
21 KiB
Plaintext
Raw Normal View History

2026-02-12 02:28:23 +02:00
+
<00> <0C>i:K<00><00><><00>Rt^RIHt^RIHt^RIHtHt^RIH t H
t
^RI H t H t R.tRtRtR tR
t!R R]4t!R R ]4tR#)z<>
pygments.formatters.latex
~~~~~~~~~~~~~~~~~~~~~~~~~
Formatter for LaTeX fancyvrb output.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
)<01>StringIO)<01> Formatter)<02>Lexer<65> do_insertions)<02>Token<65>STANDARD_TYPES)<02> get_bool_opt<70> get_int_opt<70>LatexFormatterc<00><><00>VPRR4PRR4PRR4PRRV R24PRRV R24PRRV R24PR RV R
24PR RV R 24PR RV R24PRRV R24PRRV R24PRRV R24PRRV R24PRRV R24PRRV R24PRRV R24PRRV R24PRRV R 24#)!<21>\<5C><00>{<7B><01>}<7D>zZbs{}zZob{}zZcb{}<7D>^zZca{}<7D>_zZus{}<7D>&zZam{}<7D><zZlt{}<7D>>zZgt{}<7D>#zZsh{}<7D>%zZpc{}<7D>$zZdl{}<7D>-zZhy{}<7D>'zZsq{}<7D>"zZdq{}<7D>~zZti{})<01>replace)<02>text<78> commandprefixs&&<26>@/tmp/pip-target-qd_sq_1j/lib/python/pygments/formatters/latex.py<70>
escape_texr"sh<00><00> <0F><<3C><<3C><04>f<EFBFBD> %<25><17><07><03>V<EFBFBD>$<24><17><07><03>V<EFBFBD>$<24><17><07><06>1<EFBFBD>]<5D>O<EFBFBD>7<EFBFBD> ;<3B><<3C><17><07><06>1<EFBFBD>]<5D>O<EFBFBD>7<EFBFBD> ;<3B><<3C><17><07><06>1<EFBFBD>]<5D>O<EFBFBD>7<EFBFBD> ;<3B><<3C><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<><17><07><03><01>-<2D><1F><07>8<>9<>#:<3A>z<>
\documentclass{%(docclass)s}
\usepackage{fancyvrb}
\usepackage{color}
\usepackage[%(encoding)s]{inputenc}
%(preamble)s
%(styledefs)s
\begin{document}
\section*{%(title)s}
%(code)s
\end{document}
a<EFBFBD>
\makeatletter
\def\%(cp)s@reset{\let\%(cp)s@it=\relax \let\%(cp)s@bf=\relax%%
\let\%(cp)s@ul=\relax \let\%(cp)s@tc=\relax%%
\let\%(cp)s@bc=\relax \let\%(cp)s@ff=\relax}
\def\%(cp)s@tok#1{\csname %(cp)s@tok@#1\endcsname}
\def\%(cp)s@toks#1+{\ifx\relax#1\empty\else%%
\%(cp)s@tok{#1}\expandafter\%(cp)s@toks\fi}
\def\%(cp)s@do#1{\%(cp)s@bc{\%(cp)s@tc{\%(cp)s@ul{%%
\%(cp)s@it{\%(cp)s@bf{\%(cp)s@ff{#1}}}}}}}
\def\%(cp)s#1#2{\%(cp)s@reset\%(cp)s@toks#1+\relax+\%(cp)s@do{#2}}
%(styles)s
\def\%(cp)sZbs{\char`\\}
\def\%(cp)sZus{\char`\_}
\def\%(cp)sZob{\char`\{}
\def\%(cp)sZcb{\char`\}}
\def\%(cp)sZca{\char`\^}
\def\%(cp)sZam{\char`\&}
\def\%(cp)sZlt{\char`\<}
\def\%(cp)sZgt{\char`\>}
\def\%(cp)sZsh{\char`\#}
\def\%(cp)sZpc{\char`\%%}
\def\%(cp)sZdl{\char`\$}
\def\%(cp)sZhy{\char`\-}
\def\%(cp)sZsq{\char`\'}
\def\%(cp)sZdq{\char`\"}
\def\%(cp)sZti{\char`\~}
%% for compatibility with earlier versions
\def\%(cp)sZat{@}
\def\%(cp)sZlb{[}
\def\%(cp)sZrb{]}
\makeatother
c<00><><00>\P!V4pV'dV#RpVf5VR,V,pVPp\P!V4pK8W,#)<02><00><><EFBFBD><EFBFBD><EFBFBD>)r<00>get<65>parent)<03>ttype<70>fname<6D>anames& r!<00>_get_ttype_namer,<00>sS<00><00> <1A> <1E> <1E>u<EFBFBD> %<25>E<EFBFBD> <0C><14> <0C> <0E>E<EFBFBD>
<0F>-<2D><15>b<EFBFBD> <09>E<EFBFBD>!<21><05><15> <0C> <0C><05><1E>"<22>"<22>5<EFBFBD>)<29><05> <10>=<3D>r#c<00>Ra<00>]tRt^<5E>toRtRtRR.tR.tRtRt R Rlt
R t R
t Vt R #) r
aT
Format tokens as LaTeX code. This needs the `fancyvrb` and `color`
standard packages.
Without the `full` option, code is formatted as one ``Verbatim``
environment, like this:
.. sourcecode:: latex
\begin{Verbatim}[commandchars=\\\{\}]
\PY{k}{def }\PY{n+nf}{foo}(\PY{n}{bar}):
\PY{k}{pass}
\end{Verbatim}
Wrapping can be disabled using the `nowrap` option.
The special command used here (``\PY``) and all the other macros it needs
are output by the `get_style_defs` method.
With the `full` option, a complete LaTeX document is output, including
the command definitions in the preamble.
The `get_style_defs()` method of a `LatexFormatter` returns a string
containing ``\def`` commands defining the macros needed inside the
``Verbatim`` environments.
Additional options accepted:
`nowrap`
If set to ``True``, don't wrap the tokens at all, not even inside a
``\begin{Verbatim}`` environment. This disables most other options
(default: ``False``).
`style`
The style to use, can be a string or a Style subclass (default:
``'default'``).
`full`
Tells the formatter to output a "full" document, i.e. a complete
self-contained document (default: ``False``).
`title`
If `full` is true, the title that should be used to caption the
document (default: ``''``).
`docclass`
If the `full` option is enabled, this is the document class to use
(default: ``'article'``).
`preamble`
If the `full` option is enabled, this can be further preamble commands,
e.g. ``\usepackage`` (default: ``''``).
`linenos`
If set to ``True``, output line numbers (default: ``False``).
`linenostart`
The line number for the first line (default: ``1``).
`linenostep`
If set to a number n > 1, only every nth line number is printed.
`verboptions`
Additional options given to the Verbatim environment (see the *fancyvrb*
docs for possible values) (default: ``''``).
`commandprefix`
The LaTeX commands used to produce colored output are constructed
using this prefix and some letters (default: ``'PY'``).
.. versionadded:: 0.7
.. versionchanged:: 0.10
The default is now ``'PY'`` instead of ``'C'``.
`texcomments`
If set to ``True``, enables LaTeX comment lines. That is, LaTex markup
in comment tokens is not escaped so that LaTeX can render it (default:
``False``).
.. versionadded:: 1.2
`mathescape`
If set to ``True``, enables LaTeX math mode escape in comments. That
is, ``'$...$'`` inside a comment will trigger math mode (default:
``False``).
.. versionadded:: 1.2
`escapeinside`
If set to a string of length 2, enables escaping to LaTeX. Text
delimited by these 2 characters is read as LaTeX code and
typeset accordingly. It has no effect in string literals. It has
no effect in comments if `texcomments` or `mathescape` is
set. (default: ``''``).
.. versionadded:: 2.0
`envname`
Allows you to pick an alternative environment name replacing Verbatim.
The alternate environment still has to support Verbatim's option syntax.
(default: ``'Verbatim'``).
.. versionadded:: 2.0
<EFBFBD>LaTeX<65>latex<65>texz*.texc <08>,<00>\P!V3/VB\VRR4VnVP RR4VnVP RR4Vn\VRR4Vn\\VR^44Vn
\\VR^44Vn VP R R4Vn \VR
R4Vn VP R R 4Vn\VR R4Vn\VRR4VnVP RR4Vn\%VP"4^8Xd2VP"^,VnVP"^,VnMRVnVP RR4VnVP-4R#)<13>nowrapF<70>docclass<73>article<6C>preambler%<00>linenos<6F> linenostart<72>
linenostep<EFBFBD> verboptions<6E> nobackgroundr <00>PY<50> texcomments<74>
mathescape<EFBFBD> escapeinside<64>envname<6D>VerbatimN)r<00>__init__rr2r'r3r5r6<00>absr r7r8r9r:r r<r=r><00>len<65>left<66>rightr?<00>_create_stylesheet)<02>self<6C>optionss&,r!rA<00>LatexFormatter.__init__sL<00><00><11><1A><1A>4<EFBFBD>+<2B>7<EFBFBD>+<2B>"<22>7<EFBFBD>H<EFBFBD>e<EFBFBD><<3C><04> <0B><1F> <0B> <0B>J<EFBFBD> <09>:<3A><04> <0A><1F> <0B> <0B>J<EFBFBD><02>3<><04> <0A>#<23>G<EFBFBD>Y<EFBFBD><05>><3E><04> <0C><1E>{<7B>7<EFBFBD>M<EFBFBD>1<EFBFBD>E<>F<><04><18><1D>k<EFBFBD>'<27><<3C><11>C<>D<><04><0F>"<22>;<3B>;<3B>}<7D>b<EFBFBD>9<><04><18>(<28><17>.<2E>%<25>H<><04><19>$<24>[<5B>[<5B><1F>$<24>?<3F><04><1A>'<27><07><1D><05>F<><04><18>&<26>w<EFBFBD> <0C>e<EFBFBD>D<><04><0F>#<23>K<EFBFBD>K<EFBFBD><0E><02>;<3B><04><19> <0E>t<EFBFBD> <20> <20> !<21>Q<EFBFBD> &<26><1C>)<29>)<29>!<21>,<2C>D<EFBFBD>I<EFBFBD><1D>*<2A>*<2A>1<EFBFBD>-<2D>D<EFBFBD>J<EFBFBD> "<22>D<EFBFBD> <1D><1E>{<7B>{<7B>9<EFBFBD>j<EFBFBD>9<><04> <0C> <0C><1F><1F>!r#c <08>V<00>\R/;qn/;q nVPpRpVPEFrwrV\ V4pRpVR,'d
VR, pVR,'d
VR, pVR,'d
VR, pVR,'d
VR , pVR
,'d
VR , pVR ,'d
VR , pVR ,'d&VRP V!VR ,44, pVR,'d5VRP V!VR,4V!VR,44, pM4VR,'d&VRP V!VR,44, pVR8XdEKXVPRV4pWqV&W<>V&EKu R#)r%c <00><><00>V'dTRPRUu.uF7pR\W,W^,,,^4R, ,NK9 up4#R#uupi)<05>,z%.2fg<00>o@z1,1,1)<03><00><00>)<02>join<69>int)<02>col<6F>is& r!<00>rgbcolor<6F>3LatexFormatter._create_stylesheet.<locals>.rgbcolors\<00><00><12><1A>x<EFBFBD>x<EFBFBD>*3<>!5<>*3<>Q<EFBFBD>"(<28>3<EFBFBD>s<EFBFBD>v<EFBFBD><03><01>E<EFBFBD>
<EFBFBD>/B<>B<EFBFBD>+G<>%<25>+O<>!P<>!P<>*3<>!5<>6<>6<><1F><>!5s<00>=A<08>boldz\let\$$@bf=\textbf<62>italicz\let\$$@it=\textit<69> underlinez\let\$$@ul=\underline<6E>romanz\let\$$@ff=\textrm<72>sansz\let\$$@ff=\textsf<73>mono<6E>colorz-\def\$$@tc##1{{\textcolor[rgb]{{{}}}{{##1}}}}<7D>borderzj\def\$$@bc##1{{{{\setlength{{\fboxsep}}{{\string -\fboxrule}}\fcolorbox[rgb]{{{}}}{{{}}}{{\strut ##1}}}}}}<7D>bgcolorzT\def\$$@bc##1{{{{\setlength{{\fboxsep}}{{0pt}}\colorbox[rgb]{{{}}}{{\strut ##1}}}}}}z$$N)r<00>
ttype2name<EFBFBD>cmd2defr <00>styler,<00>formatr) rG<00>t2n<32>c2d<32>cprTr)<00>ndef<65>name<6D>cmndefs & r!rF<00>!LatexFormatter._create_stylesheets<><00><00>!&<26><02> <0B>+<2B><03>o<EFBFBD><1F><1F><03>l<EFBFBD> <11> <1F> <1F><02> <1F> <20>:<3A>:<3A>K<EFBFBD>E<EFBFBD>"<22>5<EFBFBD>)<29>D<EFBFBD><17>F<EFBFBD><13>F<EFBFBD>|<7C>|<7C><16>/<2F>/<2F><06><13>H<EFBFBD>~<7E>~<7E><16>/<2F>/<2F><06><13>K<EFBFBD> <20> <20><16>2<>2<><06><13>G<EFBFBD>}<7D>}<7D><16>/<2F>/<2F><06><13>F<EFBFBD>|<7C>|<7C><16>/<2F>/<2F><06><13>F<EFBFBD>|<7C>|<7C><16>/<2F>/<2F><06><13>G<EFBFBD>}<7D>}<7D><16>K<>R<>R<>S[<5B>\`<60>ah<61>\i<>Sj<53>k<>l<><06><13>H<EFBFBD>~<7E>~<7E><16>L<01>LR<4C>F<EFBFBD>S[<5B>\`<60>ai<61>\j<>Sk<53>$<24>T<EFBFBD>)<29>_<EFBFBD>5<>M7<>8<><06><16>i<EFBFBD><1F><1F><16>E<01>EK<45>V<EFBFBD>H<EFBFBD>UY<55>Zc<5A>Ud<55>Le<4C>Ef<45>h<01><06><15><12>|<7C><18><1B>^<5E>^<5E>D<EFBFBD>"<22>-<2D>F<EFBFBD><1D><05>J<EFBFBD><1E><04>I<EFBFBD>9&r#c
 <0C><><00>VPp.pVPP4F wrEVPRV RV RV R24K" \RVPRRP V4/,#)z<>
Return the command sequences needed to define the commands
used to format text in the verbatim environment. ``arg`` is ignored.
z
\@namedef{z@tok@<40>}{rre<00>styles<65>
)r r`<00>items<6D>append<6E>STYLE_TEMPLATErP)rG<00>argrerlrg<00>
definitions&& r!<00>get_style_defs<66>LatexFormatter.get_style_defsAsy<00><00>
<12> <1F> <1F><02><13><06> $<24> <0C> <0C> 2<> 2<> 4<> <1C>D<EFBFBD> <12>M<EFBFBD>M<EFBFBD>[<5B><12><04>E<EFBFBD>$<24><16>t<EFBFBD>J<EFBFBD><<3C>r<EFBFBD>J<> K<>!5<><1D><14>t<EFBFBD>'9<>'9<>!)<29>4<EFBFBD>9<EFBFBD>9<EFBFBD>V<EFBFBD>+<<3C>!><3E>><3E> >r#c <08><>
<00>VPpVPpVP'd Tp\4pVP'Eg4VP RVP ,R,4VP'dmVPVPrvTP RT;'dRV,;'gR,T;'dRV,;'gR,4VP'g%VP'gVP'dVP R4VP'd#VP RVP,4VP R4VEF<>wr<>V\P9Ed<>VP'dnV R ,p\!^\#V 44F(p
V^,W<>,8wdMWiV
,, pK* V \#V4R
p \%Wd4pWi,p EMRVP'dVV P'R 4p R p \)V 4F!wr<>V 'g\%W<>4W<>&V '*p K# R P+V 4p M<>VP'd<>T pRp V'd<>VP-VP.4wpppV'dfVP-VP04wpppV'dV \%W<>4V,, p KqV \%VV,V,V4, p K<>V \%W<>4, p K<>M,\%W<>4p M V\P29d \%W<>4p .pV\Jd'VP5W8,4VP:pK0R P+\=V44pV'd<>V P'R4pVR
RF7pV'dVP RV RV RV R24VP R4K9 VR,'d&VP RV RV RVR, R24EK<>EK<>VP V 4EK<> VP'g*VP RVP ,R,4VP'd<>VP>;'gRpRRRRRR/PAVPCRR4V4pXP \D\GVPHVPJVPLVVPO4VPQ4R7,4R
#R
# \6dTP5\9T44EL<>i;i)z\begin{z}[commandchars=\\\{\}z ,numbers=leftz,firstnumber=%dr%z,stepnumber=%dz6,codes={\catcode`\$=3\catcode`\^=7\catcode`\_=8\relax}rLz]
:rM<00>NNrF<>+rmr rrkrz\end{z}
<EFBFBD>utf8<66>utf_8<5F>latin_1<5F>latin1<6E>
iso_8859_1rr)r3r5<00>title<6C>encoding<6E> styledefs<66>coder&))r_r <00>fullrr2<00>writer?r6r7r8r=r<r>r9r<00>Comment<6E>rangerCr"<00>split<69> enumeraterP<00> partitionrDrE<00>Escapero<00>KeyErrorr,r(<00>reversedr~r'r<00> DOC_TEMPLATE<54>dictr3r5r}rs<00>getvalue)rG<00> tokensource<63>outfilercre<00> realoutfile<6C>start<72>stepr)<00>valuerS<00>parts<74>in_math<74>partr<00>a<>sep1<70>b<>sep2rl<00>styleval<61>spl<70>liner~s&&& r!<00>format_unencoded<65>LatexFormatter.format_unencodedMs]<00><00><12>o<EFBFBD>o<EFBFBD><03> <11> <1F> <1F><02> <0F>9<EFBFBD>9<EFBFBD>9<EFBFBD>!<21>K<EFBFBD><1E>j<EFBFBD>G<EFBFBD><13>{<7B>{<7B>{<7B> <13>M<EFBFBD>M<EFBFBD>*<2A>t<EFBFBD>|<7C>|<7C>3<>6Q<36>Q<> R<><13>|<7C>|<7C>|<7C>"<22>.<2E>.<2E><04><0F><0F>t<EFBFBD><17> <0A> <0A>o<EFBFBD>$<24>B<>B<>):<3A>U<EFBFBD>)B<>H<>H<>b<EFBFBD>J<01>#<23>?<3F>?<3F>(8<>4<EFBFBD>(?<3F>E<>E<>2<EFBFBD>G<01>H<01><14><EFBFBD><EFBFBD><EFBFBD>$<24>"2<>"2<>"2<>d<EFBFBD>6G<36>6G<36>6G<36><17> <0A> <0A>8<>9<><13><1F><1F><1F><17> <0A> <0A>c<EFBFBD>D<EFBFBD>$4<>$4<>4<>5<> <13>M<EFBFBD>M<EFBFBD>%<25> <20>'<27>L<EFBFBD>E<EFBFBD><14><05> <0A> <0A>%<25><17>#<23>#<23>#<23>!<21>#<23>J<EFBFBD>E<EFBFBD>"<22>1<EFBFBD>c<EFBFBD>%<25>j<EFBFBD>1<><01> <20><11>8<EFBFBD>u<EFBFBD>x<EFBFBD>/<2F>!<21><1D>q<EFBFBD><18>)<29><05>2<>
"<22>#<23>e<EFBFBD>*<2A>+<2B>.<2E>E<EFBFBD>&<26>u<EFBFBD>1<>E<EFBFBD>"<22>M<EFBFBD>E<EFBFBD><19>_<EFBFBD>_<EFBFBD>_<EFBFBD>!<21>K<EFBFBD>K<EFBFBD><03>,<2C>E<EFBFBD>#<23>G<EFBFBD>#,<2C>U<EFBFBD>#3<><07><01>&<26>'1<>$<24>';<3B>E<EFBFBD>H<EFBFBD>&-<2D>+<2B><07>$4<> <20>H<EFBFBD>H<EFBFBD>U<EFBFBD>O<EFBFBD>E<EFBFBD><19>&<26>&<26>&<26> <20>D<EFBFBD><1E>E<EFBFBD><1E>(,<2C><0E><0E>t<EFBFBD>y<EFBFBD>y<EFBFBD>(A<> <0A><01>4<EFBFBD><14><1F>,0<>N<EFBFBD>N<EFBFBD>4<EFBFBD>:<3A>:<3A>,F<>M<EFBFBD>A<EFBFBD>t<EFBFBD>T<EFBFBD>#<23> %<25><1A>A<EFBFBD>):<3A>Q<EFBFBD>)><3E> ><3E><05> %<25><1A>A<EFBFBD><04>H<EFBFBD>q<EFBFBD>L<EFBFBD>"<22>)E<> E<><05>!<21>Z<EFBFBD><01>%6<>6<>E<EFBFBD><1F>'<27>u<EFBFBD>1<>E<EFBFBD><16>e<EFBFBD>l<EFBFBD>l<EFBFBD>*<2A>"<22>5<EFBFBD>-<2D><05><17>F<EFBFBD><17>u<EFBFBD>$<24>:<3A><1A>M<EFBFBD>M<EFBFBD>#<23>*<2A>-<2D><1E> <0C> <0C><05><1A>x<EFBFBD>x<EFBFBD><08><16> 0<>1<>H<EFBFBD><17><1B>k<EFBFBD>k<EFBFBD>$<24>'<27><03><1F><03><12>H<EFBFBD>D<EFBFBD><1B><1F> <0A> <0A><02>2<EFBFBD>$<24>b<EFBFBD><18>
<EFBFBD>$<24>t<EFBFBD>f<EFBFBD>B<EFBFBD>&G<>H<><1B>M<EFBFBD>M<EFBFBD>$<24>'<27>%<25><17>r<EFBFBD>7<EFBFBD>7<EFBFBD><1B>M<EFBFBD>M<EFBFBD>B<EFBFBD>r<EFBFBD>d<EFBFBD>"<22>X<EFBFBD>J<EFBFBD>d<EFBFBD>3<EFBFBD>r<EFBFBD>7<EFBFBD>)<29>2<EFBFBD>"F<>G<><1B><18> <0A> <0A>e<EFBFBD>$<24>w(<28>z<14>{<7B>{<7B>{<7B> <13>M<EFBFBD>M<EFBFBD>(<28>T<EFBFBD>\<5C>\<5C>1<>E<EFBFBD>9<> :<3A> <0F>9<EFBFBD>9<EFBFBD>9<EFBFBD><1B>}<7D>}<7D>.<2E>.<2E><06>H<EFBFBD><18><16><19>8<EFBFBD><1C>h<EFBFBD><0E><12>c<EFBFBD>(<28>"<22>"<22>3<EFBFBD><03>,<2C>h<EFBFBD>7<> <15>
<18> <1D> <1D>l<EFBFBD><14><14><1D><1D>!%<25><1D><1D>!%<25><1A><1A>!)<29>!%<25>!4<>!4<>!6<>!(<28>!1<>!1<>!3<> 5<>5<> 6<> <15><>' <20>:<3A><1A>M<EFBFBD>M<EFBFBD>/<2F>%<25>"8<>9<>:<3A>s<00>9U<02>%U;<05>:U;)r`r r3r?r>rDr6r7r8r=r:r2r5rEr<r_r9N<>r%)<0E>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__rg<00>aliases<65> filenamesrArFrsr<><00>__static_attributes__<5F>__classdictcell__<5F><01> __classdict__s@r!r
r
<00>s@<00><><00><00>g<08>P <13>D<EFBFBD><16><05><1E>G<EFBFBD><18> <09>I<EFBFBD>"<22>.(<1F>T
><3E>e6<>e6r#c<00>Ba<00>]tRtRtoRtRtRtRtRtRt Rt
Vt R #)
<EFBFBD>LatexEmbeddedLexeri<72>a<>
This lexer takes one lexer as argument, the lexer for the language
being formatted, and the left and right delimiters for escaped text.
First everything is scanned using the language lexer to obtain
strings and comments. All other consecutive tokens are merged and
the resulting text is scanned for escaped segments, which are given
the Token.Escape type. Finally text that is not escaped is scanned
again with the language lexer.
c <08>X<00>WnW nW0n\P!V3/VBR#<00>N)rDrE<00>langrrA)rGrDrEr<>rHs&&&&,r!rA<00>LatexEmbeddedLexer.__init__<5F>s"<00><00><18> <09><1A>
<EFBFBD><18> <09> <0A><0E><0E>t<EFBFBD>'<27>w<EFBFBD>'r#c<08>d<00>Rp.p.pVPV4FMwrVpVf1V'dVP\V4V34.pW', pK:VPWVV34KO V'dVP\V4V34\VVPP V44#r<>)<06>_find_safe_escape_tokensrorCrr<><00>get_tokens_unprocessed)rGr<00>buffered<65>
insertions<EFBFBD> insertion_bufrS<00>t<>vs&& r!r<><00>)LatexEmbeddedLexer.get_tokens_unprocessed<65>s<><00><00><16><08><17>
<EFBFBD><1A> <0A><1B>4<>4<>T<EFBFBD>:<3A>G<EFBFBD>A<EFBFBD>!<21><10>y<EFBFBD> <20><1E>%<25>%<25>s<EFBFBD>8<EFBFBD>}<7D>m<EFBFBD>&D<>E<>$&<26>M<EFBFBD><18> <0A><08><1D>$<24>$<24>a<EFBFBD>A<EFBFBD>Y<EFBFBD>/<2F>;<3B> <19> <16> <1D> <1D>s<EFBFBD>8<EFBFBD>}<7D>m<EFBFBD><<3C> =<3D><1C>Z<EFBFBD>!<21>Y<EFBFBD>Y<EFBFBD>=<3D>=<3D>h<EFBFBD>G<>I<01> Ir#c# <0C><>"<00>VPVPPV4R4F:wr#pVf*VPV4FwrVpW%,Wg3x<00>K K3VRV3x<00>K< R#5i)z7find escape tokens that are not in strings or comments c<00>^<00>V\P9;'gV\P9#r<>)rr<><00>String)r<>s&r!<00><lambda><3E>=LatexEmbeddedLexer._find_safe_escape_tokens.<locals>.<lambda><3E>s!<00><00>a<EFBFBD>5<EFBFBD>=<3D>=<3D>(<28>=<3D>=<3D>A<EFBFBD><15><1C><1C>,=<3D>=r#N)<04>
_filter_tor<EFBFBD>r<><00>_find_escape_tokens)rGrrSr<>r<><00>i2<69>t2<74>v2s&& r!r<><00>+LatexEmbeddedLexer._find_safe_escape_tokens<6E>sk<00><00><00><1B><EFBFBD><EFBFBD> <10>I<EFBFBD>I<EFBFBD> ,<2C> ,<2C>T<EFBFBD> 2<> =<3D>
<EFBFBD>G<EFBFBD>A<EFBFBD>!<21><11>y<EFBFBD>"&<26>":<3A>":<3A>1<EFBFBD>"=<3D>J<EFBFBD>B<EFBFBD>B<EFBFBD><1B>&<26>"<22>.<2E>(<28>#><3E><18><14>q<EFBFBD>j<EFBFBD> <20>
<EFBFBD>s<00>A-A/c# <0C><>"<00>Rp^pVF?wrVpV!V4'dV'd
VRV3x<00>RpWVV3x<00>K-V'gTpW7, pKA V'd
VRV3x<00>R#R#5i)zBKeep only the tokens that match `pred`, merge the others together r%N<>)rG<00>it<69>pred<65>buf<75>idxrSr<>r<>s&&& r!r<><00>LatexEmbeddedLexer._filter_to<74>sh<00><00><00><10><03><0F><03><19>G<EFBFBD>A<EFBFBD>!<21><13>A<EFBFBD>w<EFBFBD>w<EFBFBD><16><1D>t<EFBFBD>S<EFBFBD>.<2E>(<28><1C>C<EFBFBD><17>A<EFBFBD>g<EFBFBD> <0A><1A><1B>C<EFBFBD><13><08><03><1A> <0F><15>t<EFBFBD>S<EFBFBD>.<2E> <20> <0F>s<00>"A<01>A<01>A<01> Ac# <0C>"<00>^pV'd<>VPVP4wr4pV'dVRV3x<00>V\V4, pV'gKQVPVP4wrVpV'dZV\V4,\P
V3x<00>V\V4\V4,\V4,, pK<>V\P V3x<00>V\V4, pTpK<>R#5i)z:Find escape tokens within text, give token=None otherwise N)r<>rDrCrErr<><00>Error)rGr<00>indexr<78>r<>r<>r<>s&& r!r<><00>&LatexEmbeddedLexer._find_escape_tokens<6E>s<><00><00><00><11><05><12> <20>N<EFBFBD>N<EFBFBD>4<EFBFBD>9<EFBFBD>9<EFBFBD>5<>M<EFBFBD>A<EFBFBD>T<EFBFBD><10><1B>T<EFBFBD>1<EFBFBD>n<EFBFBD>$<24><15><13>Q<EFBFBD><16><0F><05><13>t<EFBFBD> $<24><0E><0E>t<EFBFBD>z<EFBFBD>z<EFBFBD> :<3A> <0A><01><14><17><1F>#<23>d<EFBFBD>)<29>+<2B>U<EFBFBD>\<5C>\<5C>1<EFBFBD><<3C><<3C><19>S<EFBFBD><14>Y<EFBFBD><13>Q<EFBFBD><16>/<2F>#<23>d<EFBFBD>)<29>;<3B>;<3B>E<EFBFBD><1F><15><1B><1B>d<EFBFBD>2<>2<><19>S<EFBFBD><14>Y<EFBFBD>&<26>E<EFBFBD><1C>D<EFBFBD><13>s<00>
D<01>AD<01>B,D)r<>rDrEN) r<>r<>r<>r<>r<>rAr<>r<>r<>r<>r<>r<>r<>s@r!r<>r<><00>s)<00><><00><00> <08>(<28> I<01>&
!<21>!<21>"<1D>r#r<>N)r<><00>ior<00>pygments.formatterr<00>pygments.lexerrr<00>pygments.tokenrr<00> pygments.utilrr <00>__all__r"r<>rpr,r
r<>r<>r#r!<00><module>r<>s\<00><01><04><18>(<28>/<2F>0<>3<> <1C>
<1C><07>:<3A>*<04> <0C>n"<04><0E>J <19>_6<>Y<EFBFBD>_6<>D Q<1D><15>Qr#