1

I want to put a release document before my actual document. Currently I am doing this by using

  \input{"../Common Subdocuments/Documents/ReleaseDocument"}

The problem that arises is the new page count. My footer contains a line with this code:

Page~\thepage~of~\getpagerefnumber{LastPage}

I do not want the release document to count. Of course I could compile the document separately and merge those 2 together afterwards but I was wondering if there is a command that makes pages not count.

10
  • Please provide some example documents that are compilable, not just a feature request!
    – user31729
    Commented Mar 8, 2016 at 11:14
  • You can reset the page counter after loading the release page. \newpage \setcounter{page}{1} Commented Mar 8, 2016 at 11:17
  • do you just want the total to change or do you want to reset the page counter back to 1 after your insert? Commented Mar 8, 2016 at 11:17
  • Using xassoccnt package it's possible to suspend a counter (here the page counter) and resume it afterwards.
    – user31729
    Commented Mar 8, 2016 at 11:18
  • @DavidCarlisle: Both.
    – Michael S.
    Commented Mar 8, 2016 at 11:34

1 Answer 1

2

You can reset the page counter after loading the release page.

  \newpage\setcounter{page}{1}

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .