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]

Page numbering in TOC when sect1 on new page


Hi,

I am getting sect1 (when role="screen") starting on a new page by using the 
following. However the page numbers are for the preceding page in the TOC.

openjade 1.3
pdfjadetex 3.11

Any suggestions


Thanks,

Dave

;; Start each sect1 on a new page when role="screen"
   (element sect1
     (make display-group
       space-before: %block-sep%
       space-after: %block-sep%
       start-indent: %body-start-indent%
       break-before: (if (and (attribute-string "role")
            (string=? (attribute-string "role") "screen")) 'page #f)
       (make sequence
         ($section-title$)
         (process-children)
       )
     )
   )


----------------------------------------------------------------
To subscribe or unsubscribe from this elist use the subscription
manager: <http://lists.oasis-open.org/ob/adm.pl>


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