<xsl:output method="tex">

Not quite a typo.

On reading section 15 of the WD I tried using
the method="text" attribute to generate
some latex source from XML.

With my level of knowledge of tex this works well,
providing a high quality print output from XML source
in either PDF or postscript.

The problem area is the special character set overlap
between tex and SGML.

There are a (small) number of characters which need
to be escaped on the output side in order to make this
a viable output format using XSLT directly in this mode.

Would the editors even consider doing this as part of 
the WD, or is it something that must be handled by
filtering within the stylesheet? Were it character for
character filtering that would be viable today. If I
understand the problem correctly it is 
the substitution of a few characters for a single one,
e.g. < would map to $<$ etc.

regards, DaveP

Received on Wednesday, 8 September 1999 02:59:34 UTC