This is the mail archive of the docbook-tools-discuss@sourceware.cygnus.com mailing list for the docbook-tools project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: images in Docbook with Red Hat 6.2


>     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%))))
> > >



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]