HEX
Server: LiteSpeed
System: Linux s1049.use1.mysecurecloudhost.com 4.18.0-477.27.2.lve.el8.x86_64 #1 SMP Wed Oct 11 12:32:56 UTC 2023 x86_64
User: xedaptot (3356)
PHP: 8.3.31
Disabled: NONE
Upload Files
File: //lib/python3.6/site-packages/docutils/utils/math/__pycache__/__init__.cpython-36.pyc
3

�C*U��@sdZddd�ZdS)a�
This is the Docutils (Python Documentation Utilities) "math" sub-package.

It contains various modules for conversion between different math formats
(LaTeX, MathML, HTML).

:math2html:    LaTeX math -> HTML conversion from eLyXer
:latex2mathml: LaTeX math -> presentational MathML
:unichar2tex:  Unicode character to LaTeX math translation table
:tex2unichar:  LaTeX math to Unicode character translation dictionaries
:tex2mathml_extern: Wrapper for TeX -> MathML command line converters
FcCsF|jd�}djdd�|D��}|jd�dkr2d}nd}|sB|d	7}|S)
a:Return the right math environment to display `code`.

    The test simply looks for line-breaks (``\``) outside environments.
    Multi-line formulae are set with ``align``, one-liners with
    ``equation``.

    If `numbered` evaluates to ``False``, the "starred" versions are used
    to suppress numbering.
    z\begin{�cSsg|]}|jd�d�qS)z\end{����)�split)�.0�chunk�r�/usr/lib/python3.6/__init__.py�
<listcomp>(sz)pick_math_environment.<locals>.<listcomp>z\\�ZalignZequation�*)r�join�find)�codeZnumberedZchunksZ
toplevel_code�envrrr�pick_math_environments


rN)F)�__doc__rrrrr�<module>s