On Thursday, September 10, 2015 at 7:05:47 PM UTC-7, Lex Trotman wrote:
>
> mathjax is a javascript in-browser math renderer, so it won't do 
> anything for PDF.  That will still need to use a toolchain that 
> supports latexmath, eg dblatex IIUC.


Understood. My goal is to put latexmath: in my input, and have the LaTeX 
passed through *unchanged* both to the output HTML from the Docbook 
toolchain, and to the input LaTeX the toolchain hands off for PDF 
generation. All the pain of transforming LaTeX into images or MathML or any 
other representation is completely unnecessary in a MathJax-enabled world, 
because it just *works* in the browser. I am just looking for some help on 
getting LaTeX passed through the a2x toolchain untouched. At the moment the 
output XML from asciibook ends up with the LaTeX imbedded in an alt tag 
inside the (otherwise empty) <inlineequation> etc. blocks, and disappears 
after xsltproc applies the Docbook stylesheets.

You would need to look at how they configure to include javascript like 
> mathjax.
>

That much I know how to do with modified XSLT for Docbook source already. 
It's getting the LaTeX into the Docbook source unmodified that I need help 
with, and was hoping the up-thread example might do for me.

Jon
 

-- 
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/asciidoc.
For more options, visit https://groups.google.com/d/optout.

Reply via email to