Joern Clausen writes:
> How do you translate certain things? E.g., what about entities like
> '&' that should appear as '\&', or escaping bare $-signs?
fix that at the TeX level, by using catcodes.
> > What I'd _like_ is a latex-mode for XSLT, which would accept
> > literal-result templates in XML syntax and emit LaTeX source, eg
> >
> > <xsl:template match="div2/head">
> > <subsection/>
> > <xsl:apply-templates/>
> > </xsl:template>
>
> How about an <xsl:output method="TeX"/> for a start?
unnecessary. there are several TeX setups which can read XML
natively. forget Knuth's vile input syntax, and parse <subsection/>
directly (though what that means in TeX terms, I know no. \subsection{}?)
sebastian
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|