This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Page numbering in TOC when sect1 on new page
- To: docbook-apps at lists dot oasis-open dot org
- Subject: DOCBOOK-APPS: Page numbering in TOC when sect1 on new page
- From: "Dave Brooks, BCS Systems" <dave at bcs dot co dot nz>
- Date: Fri, 24 Aug 2001 11:49:54 +1200
- List-Id: <docbook-apps.lists.oasis-open.org>
- References: <"from dyork"@e-smith.com> <20010823112321.N32662@redhat.com><20010823163311.C15534@e-smith.com>
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>