Page numbering - Skip front cover

233 views
Skip to first unread message

Bob Garber

unread,
Jan 26, 2017, 9:44:59 AM1/26/17
to DITA-OT Users
Does anyone know how to start the page numbering on the TOC page for PDF output?
I want to skip the front and inside front cover.
Tried setting Chapters to start at "!", but that affects all chapters.

Thanks
Bob

Joe Williams

unread,
Jan 26, 2017, 3:31:17 PM1/26/17
to Bob Garber, DITA-OT Users
You have to have a separate page sequence for any sections of the publication that you want to number differently. Leigh White's DITA for Print is a good resource. 

If you set the clean.temp variable to "no", you can see the page sequences in the FO output in temp/topic.fo

Then the real fun begins, as you search the PDF plugin for the template rules that set up the pages.

I don't recall how we turned off the cover, but we adapted the Notices page as our title page and turned off the numbering for that. In this specific case, we looked in the topic.fo for the page-sequence with the attribute 'master-reference="notices-sequence". It lives in commons.xsl: <fo:page-sequence master-reference="notices-sequence" force-page-count="end-on-odd" initial-page-number="1">

One child of that page-sequence is "<fo:static-content flow-name="first-notices-footer">" which controls the footer. 

Searching the plugin for "first-notices-footer" we found <fo:static-content flow-name="first-notices-footer">, which is where the info is inserted and formatted.

--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Bob Garber

unread,
Jan 27, 2017, 10:11:54 AM1/27/17
to DITA-OT Users, bobby...@gmail.com
Thanks Joe!
We will take a look at that.
Reply all
Reply to author
Forward
0 new messages