The expected \colon symbol in LaTeX math is not processed by docutils. I have tried this using rst2html.py. I get error: * Unknown command \colon
I am using python-docutils package on Arch Linux, version 0.11, package release 1.
Sorry, adding information. Relevant portion of documentation suggests \colon should be acceptable: http://docutils.sourceforge.net/docs/ref/rst/directives.html#math
Minimal working example:
Save to file:
and run rst2html.py
Formatted colon in HTML output.
The text \colon in HTML output. Error message: * Unknown command \colon
This is a limitation of the LaTeX -> "HTML + CSS" maths conversion.
You may try setting "math-output" to one of MathML or MathJax.
The \colon macro is now supported by math-output=HTML and the spacing around colons is fixed.
Thanks for the report.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.