Re: Sphinx integration

Dave Abrahams <[email protected]>
Newsgroups gmane.comp.lib.boost.documentation
Message-ID <[email protected]>
on Mon Oct 17 2011, Steven Watanabe <watanabesj-AT-gmail.com> wrote:

> AMDG
>
> On 10/04/2011 04:13 PM, Dave Abrahams wrote:
>> 
>>>>>> Also some things like the Math docs have some complex quickbook
>>>>>> templates for generating differing content for PDF and HTML output
>>>>>> in order to support equations etc.
>> 
>> See http://www.mathjax.org/
>> I think that's probably the best technology for HTML math at this point.
>> 
>
> Hey, that looks pretty cool.  The attached
> patch changes our DocBook customization layer
> to use MathJax for inlineequation.
> It only supports LaTeX, right now, but
> it should be pretty easy to add MathML
> support.
>
> Features:
>
> * Use of MathJax is conditioned on the XSL parameter
>   boost.mathjax, which defaults to 0.
> * MathJax is only added to the pages that need it.
> * If JavaScript is disabled, falls back to a PNG image.
>
> I've tested this with on Boost.Random, it should
> also work on Boost.Accumulators which uses LaTeX
> in the same way.

Why don't you check it in?

-- 
Dave Abrahams
BoostPro Computing
http://www.boostpro.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.