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


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

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

Subject: Re: DOCBOOK-APPS: which image type for output to html and pdf?

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

;; 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:

Have fun!


Robert McIlvride (robert@cogent.ca)
Cogent Real-Time Systems (www.cogent.ca)

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

Powered by eList eXpress LLC