I've been working up a wordpress plugin for this purpose -- it's useful to just hand over the rendering work to server side. Ironically, the main reason that mathjax is so huge, is that it's got all images fonts included.
Unfortunately, mathjax says "please don't link to the install at our website", or the single line could work this way. At the moment, the only solution that I can see is to add a command line option to asciidoc for the location of mathjax. Phil david <[email protected]> writes: > Yes, but do all asciidoc documents intend to be distributed as a > single monolithic file? I think a lot of poeple use it to write some > blog or site articles, where MathJax could be used. > Nervertheless, I don't want to replace asciimathml and latexmathml > support in asciidoc. I thought it was just another option, that could > be considered. > > On 20 août, 23:25, Stuart Rackham <[email protected]> wrote: >> On 16/08/10 22:40, david wrote: >> >> >> >> >> >> > Hi Stuart, >> >> > Thank you very much for this new release, and particularly for the >> > pygment filter! >> >> > I have a suggestion for the latex filter: asciidoc use latex and >> > dvipng. What about mathjax (http://www.mathjax.org/)? >> > As you can see on the website of mathjax (http://www.mathjax.org/demos/ >> > tex-samples/), it is just magic... Perhaps there could be an optionc >> > to use mathjax instead of dvipng? >> >> > Apparently, there is only one line to add in the web page: >> > <script type="text/javascript" src="path-to-MathJax/MathJax.js"></ >> > script> >> >> > The "path-to-MathJax/MathJax.js" could be for example >> >http://www.mathjax.org/mathjax/MathJax.jsby default, with an >> > attribute to specify another matjax installation directory. >> >> > Is this possible? >> >> I've had a cursory read of the MathJax documentation. It's server oriented -- >> you need to install a large number of files on the machine that has your HTML >> documents 9the fonts weigh in at a whopping 120MB) i.e. you won't easily be >> able >> to distribute documents using MathJax. Contrast this with ASCIIMathML and >> LaTeXMathML which require only the inclusion of a single JavaScript file >> which >> AsciiDoc can embed in the output document. >> >> Cheers, Stuart >> >> >> >> >> >> > Best, >> >> > david >> >> > On 16 ao t, 04:58, Stuart Rackham<[email protected]> wrote: >> >> Hi All >> >> >> This release contains over forty improvements and some bug fixes. A >> >> number of the enhancements have been designed to make publishing >> >> eBooks with AsciiDoc easy. >> >> >> The A-A-P build scripts have finally been cleaned up and a lot of >> >> cruft removed from the distribution -- the AsciiDoc distribution can >> >> now be built ``out of the box'' from the distribution tarball or the >> >> Mercurial repository >> >> (seehttp://www.methods.co.nz/asciidoc/INSTALL.html#_building_the_distribu...). >> >> >> Read the CHANGELOG (http://www.methods.co.nz/asciidoc/CHANGELOG.html) >> >> for a full list of all additions and changes. >> >> >> Cheers, Stuart >> >> -- >> >> Stuart Rackham -- Phillip Lord, Phone: +44 (0) 191 222 7827 Lecturer in Bioinformatics, Email: [email protected] School of Computing Science, http://homepages.cs.ncl.ac.uk/phillip.lord Room 914 Claremont Tower, skype: russet_apples Newcastle University, msn: [email protected] NE1 7RU -- 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.
