|
Subject: Re: Processing CDATA content with DSSSL/Jade? From: Norman Walsh <ndw@xxxxxxxxxx> Date: Fri, 24 Jul 1998 07:23:15 -0400 |
/ Sebastian Rahtz <s.rahtz@xxxxxxxxxxxxxx> was heard to say:
| Thomas Corte writes:
| > <!ELEMENT TeXMath - - CDATA>
[...]
| > 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
That was my thought, except I was going to suggest the following hack:
1. Use the SGML back end to process the document. The heart of this
stylesheet would be something like this:
(default (empty-sosofo))
(element texmath
(let ((filename (string-append "eqn."
(number->string (all-element-number))
".tex")))
(make entity system-id: filename
(make formatting-instruction data: (data (current-node))))))
2. Use some totally external system to make eqn.*.gif out of eqn.*.tex.
3. In your processing for the texmath element in your "real" stylesheet,
use the same technique to calculate the name of the .gif file and
slurp it up with make external-graphic.
Cheers,
norm
--
Norman Walsh <ndw@xxxxxxxxxx> | The facts, although interesting,
http://nwalsh.com/ | are usually irrelevant.
DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
| Current Thread |
|---|
|
| <- Previous | Index | Next -> |
|---|---|---|
| Re: Processing CDATA content with D, Sebastian Rahtz | Thread | Re: Processing CDATA content with D, Sebastian Rahtz |
| Re: Processing CDATA content with D, Sebastian Rahtz | Date | Hyphenation, Matthias Clasen |
| Month |