[NTG-context] Page number woes

Mari Voipio mari.voipio at iki.fi
Mon Sep 2 13:07:19 CEST 2019


Hello!

I have a document where I want the page numbers to start from the
first page of chapter one. There's bunch of stuff before that,
including a table of contents. This has worked fine:

\startproduct prd-pr23

\startfrontmatter
\setuppagenumber[stop]
\component pr23-cover_front_web
\component blank.tex
\component c-contents
\stopfrontmatter

\startbodymatter
\setuppagenumber[start]
\component dtr_pg.tex
\stopbodymatter

\stopproduct


However, now I need to switch to using a full-page pdf as cover page
and changing that one line messes up with my page numbering, now TOC
appears as page 1 and chapter one starts from page 2 in my test file.


\startproduct prd-pr23


\startfrontmatter
\setuppagenumber[stop]
\startpagefigure[cover_vaisala_front_stripped]\stoppagefigure
\component blank.tex
\component c-contents
\stopfrontmatter

\startbodymatter
\setuppagenumber[start]
\component dtr_pg.tex         % third chapter (DTR)
\stopbodymatter

\stopproduct

What is it that I don't see? I tried moving the cover page before the
\startfrontmatter, but that didn't change anything, TOC still starts
on page 2 when it shouldn't have a page number at all. Why does
switching the cover page from .tex to \pagefigure have such an effect
and how can I counteract it?


Mari

(Obviously the real thing is a lot bigger, but the behaviour is the
same. These are as close to MWE as I can get.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: blank.tex
Type: application/octet-stream
Size: 93 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c-contents.tex
Type: application/octet-stream
Size: 1107 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0007.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr23_pagenumbers_1.tex
Type: application/octet-stream
Size: 340 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0008.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtr_pg.tex
Type: application/octet-stream
Size: 11580 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0009.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr23_pagenumbers_1.pdf
Type: application/pdf
Size: 74730 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0003.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr23-cover_front_web.tex
Type: application/octet-stream
Size: 3410 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0010.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr23_pagenumbers_2.pdf
Type: application/pdf
Size: 62512 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0004.pdf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr23_pagenumbers_2.tex
Type: application/octet-stream
Size: 404 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0011.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cover_vaisala_front_stripped.pdf
Type: application/pdf
Size: 13728 bytes
Desc: not available
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20190902/9c14044c/attachment-0005.pdf>


More information about the ntg-context mailing list