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: DOCBOOK-APPS: Bug with %generate-legalnotice-link% and html-manifest


Hi folks,

I've just uncovered a small bug in Norm's stylesheets.

If you have %generate-legalnotice-link% and html-manifest both set to
true, the name of the generated legalnotice files is not written to the
manifest file.

My first attempt at a patch is here, but it doesn't work, and I don't
know why (actually, I do -- DSSSL ignorance on my part).  Any
suggestions for a fix gratefully accepted.

N

--- docbook.dsl.org	Tue Feb 13 19:36:44 2001
+++ docbook.dsl	Tue Feb 13 20:02:22 2001
@@ -387,7 +387,21 @@
 ")
 		      (loop (next-chunk-element node))))))
 	    (empty-sosofo))
-	(empty-sosofo))))
+	(empty-sosofo)))
+
+  (element legalnotice
+    (if %generate-legalnotice-link%
+      (if html-manifest
+        (make entity
+          system-id: (html-entity-file html-manifest-filename)
+          (make sequence
+            (make formatting-instruction data: (html-entity-file
+                                                $legalnotice-link-file$
+                                                (current-node)))
+            (make formatting-instruction data: "
+")
+        (empty-sosofo))
+    (empty-sosofo))))))
 
 ;; Make text that comes from unimplemented tags easy to spot
 (default
-- 
Internet connection, $19.95 a month.  Computer, $799.95.  Modem, $149.95.
Telephone line, $24.95 a month.  Software, free.  USENET transmission,
hundreds if not thousands of dollars.  Thinking before posting, priceless.
Somethings in life you can't buy.  For everything else, there's MasterCard.
  -- Graham Reed, in the Scary Devil Monastery


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


Powered by eList eXpress LLC