Qucs-S S-parameter Viewer & RF Synthesis Tools
Loading...
Searching...
No Matches
Functions | Variables
docutils.utils.math.tex2mathml_extern Namespace Reference

Functions

 _check_result (result, details=[])
 
 blahtexml (math_code, as_block=False)
 
 latexml (math_code, as_block=False)
 
 pandoc (math_code, as_block=False)
 
 ttm (math_code, as_block=False)
 

Variables

str document_template
 
tuple example
 
str buggy = r'\sinc \phy'
 

Detailed Description

Wrappers for TeX->MathML conversion by external tools

This module is provisional:
the API is not settled and may change with any minor Docutils version.

Function Documentation

◆ blahtexml()

docutils.utils.math.tex2mathml_extern.blahtexml (   math_code,
  as_block = False 
)
Convert LaTeX math code to MathML with blahtexml__.

__ http://gva.noekeon.org/blahtexml/

◆ latexml()

docutils.utils.math.tex2mathml_extern.latexml (   math_code,
  as_block = False 
)
Convert LaTeX math code to MathML with LaTeXML__.

Comprehensive macro support but **very** slow.

__ http://dlmf.nist.gov/LaTeXML/

◆ pandoc()

docutils.utils.math.tex2mathml_extern.pandoc (   math_code,
  as_block = False 
)
Convert LaTeX math code to MathML with pandoc__.

__ https://pandoc.org/

◆ ttm()

docutils.utils.math.tex2mathml_extern.ttm (   math_code,
  as_block = False 
)
Convert LaTeX math code to MathML with TtM__.

Aged, limited, but fast.

__ http://silas.psfc.mit.edu/tth/mml/

Variable Documentation

◆ document_template

str docutils.utils.math.tex2mathml_extern.document_template
Initial value:
1= r"""\documentclass{article}
2\begin{document}
3%s
4\end{document}
5"""

◆ example

tuple docutils.utils.math.tex2mathml_extern.example
Initial value:
1= (r'\frac{\partial \sin^2(\alpha)}{\partial \vec r}'
2 r'\varpi \mathbb{R} \, \text{Grüße}')