Re: What best graphics format for RTF and HTML, using Jade/DSSSL/DocBook

Subject: Re: What best graphics format for RTF and HTML, using Jade/DSSSL/DocBook
From: Norman Walsh <norm@xxxxxxxxxxxxx>
Date: Mon, 23 Feb 1998 10:35:58 -0500
/ "Thomas G. Lockhart" <lockhart@xxxxxxxxxxxxxxxxxx> was heard to say:
| > > <figure>
| > > <title>A figure</title>
| > > <graphic fileref="diagram"></graphic>
| > > </figure>
| > >
| > > and let the formatting backend decide which format file is needed for a
| > > particular output type.
| 
| > > How do people normally handle this?
| >
| > I'm using different stylesheets and set the default file extension in
| > each of them to the correct value.
| 
| Norm Walsh indicated that he would support this "in the next release" for his DocBook stylesheets. Don't know if that will be
| in the 1.0.x series (I don't think it is there now) or later :(

It's there now, you just have to tell the stylesheet what the default
extension should be.  (I didn't plan to provide any more agressive
support than that).  The attached example will use foo.gif for the
html backend:

  jade -t sgml -i html -d test.dsl#html test.sgm

and foo.eps for the RTF backend:

  jade -t rtf -d test.dsl#print test.sgm

--norm

Attachment: test.zip
Description: Zip archive

Current Thread
  • Re: What best graphics format for RTF and HTML, using Jade/DSSSL/DocB ook, (continued)
    • Christian Leutloff - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id HAA03310Sat, 21 Feb 1998 07:21:37 -0500 (EST)
    • Richard Folwell - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA05525Sat, 21 Feb 1998 11:08:53 -0500 (EST)
      • Christian Leutloff - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id VAA10331Sat, 21 Feb 1998 21:32:47 -0500 (EST)
        • Thomas G. Lockhart - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA18966Mon, 23 Feb 1998 10:06:50 -0500 (EST)
        • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id KAA19526Mon, 23 Feb 1998 10:38:21 -0500 (EST) <=
    • W. Eliot Kimber - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id LAA05962Sat, 21 Feb 1998 11:58:41 -0500 (EST)