OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: Re: DOCBOOK: Customizing title page


On Tue, Dec 14, 1999 at 10:58:04AM +0100, Nicolas Mailhot wrote:

> (this is the _only_ graphic in my doc, figures are
> mediaobjects). The only problem is it doesn't play well with
> html formatting since most browsers can not display eps
> files.

The trick I use is the following:

1) In the DocBook document, use a filename without extension:

<para>Here is an image: 
<graphic fileref="image"/></para>

2) In the custom stylesheet, use different values for print and for
HTML:

;; HTML stylesheet
(define %graphic-default-extension% "jpeg")

;; Print stylesheet
(define %graphic-default-extension% "eps")

That way, Web browsers get a JPEG and jadetex gets an EPS file.



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC