Your IP : 216.73.216.213


Current Path : /proc/242857/root/opt/alt/python27/lib/python2.7/site-packages/docutils/utils/math/
Upload File :
Current File : //proc/242857/root/opt/alt/python27/lib/python2.7/site-packages/docutils/utils/math/__init__.pyc

�
�C*Uc@sdZed�ZdS(s�
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
cCsy|jd�}djg|D]}|jd�d^q�}|jd�dkr\d}nd}|su|d	7}n|S(
s: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.
    s\begin{ts\end{i����s\\italigntequationt*(tsplittjointfind(tcodetnumberedtchunkstchunkt
toplevel_codetenv((sM/opt/alt/python27/lib/python2.7/site-packages/docutils/utils/math/__init__.pytpick_math_environments	&	
N(t__doc__tFalseR
(((sM/opt/alt/python27/lib/python2.7/site-packages/docutils/utils/math/__init__.pyt<module>s