From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sam Roberts" To: Subject: Re: images in Docbook with Red Hat 6.2 Date: Wed, 27 Dec 2000 06:36:00 -0000 Message-id: <00f401bfa575$ceeda260$1403a8c0@cogent.ca> References: <38F65807.4905D5C@cybercable.tm.fr> <38F60D4B.FB8D16E7@ditec.um.es> X-SW-Source: 2000/msg00160.html > Sorry for my ignorance, but I am new to docbook ;-) > > What you use (&gif-eps;) is standard? I mean, can I use directly? Or > does it depend on some "macro" defined before? Sorry again, but I don't > know how to define "macros" in SGML :-( . > > Thanks in advance. > diego. > > Eric Bischoff wrote: In case it's not clear, this below must be placed into a stylesheet customization layer. This is described in nwalshes docs for the docbook stylesheets, at www.nwalsh.com. > > Sam Roberts wrote: > > > > > > > > > (define (graphic-file filename) > > > (let ((ext (file-extension filename))) > > > (if (or tex-backend ;; TeX can work this out itself > > > (not filename) > > > (not %graphic-default-extension%) > > > (member ext %graphic-extensions%)) > > > filename > > > (string-append filename "." %graphic-default-extension%)))) > > >