Re: DOCBOOK: XML, XSL, texmath inlineequation not.

From
Jirka Kosek <>
Date
2002-08-30T09:27:19+00:00
ID
Thread
Re: DOCBOOK: XML, XSL, texmath inlineequation not.
On Fri, 30 Aug 2002, Doug du Boulay wrote:

>     <inlineequation> <alt role="tex">
>         \(W\), \(X\), \(Y\) and \(Z\)
>           </alt> <graphic fileref="figures/xc_0.xbm"/>
>     </inlineequation>
>
> Hope thats sufficient?

You are right. Error isn't in your document but in XSL stylesheets. They
are not prepared for graphic element in inline context. I will fix it in
CVS, meanwhile you can add following template into your customization file
or simply into html/graphic.xsl if don't have one.

<xsl:template match="inlineequation/graphic">
    <xsl:call-template name="anchor"/>
    <xsl:call-template name="process.image"/>
</xsl:template>

I didn't have chance to test it on my machine, but it should work.

Other option is to use inlinemediaobject instead of graphic.

			Jirka

-- 
-----------------------------------------------------------------
  Jirka Kosek
  e-mail: 
  http://www.kosek.cz