OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: docbook vs latex


On Mon, 2 Sep 2002, Doug du Boulay wrote:

> Granted, but since all we really have available at the moment are short
> term hacks I was just hoping that markup like <latex></latex> in
> db2latex could be modified for compatibility with <alt role="tex">  so that
> both toolchain hacks were accessible without redundancy and
> without violating the DocBook DTD (but maybe by enhancing it,
> if that is what it takes).

Fixed in CVS

Added in texmath.mod.xsl
--------------------------
<xsl:template match="alt[@role='tex']">
    <xsl:value-of select="."/>
</xsl:template>


Sample
---------------------------------
<alt role="tex">
<![CDATA[
\begin{equation}
\int e^x dx = e^x
\end{equation}
]]>
</alt>

Output
------------------------------
\begin{equation}
\int e^x dx = e^x
\end{equation}

Regards,
Ramon




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC