Attached is a preliminary patch for docbook-dsssl to make it so that
fontconfig can be built with both jade and openjade. Before today I did
not know any DSSSL so this may be wildly incorrect. The resulting PDF
for fontconfig (doc/fontconfig-user.pdf) does, however, seem to be
correct with this patch. It might break something else, however, and it
would be good for someone who understand DSSSL to review it.

I hope this is helpful. Happy hacking.

diff -ru docbook-dsssl-1.79/debian/changelog docbook-dsssl-1.79.patched/debian/changelog
--- docbook-dsssl-1.79/debian/changelog	2005-03-18 21:01:25.434207016 +0200
+++ docbook-dsssl-1.79.patched/debian/changelog	2005-03-18 21:04:43.353118768 +0200
@@ -1,3 +1,11 @@
+docbook-dsssl (1.79-2.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Changed print/dbrfntry.dsl to not produce a display-sequence flow
+    object for a refentry element.
+
+ -- Lars Wirzenius <[EMAIL PROTECTED]>  Fri, 18 Mar 2005 19:00:00 +0100
+
 docbook-dsssl (1.79-2) unstable; urgency=low
 
   * Added docbook-xml as alternative dependency (closes: #286965)
diff -ru docbook-dsssl-1.79/print/dbrfntry.dsl docbook-dsssl-1.79.patched/print/dbrfntry.dsl
--- docbook-dsssl-1.79/print/dbrfntry.dsl	2003-01-15 10:24:23.000000000 +0200
+++ docbook-dsssl-1.79.patched/print/dbrfntry.dsl	2005-03-18 21:02:21.204728608 +0200
@@ -80,8 +80,6 @@
 ;;      (empty-sosofo)))
 
 (element refentry 
-  (make display-group
-    keep: %refentry-keep%
     (if (or %refentry-new-page%
 	    (node-list=? (current-node) (sgml-root-element)))
 	(make simple-page-sequence
@@ -97,11 +95,12 @@
 	  input-whitespace-treatment: 'collapse
 	  quadding: %default-quadding%
 	  ($refentry-title$)
-	  (process-children))
+	  (process-children)
+          (make-endnotes))
 	(make sequence
 	  ($refentry-title$)
-	  ($block-container$)))
-    (make-endnotes)))
+	  ($block-container$)
+          (make-endnotes))))
 
 (define ($refentry-title$)
   (let* ((refmeta       (select-elements (children (current-node))

Reply via email to