This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: XSL implementation of DBTeXMath
Allin Cottrell wrote:
> The xsl version stumbles on some material that is OK in the sgml
> version. For example:
>
> <informalequation>
> <alt>
XSL stylesheets needs <alt role="tex"> to take content of alt as TeX
math.
> \begin{eqnarray*}
> y_t &=& \alpha + \beta(1/x_t) + \epsilon_t\\
...
> This is processed fine by jade, but using saxon and xsl I get the
> error:
>
> Error on line 215 column 10 of
> file:/home/allin/stats/esl/gretl/doc/xml/appendices.xml:
> Error reported by XML parser: name expected (found "=")
> Transformation failed: Run-time errors were reported
>
> Line 215 contains the first occurrence of "&=&". Anyone know of a
> workaround for this?
Replace & with & or put whole TeX stuff in CDATA section:
<![CDATA[...]]>
Jirka
--
-----------------------------------------------------------------
Jirka Kosek
e-mail: jirka@kosek.cz
http://www.kosek.cz