Subject: Re: Graphics figures for dvi/ps and html From: Norman Walsh <norm@xxxxxxxxxxxxx> Date: Mon, 29 Dec 1997 09:35:08 -0500 |
> I'm trying to produce docs with a few figures, and am not sure how to > specify the figures. AFAIK, html wants gif, and tex/postscript wants > eps, but the DocBook <GRAPHIC> entity want me to specify one or the > other in the FORMAT attribute. What is the preferred method for > including figures? I'm happy making multiple formats for the figure > files (assuming it is necessary), but don't know how to specify it. I'm > using jade/jadetex and Norm Walsh's style sheets... The FORMAT attribute is not required. My solution to this problem is generally to leave out the format and the extension: <graphic fileref="foo"></fileref> and then provide both foo.eps and foo.gif and let the stylesheet select the appropriate format. Another solution is to use ENTITYREF and select an alternate set of entities depending on whether you are formatting the HTML or PostScript version. That may be a slightly cleaner solution in SGML-purist terms, I dunno. --norm P.S. Of course, having proposed the former solution, I realize that I'll have to support it ;-). And so I will, in the next DocBook Stylesheet release. DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Graphics figures for dvi/ps and htm, Thomas G. Lockhart | Thread | Re: Graphics figures for dvi/ps and, Eve L. Maler |
Re: Some XSL Questions, Norman Walsh | Date | PDF output?, Karl Critz |
Month |