diff --git a/MANIFEST.in b/MANIFEST.in index 8334071..3026062 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -1,3 +1,4 @@ include LICENSE include README.md -recursive-include py_asciimath/dtd/ * \ No newline at end of file +recursive-include py_asciimath/dtd/ * +recursive-include py_asciimath/translation/mathml2tex/ * \ No newline at end of file diff --git a/py_asciimath/const.py b/py_asciimath/const.py index 2af08c3..86b98de 100644 --- a/py_asciimath/const.py +++ b/py_asciimath/const.py @@ -128,9 +128,9 @@ def get_symbols_for(symbol_group, translation): # pragma: no cover operation_symbols = { '"+"': {"latex": "+", "mathml": "+"}, - '"*"': {"latex": "\\cdot", "mathml": "⋅"}, + '"*"': {"latex": "\\cdot", "mathml": "⋅"}, '"-"': {"latex": "-", "mathml": "-"}, - '"cdot"': {"latex": "\\cdot", "mathml": "·"}, + '"cdot"': {"latex": "\\cdot", "mathml": "⋅"}, '"**"': {"latex": "\\ast", "mathml": "*"}, '"ast"': {"latex": "\\ast", "mathml": "*"}, '"***"': {"latex": "\\star", "mathml": "⋆"}, diff --git a/py_asciimath/translation/mathml2tex/entities.xsl b/py_asciimath/translation/mathml2tex/entities.xsl index f5f979b..8a222cc 100644 --- a/py_asciimath/translation/mathml2tex/entities.xsl +++ b/py_asciimath/translation/mathml2tex/entities.xsl @@ -205,11 +205,39 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + +