Re: [Boost-docs] Sphinx integration

Subject: Re: [Boost-docs] Sphinx integration
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-10-18 02:38:02


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.

In Christ,
Steven Watanabe






This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC