This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: which image type for output to html and pdf?
- To: "docbook-apps at lists dot oasis-open dot org" <docbook-apps at lists dot oasis-open dot org>
- Subject: Re: DOCBOOK-APPS: which image type for output to html and pdf?
- From: Bob McIlvride <robert at cogent dot ca>
- Date: Wed, 29 Aug 2001 12:46:16 -0400
- List-Id: <docbook-apps.lists.oasis-open.org>
- Organization: Cogent Real-Time Systems, Inc.
- References: <999100513.5936.28.camel@seawolf> <3B8D18AC.B0ABE080@cogent.ca><999102416.5935.30.camel@seawolf>
Matthew Kennedy wrote:
>
> Okay! Thanks
Oh, I almost forgot. You might have to modify your DSSSL stylesheet to
recognize the .png or whatever if it isn't there already. To do this
you have to add one or more of these to the stylesheet, with the right
extension(s) in the list. (So far I've been able to add as many as 16
extensions.)
;; List of mediaobject filename extensions.
(define preferred-mediaobject-extensions
(list "jpeg" "jpg" "png"))
;; List of inlinemediaobject filename extensions.
(define preferred-inlinemediaobject-extensions
(list "jpeg" "jpg" "png"))
;; The acceptable mediaobject extensions.
(define acceptable-mediaobject-extensions
(list "gif" "bmp" "g" "kdef" "sgml" "png"))
Also, if you have to document code, you can put it in as an image, using
a little trick you can read about here:
http://24.112.178.91/cogent/prepdoc/pd-screensandsourcecode.html
Have fun!
Bob
---------------------------------------
Robert McIlvride (robert@cogent.ca)
Cogent Real-Time Systems (www.cogent.ca)
----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>