asciimath -- \over

Re: asciimath $$\frac{2}{3}$$

by Marc Grober -
Number of replies: 0
Well, as Mauno indicated, you could add \over to asciimathml, but there may be some problems in that you simply can't add a replacement value as \over works in a different way than \frac (the latter taking two arguments).

Perhaps the more graceful approach ;) would be to research the various SAGE options (SAGE has LOTS of options) and determine why it is producing \over and what options there might be to avoid that. The person responsible for the function I believe is:
William Stein <wstein@gmail.com>
The literature I have read suggests that while \frac is core Latex, \over is a primitive that "is out of place in a LaTeX document", and hence should be probably avoided anyway..... though in its defense Davide's jsmath does parse it correctly

"\over and friends are primitive TeX commands whose unusual
syntax is out of place in a LaTeX document. Using them at surface
level in a document also makes it very difficult to achieve certain kinds
of typesetting improvements that would otherwise be possible. Some
additional details are given in the file technote.tex. "
http://www.ams.org/tex/amsmath-faq.html

Source code for the function I believe is here:
http://sage.math.washington.edu/home/mhansen/sage-epydoc/sage.misc.latex-pysrc.html#latex
which offers some latitude in addressing this without rewriting asciimathml, and I am curious as to the impact of using the jsmath attribute .......