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: Richard Folwell <richardf@xxxxxxxxxx>
Date: Sat, 21 Feb 1998 15:52:31 -0000
On Saturday, February 21, 1998 11:41 AM, Christian Leutloff 
[SMTP:leutloff@xxxxxxxxxxxxxxxxx] wrote:
> Richard Folwell <richardf@xxxxxxxxxx> writes:
>
> > I am trying to use Norman Walsh's DSSSL backends to produce Word RTF for
> > print, and HTML for online material.  Of the supported graphics formats,
> > is there one that will produce good results in both output formats?  For 
...
>
> Christian asked:
> Why aren't using different formats!? For printing you'll need high
> quality/high resolution. For the online documentation you have to use
> lightweigth graphics, to reduced the time for loading your
> documentation over the net.

Umm - I would prefer to do this, but how do I do it?  At the moment I have very 
basic SGML for figures, e.g.

<figure>
<title>A figure</title>
<graphic fileref="diagram.GIF" format="GIF"></graphic>
</figure>

Do I need to put some sort of conditional statement in at this level?  (Seems 
somewhat counter to the general idea of SGML, to abstract issues like this, but 
maybe with graphics this simply is not possible?).  What I would like to do is 
something like this:

<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.  This means that the SGML would not have to be changed 
if support for a new backend were to be added.  Of course the new graphics 
formats would need to be generated, but if all the graphics are produced by 
conversion from a single source, as you suggest, then this should not be a 
problem.

How do people normally handle this?

Richard



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


Current Thread
  • What best graphics format for RTF and HTML, using Jade/DSSSL/DocBook
    • Richard Folwell - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id OAA18670Fri, 20 Feb 1998 14:19:20 -0500 (EST)
      • Norman Walsh - from mail1.ability.netby web4.ability.net (8.8.5/8.6.12) with ESMTP id OAA19132Fri, 20 Feb 1998 14:51:28 -0500 (EST)
      • 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)
      • <Possible follow-ups>
      • 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)