This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
XML, XSL, texmath inlineequation not.
- From: Doug du Boulay <ddb at R3401 dot rlem dot titech dot ac dot jp>
- To: docbook at lists dot oasis-open dot org
- Date: Fri, 30 Aug 2002 09:37:15 +0900
- Subject: DOCBOOK: XML, XSL, texmath inlineequation not.
- References: <E17k6ry-0000og-00@mclean.mail.mindspring.net><3D6D243C.9EB6177@kosek.cz>
- Reply-to: ddb at R3401 dot rlem dot titech dot ac dot jp
Hi,
I was trying to use the //OASIS//DTD DocBook XML V4.2//EN
with the xsl stylesheets version 1.50.0 to create a mathematics
oriented document using the texmath attributes.
Basically I set the following variables in my style sheet
<xsl:variable name="tex.math.in.alt">latex</xsl:variable>
<xsl:variable name="tex.math.delims">0</xsl:variable>
and then invoked
<inlineequation> <alt role="tex"> \( \hat{R} = \hat{R}(X,Y,Z) \)
</alt> <graphic fileref="figures/xc0.xbm"/>
</inlineequation>
running this via saxon and latex I do get a very nicely formatted
equation in the resultant single page html document, but unfortunately the
inline equation is not inline, but is wrapped front and back with </p><p>
Is there a simple fix for this?
thanks
Doug