## Re: Processing CDATA content with DSSSL/Jade?

 Subject: Re: Processing CDATA content with DSSSL/Jade? From: Sebastian Rahtz Date: Fri, 24 Jul 1998 10:58:46 +0100
Thomas Corte writes:
> <!ELEMENT TeXMath - - CDATA>
>
> to be used like this:
>
> <texmath>$x = \frac{y}{z}$</texmath>
>
> for direct inclusion of TeX math within my SGML document instance
> (thus obtaining a powerful Math markup language without having to deal
> with MathML).
Dealing with MathML using DSSSL is anyway not straightforward, or
demonstrably 100% possible at this stage.

> - send the whole formula essentially unaltered through to Jadetex for
>   TeX formatting or even
that would just work, if you persuade Jade to pass through the stuff

> - process the formula with TeX using an external process and convert it
>   to, say, GIF for inclusion in HTML output - I'm aware that this is by no
>   means a side-effect-free operation :-).
plausible, if we had a mechanism in Jade to taking element X, and
running an arbitrary process....

> my style sheet. Furthermore, there seems to be no way to call external
> programs from DSSSL - this, however, is reasonable with respect to
> side-effect-freeness and system-independence.
>
you could preprocess the SGML file to replace all <texmath> elements
with references to images, using some less PC  SGML processing
language, and then do further work in Jade

sebastian

DSSSList info and archive:  http://www.mulberrytech.com/dsssl/dssslist