HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/sphinx/util/__pycache__/texescape.cpython-310.pyc
o

�$�a��@s�UdZddlZddlmZgd�Zgd�Zgd�ZiZeee	fe
d<iZeee	fe
d<iZeee	fe
d	<iZ
eee	fe
d
<iZeee	fe
d<dde	d
e	de	fdd�Zdde	d
e	de	fdd�Zde	de	fdd�Zddd�ZdS)z�
    sphinx.util.texescape
    ~~~~~~~~~~~~~~~~~~~~~

    TeX escaping helper.

    :copyright: Copyright 2007-2021 by the Sphinx team, see AUTHORS.
    :license: BSD, see LICENSE for details.
�N)�Dict))�$z\$)�%z\%)�&z\&)�#z\#)�_�\_)�{z\{)�}z\})�\z\textbackslash{})�~z\textasciitilde{})�^z\textasciicircum{})�[z{[})�]z{]})u✓z\(\checkmark\))u✔z\(\pmb{\checkmark}\))u✕z
\(\times\))u✖z\(\pmb{\times}\))uz{})u⎽r)uℯ�e)uⅈ�i))�-�\sphinxhyphen{})�'z\textquotesingle{})�`z\textasciigrave{})�<z\textless{})�>z\textgreater{}))�¶z\P{})�§z\S{})u€z\texteuro{})u∞z
\(\infty\))�±z\(\pm\))u→�\(\rightarrow\))u‣r)u–z
\textendash{})u⁰z\(\sp{\text{0}}\))�¹z\(\sp{\text{1}}\))�²z\(\sp{\text{2}}\))�³z\(\sp{\text{3}}\))u⁴z\(\sp{\text{4}}\))u⁵z\(\sp{\text{5}}\))u⁶z\(\sp{\text{6}}\))u⁷z\(\sp{\text{7}}\))u⁸z\(\sp{\text{8}}\))u⁹z\(\sp{\text{9}}\))u₀z\(\sb{\text{0}}\))u₁z\(\sb{\text{1}}\))u₂z\(\sb{\text{2}}\))u₃z\(\sb{\text{3}}\))u₄z\(\sb{\text{4}}\))u₅z\(\sb{\text{5}}\))u₆z\(\sb{\text{6}}\))u₇z\(\sb{\text{7}}\))u₈z\(\sb{\text{8}}\))u₉z\(\sb{\text{9}}\)�tex_replace_map�_tex_escape_map�_tex_escape_map_without_unicode�_tex_hlescape_map�!_tex_hlescape_map_without_unicode�s�latex_engine�returncC�|dvr	|�t�S|�t�S)zEscape text for LaTeX output.��lualatex�xelatex)�	translater!r �r$r%�r-�7/usr/lib/python3/dist-packages/sphinx/util/texescape.py�escapeo�

r/cCr')z"Escape text for LaTeX highlighter.r()r+r#r"r,r-r-r.�hlescapexr0r1�textcCst�dd|�S)zAAdjust spacing after abbreviations. Works with @ letter or other.z
\.(?=\s|$)z.\@{})�re�sub)r2r-r-r.�escape_abbr�sr5cCs�tD]\}}|tt|�<|tt|�<dtt|�<qtD]
\}}|tt|�<qdttd�<tD]\}}|tt|�<dtt|�<q.tD]\}}|dvrJqA|tt|�<|tt|�<qAtD]
\}}|tt|�<qYdS)Nrrrz[]{}\)	�tex_replacementsr �ordr!r�ascii_tex_replacements�unicode_tex_replacementsr"r#)�a�br-r-r.�init�s$�r<)N)r&N)�__doc__r3�typingrr6r8r9r�int�str�__annotations__r r!r"r#r/r1r5r<r-r-r-r.�<module>s
!'