Re: Q: Include graphics in Jade output?

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
  • Q: Include graphics in Jade output?
    • Dr. Markus Hönicka - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id FAA03183Mon, 17 Aug 1998 05:35:53 -0400 (EDT)
      • Matt Gushee - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id HAA04979Mon, 17 Aug 1998 07:46:44 -0400 (EDT)
      • Thomas G. Lockhart - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA15415Mon, 17 Aug 1998 11:25:55 -0400 (EDT) <=
        • David Carlisle - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id LAA16263Mon, 17 Aug 1998 11:46:14 -0400 (EDT)
          • Tom Ivar Helbekkmo - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id BAA01080Tue, 18 Aug 1998 01:56:44 -0400 (EDT)
          • David Carlisle - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id EAA08556Tue, 18 Aug 1998 04:59:32 -0400 (EDT)
          • Tom Ivar Helbekkmo - from mail1.ability.netby web4-1.ability.net (8.8.5/8.6.12) with ESMTP id RAA18443Tue, 18 Aug 1998 17:47:18 -0400 (EDT)