Re: Processing CDATA content with DSSSL/Jade?

Subject: Re: Processing CDATA content with DSSSL/Jade?
From: Sebastian Rahtz <s.rahtz@xxxxxxxxxxxxxx>
Date: Fri, 24 Jul 1998 12:45:10 +0100
Norman Walsh writes:
 >   (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))))))
 > 
Why can't we do this in one stage?  write the data out to the .eqn
file, and then immediately put in an external graphic call? the SGML backend
features can be called in, eg, an RTF-generating run, no?

 > 2. Use some totally external system to make eqn.*.gif out of
 > eqn.*.tex.

if you want the dirty details:

tex xxx.eqn
dvips -E xxx -o xxx.ps
epstopdf -nogs xxx.ps > xxx.eps  # [1]
epstogif xxx.eps xxx.gif # [2]

[1] epstopdf at http://www.tug.org/applications/pdftex/. it makes the
page size of the PS file equal to the bounding box, so that GS does
not render to a full page size, and require cropping. if you are using
pdftex, it makes an encapsulated PDF file

[2] what is eps2gif? whatever you have..... eg

gs -sDEVICE=tiffg4 -r72 -sOutputFile=xxx.tif xxx.eps -c quit  
convert xxx.tif xxx.gif

or just

convert xxx.eps xxx.gif

i expect


Sebastian Rahtz


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


Current Thread
  • Processing CDATA content with DSSSL/Jade?
    • Thomas Corte - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA23995Thu, 23 Jul 1998 17:47:00 -0400 (EDT)
      • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id GAA11323Fri, 24 Jul 1998 06:30:02 -0400 (EDT)
        • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA12446Fri, 24 Jul 1998 07:26:27 -0400 (EDT)
          • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA13340Fri, 24 Jul 1998 07:58:46 -0400 (EDT) <=
          • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id IAA13988Fri, 24 Jul 1998 08:23:07 -0400 (EDT)
          • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA14876Fri, 24 Jul 1998 09:15:43 -0400 (EDT)
          • Norman Walsh - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id JAA15346Fri, 24 Jul 1998 09:35:54 -0400 (EDT)
          • Sebastian Rahtz - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id KAA17233Fri, 24 Jul 1998 10:07:52 -0400 (EDT)