# After merging documents, compensate page numbering manually (of ToC)

I have a PDF that I want to append to three other PDFs (of one page each). It works with a command I found here only of course, page numbering (the ToC) isn't right. So, how could I tell it to add a digit before start counting "for real"? (To compensate for the pages I added!)

Note, I don't have the LaTeX source of the "head" documents so my bet is to manually change the start point in the "tail" document, for which I do have the LaTeX source. The ToC is there, too.

-
`\setcounter{page}{4}`, assuming that your text begins on page `4`. –  Peter Grill Apr 5 '13 at 21:19
@PeterGrill: OK - I managed to do it with another method. –  Emanuel Berg Apr 5 '13 at 21:24
@PeterGrill: No, this solution is better; the `\usepackage{pdfpages}` conflicts with my other stuff. Thanks. –  Emanuel Berg Apr 5 '13 at 21:32
I thought your question was about how to get the correct page numbering, not about inserting the pages into your document. Yes, `pdfpages` is the way to go to incorporate them into your doc. –  Peter Grill Apr 5 '13 at 21:49
@PeterGrill: *Laughter*! Sorry about the confusion. Your first interpretation, and answer, was correct. I thought about doing it another way but it turned out not to work (collided with something) so I switched back to this method, and with the `\setcounter` you suggested it works great. Write it as an answer if you'd like me to accept it. –  Emanuel Berg Apr 5 '13 at 21:54

Use `\setcounter{page}{<n>}` to reset the page counter to `<n>`. So, assuming that your text begins on page 4 use `\setcounter{page}{4}`.
To insert PDF documents, you could use the `pdfpages` package.