Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.

share|improve this question
1  
\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

1 Answer 1

up vote 3 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.