Document Classes ⇒ importing multiple page pdfs
importing multiple page pdfs
Anyone know how to make it take every page and make sure that each page of the inputted report is on its own page in my report?
The only way I have been able to do it is print out each page as its own pdf and importing each page separately. Is there a better way?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
importing multiple page pdfs
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
importing multiple page pdfs
Not exactly, you can include any of the pages, just use the page key: \includegraphics[page=nn]{file}pooley343 wrote:I am trying to import a multi-page pdf (a report not written by me) into my own report. I have tried using the \includegraphics{???.pdf} but this only takes the first page.
localghost has already suggested the pdfpages package, which defines the \includepdf command. That's the simplest way.pooley343 wrote: Anyone know how to make it take every page and make sure that each page of the inputted report is on its own page in my report?
Yes, of course, as said above. Just a final remark. If you experience problems with the \includepdf command and would like to directly use \includegraphics, it is not necessary to write this command one time per page. You can include a full document or a part of it with a simple loop. Look here.pooley343 wrote: The only way I have been able to do it is print out each page as its own pdf and importing each page separately. Is there a better way?
Re: importing multiple page pdfs
But now I would like to number these pages according to their place inside the latex document. I would like to superimpose the correct page number on top of the inserted PDF.
Is this possible?
thanks,
Bobby
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
importing multiple page pdfs
Search the pdfpages manual for the pagecommand option.zillions wrote:[…] But now I would like to number these pages according to their place inside the latex document. I would like to superimpose the correct page number on top of the inserted PDF. […]
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: importing multiple page pdfs
-
- Posts: 2
- Joined: Wed May 23, 2012 5:37 pm