Re: [Boost-docs] [docbook->html] support for MathML

Subject: Re: [Boost-docs] [docbook->html] support for MathML
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-10-29 18:06:55


AMDG

On 10/29/2011 10:27 AM, Paul A. Bristow wrote:
>
> I'm overcome with an urge to insert a math equation into a Quickbook document ;-)
>
> Is this ready for amateur use yet?
>

Not really. The existing support I added
to the docbook processing is designed
to handle equations produced by doxygen.
Generating it from inside quickbook is
a bit awkward. You can do it using escaped
docbook like this:

'''<inlineequation>
<inlinemediaobject>
<imageobject role="html">
<imagedata fileref="images/normal.png"/>
</imageobject>
<textobject
role="tex">$\frac{1}{\sqrt{2\pi\sigma^2}}e^{-\frac{\left(x-\mu\right)^2}{2\sigma^2}}$</textobject>
</inlinemediaobject>
</inlineequation>'''

The PNG image is still needed as a fallback.
Without it you'll end up with the raw
TeX if Javascript is disabled or the
MathJax server is inaccessible.

> What tool should I use to create my equation? TeX? Word? or?
>
> Or should I continue to use the existing sub and super and greek and math templates? (Feasible)
>

In Christ,
Steven Watanabe


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