Boost logo

Boost Users :

Subject: Re: [Boost-users] [boostbook+quickbook] : A way to write latex math
From: John Maddock (boost.regex_at_[hidden])
Date: 2010-10-25 07:21:15


>> Unfortunately at present I don't see an easy way to integrate this into
>> PDF
>> generation - as the code you posted is HTML output specific. However,
>> given
>> that MathJax can handle MathML - which is what Boost.Math uses for it's
>> equations - I guess we need to experiment to see if this can be nicely
>> integrated into the Boost.Math docs.
>>
>
> Well, it's a LaTeX formula, which can be converted to PDF by latex /
> pdflatex to be included in another PDF document, there has to be a way
> to make that work.

I'm 100% sure it can be made to work, and I'm 100% sure it won't be easy!

For example with MathML the docbook XML needs the MathML content in a
separate namespace to get all the tags passed through correctly, but MathJax
requires that a namespace prefix *not* be used :-(

I'm sure some kind of fancy custom docbook XSL processing layer could be
used for this, I just don't want to have to write it!

John.

PS. Update: looks like docbook dbhtml-include processing instructions might
work.... will investigate.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net