This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL implementation of DBTeXMath
Norman Walsh wrote:
> Well, I can easily imagine that I might want the alt-text for the
> equation graphic to be something other than the TeX markup that
> produces the graphic for the HTML publication of my document.
>
> It's not hard to produce TeX equations that are completely opaque to
> the uninitiated. Perhaps this is a better example:
>
> <inlineequation>
> <inlinemediaobject>
> <imageobject>
> <imagedata fileref="a2b2c2.png"/>
> </imageobject>
> <textobject><phrase>The Quadratic Formula</phrase></textobject>
> <textobject role="tex"><phrase>a^2+b^2=c^2</phrase></textobject>
> </inlinemediaobject>
> </inlineequation>
OK. So what about supporting this and also version with <alt
role="tex">...</alt> for people who are using graphic instead of
mediaobject for some reason.
<inlineequation>
<alt role="tex">a^2+b^2=c^2</alt>
<graphic fileref="a2b2c2.png"/> (or inlinemediaobject)
</inlineequation>
And documentation for stylesheet parameter will say that the first way
(using textobject) is preffered.
Is this acceptable?
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz