[Far out subproject proposal] Have ConTeXt generate html math inaddition to pdf/dvi ?
Hi, I was wondering if:

Basically have complete mathml markup or some other kind of html math output
that is completely capable of doing what is now done for pdf output.
This would elminate the need for the clumsy workarounds that mathjax,
for example, providesthere appears to be no easy way to convert
arbitarilly/personally written latex packages/classes
into something that mathjax can understand. Obviously the original
latex code could still remain
in the resulting html/mathhtml output so that people would still have
access to the "original" source code.
One of my motivations is to allow for google translate to work on html
math documents...
it WORKS provided you add 'notranslate' to the spans: <span
class="math inline">,
On Tue, 31 Jan 2017, Federer Fanatic wrote:
Hi, I was wondering if:

Basically have complete mathml markup or some other kind of html math output that is completely capable of doing what is now done for pdf output.
Have you looked at export mechanism: http://wiki.contextgarden.net/Export http://tex.stackexchange.com/a/267896/323
This would elminate the need for the clumsy workarounds that mathjax, for example, providesthere appears to be no easy way to convert arbitarilly/personally written latex packages/classes into something that mathjax can understand. Obviously the original latex code could still remain in the resulting html/mathhtml output so that people would still have access to the "original" source code.
The export mechanism converts TeX math to MathML, which I believe mathjax can handle. Aditya
Thanks for providing some feedback!
FF

Roger Federer Fanatic Extraordinaire :)
On Thu, Feb 2, 2017 at 12:48 PM, Aditya Mahajan
On Tue, 31 Jan 2017, Federer Fanatic wrote:
Hi, I was wondering if:

Basically have complete mathml markup or some other kind of html math output that is completely capable of doing what is now done for pdf output.
Have you looked at export mechanism: http://wiki.contextgarden.net/Export http://tex.stackexchange.com/a/267896/323
This would elminate the need for the clumsy workarounds that mathjax, for example, providesthere appears to be no easy way to convert arbitarilly/personally written latex packages/classes into something that mathjax can understand. Obviously the original latex code could still remain in the resulting html/mathhtml output so that people would still have access to the "original" source code.
The export mechanism converts TeX math to MathML, which I believe mathjax can handle.
Aditya ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntgcontext@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntgcontext webpage : http://www.pragmaade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/contextmirror/commits/ wiki : http://contextgarden.net ___________________________________________________________________________________
participants (2)

Aditya Mahajan

Federer Fanatic