관리-도구
편집 파일: latex.cpython-311.pyc
� �܋f�K � � � d Z ddlmZ ddlmZ ddlmZmZ ddlm Z m Z ddlmZm Z dgZd� Zd Zd Zd� Z G d� de� � Z G d � de� � ZdS )z� pygments.formatters.latex ~~~~~~~~~~~~~~~~~~~~~~~~~ Formatter for LaTeX fancyvrb output. :copyright: Copyright 2006-2023 by the Pygments team, see AUTHORS. :license: BSD, see LICENSE for details. � )�StringIO)� Formatter)�Lexer� do_insertions)�Token�STANDARD_TYPES)�get_bool_opt�get_int_opt�LatexFormatterc �0 � | � dd� � � dd� � � dd� � � dd|z � � � dd|z � � � dd |z � � � d d|z � � � dd |z � � � dd|z � � � dd|z � � � dd|z � � � dd|z � � � dd|z � � � dd|z � � � dd|z � � � dd|z � � � dd|z � � � d d!|z � � S )"N�\� �{��}�z\%sZbs{}z\%sZob{}z\%sZcb{}�^z\%sZca{}�_z\%sZus{}�&z\%sZam{}�<z\%sZlt{}�>z\%sZgt{}�#z\%sZsh{}�%z\%sZpc{}�$z\%sZdl{}�-z\%sZhy{}�'z\%sZsq{}�"z\%sZdq{}�~z\%sZti{})�replace)�text� commandprefixs �v/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pip/_vendor/pygments/formatters/latex.py� escape_texr# sb � ��<�<��f�%�%����V�$�$����V�$�$�����m� ;�<�<�����m� ;�<�<�����m� ;�<�<����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9����[�=�8�9�9�#:� 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� \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 � � t j | � � }|r|S d}|�(| d |z }| j } t j | � � }|�(||z S )N� ���)r �get�parent)�ttype�fname�anames r"