I decided that MathJax ( http://www.mathjax.org/ ) was the best solution for my needs when generating cross-browser-compatible HTML files; therefore, I have done a little patching to add some very basic MathJax support.
The clone is located at https://code.google.com/r/williamehlhardt-mathjax/ I followed the example of the latexmath/asciimath implementations and added a mathjax attribute. My version pulls in the MathJax library from the MathJax CDN ( http://www.mathjax.org/docs/1.1/start.html#mathjax-cdn ) and adds a mathjax: inline macro. I'm thinking that the next step is to have -a mathjax override the latexmath: macro with a MathJax-backed one, so that -a latexmath yields the original behavior, and -a mathjax allows a latexmath:-using document to use MathJax without source changes. I don't know enough about the macros system to really make this work, though; in particular, latexmath:[$foo$] wants $$ around the LaTeX, whereas doing so with MathJax fouls it up. -William -- You received this message because you are subscribed to the Google Groups "asciidoc" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/asciidoc?hl=en.
