This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Patch for DocBook DSSSL HTML Stylesheet
- To: "docbook at lists dot oasis-open dot org" <docbook at lists dot oasis-open dot org>
- Subject: DOCBOOK: Patch for DocBook DSSSL HTML Stylesheet
- From: Didier Frick <dfrick at dial dot eunet dot ch>
- Date: Wed, 09 Feb 2000 18:24:30 +0100
- Organization: Freelance Software Development & Consulting
- Reply-To: docbook at lists dot oasis-open dot org
Hi,
when using the DocBook DSSSL HTML Stylesheet I noticed that it doesn't use the value of
%graphic-default-extension% in <imagedata> tags.
The attached patch fixes this (apply to html/db31.dsl).
Or maybe this is not a good idea ?
Didier
--
Didier Frick
Freelance Software Developer & Consultant
Sun Certified Java Programmer
http://www.dfr.ch/
--- db31.dsl~ Thu Dec 16 08:16:38 1999
+++ db31.dsl Wed Feb 9 18:14:53 2000
@@ -145,7 +145,7 @@
(include-file (entity-generated-system-id entityref)))
(make element gi: "IMG"
attributes: (append
- (list (list "SRC" filename))
+ (list (list "SRC" (graphic-file filename)))
(if alttext
(list (list "ALT" alttext))
'()))))))