FYI To All Concerned Reference AsciiDoc with MathJax for rendering
LaTeX math expressions:
I have updated the technical details on this subject on 29 June 2011
in the form of two articles that (I hope) completely document the
issues at hand:
1. General using MathJax with AsciiDoc:
http://quaoar.us:8080/mathjax.html
Reading this first will make #2 below much easier to understand I
think.
2. Using MathJax and a2x(1) command to create XHTML and PDF from the
same AsciiDoc text source file:
http://quaoar.us:8080/mathjax-xsl.html
By the way, concerning #2, I have found that printing the rendered
XHTML file from a browser using a PDF print driver produces a very
acceptable PDF copy. In fact, the resulting PDF file is superior in
some ways to the PDF file produced by dblatex using a2x. I did this
using the asciidoc(1) command to produce the XHTML file as described
in #1 above. The file is rendered using the standard CSS (Shared CSS
for AsciiDoc xhtml11 and html5 backends). With a some work someone who
is good with CSS could use a "print version" CSS to style an even
better result for PDF printing from the browser. However, note that
links are not created in the resulting PDF file using this method.
You can download this file to see an example using:
http://quaoar.us:8080/mathjax/mathjax.pdf
Hope this helps. For questions or comments, email at:
[email protected]
Best Wishes.
David
On Jun 28, 5:26 am, Lex Trotman <[email protected]> wrote:
> On 28 June 2011 18:47, William Ehlhardt <[email protected]> wrote:
>
> > On Tue, Jun 28, 2011 at 3:56 AM, Lex Trotman <[email protected]> wrote:
>
> >> Someone else was recently doing some work with mathjax, see
> >>http://quaoar.us:8080/mathjax-xsl.html
>
> > Thanks! That is roughly a billion times better than how I was going about
> > it.
>
> > When can we expect to see this in the main distribution?
>
> Flick pass, Stuart??
>
>
>
>
>
>
>
>
>
> > -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.
--
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.