From: SourceForge.net <no...@so...> - 2011-11-08 13:36:40
|
Patches item #3433595, was opened at 2011-11-04 10:01 Message generated for change (Comment added) made by milde You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422032&aid=3433595&group_id=38414 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None >Status: Closed >Resolution: Fixed Priority: 5 Private: No Submitted By: Stefan Seefeld (stefan) Assigned to: Nobody/Anonymous (nobody) Summary: Support for more latex math symbols Initial Comment: The math support in docutils is a little lacking (and inconsistent). Using the following in ReST: j = 1, 2, …, N-1 will raise an error: the parser correctly recognizes the ellipses, mapping them to 'ldots'. However, the mathml generator then doesn't recognize that symbol and throws an error. The attached patch defines the back mapping from 'ldots' to ' …' to fix this. I took the opportunity to also add support for \gets and \to at the same time (which are aliases to \leftarrow and \rightarrow. ---------------------------------------------------------------------- >Comment By: Günter Milde (milde) Date: 2011-11-08 05:36 Message: Thanks for the patch. I took the chance to add support for a large set of commands matching Unicode characters via a helper module generated from the "unimathchars" database http://milde.users.sourceforge.net/LUCR/Math/ . Math support in formats other than LaTeX is inconsistent, as it largely depends on third party software (except for the unfinished latex2mathml module). Currently, the most complete solution for HTML output is MathJax. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=422032&aid=3433595&group_id=38414 |