Subject: Re: Q: Include graphics in Jade output? From: "Thomas G. Lockhart" <lockhart@xxxxxxxxxxxxxxxxxx> Date: Mon, 17 Aug 1998 15:25:06 +0000 |
> I'm trying to find a simple way to include graphics both in HTML and > in printed output from a DocBook document, using the DocBook > stylesheets and Jade with the SGML and TeX backends. > AFAIK TeX can only handle PS or EPS graphics. So my questions are: > Is it possible to include PS/EPS graphics through the TeX > backend/Jadetex macros? Yes, just use the conversion technique from Matt. The problem I run into with this is that you have to separately specify the graphics information for each format inside the sgml source file; the Modular Style Sheets don't know to provide default file extensions and formats for the different output formats. I'd like to be able to say: <Graphic FileRef="connections"></Graphic> and have that behave as though I had specified either <Graphic FileRef="connections.gif" Format="GIF"></Graphic> or <Graphic FileRef="connections.eps" Format="EPS"></Graphic> depending on what output format I am generating. Instead, afaik one must test for whether you have a print or html document; this was suggested to me recently: <!-- output style --> <!entity % ostyle.html "IGNORE"> <!entity % ostyle.print "IGNORE"> ... <![ %ostyle.html [ <Graphic FileRef="connections.gif" Format="GIF"></Graphic> ]]> <![ %ostyle.print [ <Graphic FileRef="connections.eps" Format="EPS"></Graphic> ]]> ... and then run jade with "-i ostyle.html" or "-i ostyle.print" on the command line. Don't know if this is the best solution... - Tom DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Q: Include graphics in Jade output?, Matt Gushee | Thread | Re: Q: Include graphics in Jade out, David Carlisle |
Q: Include graphics in Jade output?, Matt Gushee | Date | Re: Q: Include graphics in Jade out, David Carlisle |
Month |