ó V!¶\c@sfddlZdZdd„Zdd„Zedd„ZedkrbdZeeƒj dƒGHndS( iÿÿÿÿNsP\documentclass{article} \usepackage{amsmath} \begin{document} %s \end{document} c CsÉtjdddgdtjdtjdtjdtƒ}|jjt|jdƒƒ|jjƒ|j j ƒ}|j j ƒj dƒ}|r¥|j d ƒd ks¬| r¼|j|ƒntjd dd d dgdtjdtjdtjdtƒ}|jj|ƒ|jjƒ|j j ƒj dƒ}|j j ƒj dƒ}|rc|j d ƒd ksj| rz|j|ƒn|j dƒ|j dƒd}} ||| !}d|krÅt|ƒ‚n|S(shConvert LaTeX math code to MathML with LaTeXML_ .. _LaTeXML: http://dlmf.nist.gov/LaTeXML/ tlatexmlt-s--inputencoding=utf8tstdintstdouttstderrt close_fdstutf8tErrorit latexmlposts--nonumbersectionss--format=xhtmls--sisclass="ltx_ERROR(t subprocesstPopentPIPEtTrueRtwritetdocument_templatetencodetcloseRtreadRtdecodetfindterrort SyntaxError( t math_codetreportertpt latexml_codet latexml_errtpost_ptresultt post_p_errtstarttend((sI/tmp/pip-install-usGedi/docutils/docutils/utils/math/tex2mathml_extern.pyRsB       "       "#  c CsOtjdddgdtjdtjdtjdtƒ}|jjt|jdƒƒ|jjƒ|j j ƒ}|j j ƒj dƒ}|j d ƒd kréd jg|jƒD]}|jd ƒr²|^q²ƒ}td |ƒ‚n|r|j dƒd ks | r|j|ƒn|j dƒ|j dƒd}}|||!}|S(skConvert LaTeX math code to MathML with TtM_ .. _TtM: http://hutchinson.belmont.ma.us/tth/mml/ tttms-us-rRRRRRs **** Unknownis s****s& Message from external converter TtM: s **** Errorsi(R R R R RR RRRRRRRRtjoint splitlinest startswithRR( RRRRterrtlinetmsgRR((sI/tmp/pip-install-usGedi/docutils/docutils/utils/math/tex2mathml_extern.pyR Is(       "# c Csdddddddddd g }|r3d }nd }|jd ƒtjd g|dtjdtjdtjdtƒ}|jj|jdƒƒ|jjƒ|j j ƒj dƒ}|j j ƒj dƒ}|GH|j dƒdkrtd||j dƒd|j dƒ!ƒ‚n|rO|j dƒdks?| rO|j|ƒn|j dƒd|j dƒ}} d|||| !f}|S(spConvert LaTeX math code to MathML with blahtexml_ .. _blahtexml: http://gva.noekeon.org/blahtexml/ s--mathmls --indenteds --spacingtmoderates--mathml-encodingtraws--other-encodings--doctype-xhtml+mathmls--annotate-TeXtsmode="display"s --displaymatht blahtexmlRRRRRsis, Message from external converter blahtexml: s i s s **** Errorss s> %s (tappendR R R R RR RRRRRRRRR( RtinlineRtoptionst mathmode_argRRR$RR((sI/tmp/pip-install-usGedi/docutils/docutils/utils/math/tex2mathml_extern.pyR*es<        *"#t__main__uH\frac{\partial \sin^2(\alpha)}{\partial \vec r} \varpi \, \text{Grüße}R( R RtNoneRR R R*t__name__texampleR(((sI/tmp/pip-install-usGedi/docutils/docutils/utils/math/tex2mathml_extern.pyts  . *