Omitting pages

Metadata values can be used to omit some pages from the PDF. The metadata names are:

  • pdf.omit.page.N to omit pages by page number; or

  • pdf.omit.id.N to omit pages by page identifier.

In both cases N is “1” for the first page to omit, “2” for the second, and so on. The numbering must be consecutive and start from 1; any break in the sequence will cause subsequent values to be ignored. The value of the variable is either a page number (starting with 1) or an identifier string, as appropriate.

Pages can only be omitted by number when all pages are being processed (so, for example, this is ignored when creating a “changed pages only” PDF).

[Warning] Warning

Since PDF links are based on page numbers, links may no longer work correctly when some pages are omitted.