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

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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


Subject: Re: DOCBOOK-APPS: 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 &amp; or put whole TeX stuff in CDATA section:
<![CDATA[...]]>

			Jirka

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


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


Powered by eList eXpress LLC