This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Correct handling of recto and verso title pages withDSSSL


Hi,

I have fixed the little problem to do with recto and verso pages getting an
extra page after them if JadeTeX is doing its stuff and ensuring that a
simple-page-sequence starts on a recto page ...

Here are the patches ...

They stop the code in dbttlpg.dsl from doing a (make
simple-page-sequence...) for the recto and verso page for the title page,
and shift that back into dbdivis.dsl.

Seems to work for me ... 

However, I needed to modify jadetex.dtx slightly to set some variables that
I cannot convince OpenJade to pass into jadetex ... Will have to look at
why that does not work, but a couple of weeks.

--- dbdivis.dsl	Wed Apr 18 17:02:47 2001
+++ dbdivis.dsl.new	Wed Apr 18 17:04:48 2001
@@ -52,9 +52,14 @@
 	 (nl        (titlepage-info-elements (current-node) bookinfo)))
     (make sequence
       (if %generate-book-titlepage%
-	  (make sequence
+	  (make simple-page-sequence
+	    page-n-columns: %titlepage-n-columns%
+	    input-whitespace-treatment: 'collapse
+	    use: default-text-style
 	    (book-titlepage nl 'recto)
-	    (book-titlepage nl 'verso))
+	    (make display-group
+	      break-before: 'page
+	      (book-titlepage nl 'verso)))
 	  (empty-sosofo))
 
       (if (node-list-empty? dedication)
--- dbttlpg.dsl	Thu Sep 28 08:50:20 2000
+++ dbttlpg.dsl.new	Wed Apr 18 17:07:54 2001
@@ -1364,10 +1364,10 @@
 		       (book-titlepage-recto-elements)
 		       (book-titlepage-verso-elements))
 		   elements)))
-    (make simple-page-sequence
-      page-n-columns: %titlepage-n-columns%
-      input-whitespace-treatment: 'collapse
-      use: default-text-style
+    (make sequence
+     ; page-n-columns: %titlepage-n-columns%
+     ; input-whitespace-treatment: 'collapse
+     ; use: default-text-style
 
       ;; This hack is required for the RTF backend. If an external-graphic
       ;; is the first thing on the page, RTF doesn't seem to do the right


Regards
-------
Richard Sharpe, sharpe@ns.aus.com
Samba (Team member, www.samba.org), Ethereal (Team member, www.ethereal.com)
Contributing author, SAMS Teach Yourself Samba in 24 Hours
Author, Special Edition, Using Samba



------------------------------------------------------------------
To unsubscribe from this elist send a message with the single word
"unsubscribe" in the body to: docbook-apps-request@lists.oasis-open.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]