Graphics, Figures & TablesInclusion of multi-page PDF Files

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Inclusion of multi-page PDF Files

Post by azizever83 »

Hi there,

I am trying to add my survey questions to my thesis. They are two PDF files. Each one is four pages. But, the output file shows only one of them. I don't know how to show them both.

Thanks in advance

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Inclusion of multi-page PDF Files

Post by Stefan Kottwitz »

How did you include the files? I would use the pdfpages package and its command \includepdf.

Stefan
LaTeX.org admin
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Re: Inclusion of multi-page PDF Files

Post by azizever83 »

Hi Stefan_k,

thanks for the reply. Yes, I used this package. But the problem is that I need to comment one of the files to see the other in the PDF file. Otherwise, the first file is shown only.

Thanks
User avatar
Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

Re: Inclusion of multi-page PDF Files

Post by Stefan Kottwitz »

Do you get any warning or error message?
How is your code written?

Stefan
LaTeX.org admin
azizever83
Posts: 41
Joined: Sun Apr 08, 2012 4:31 pm

Inclusion of multi-page PDF Files

Post by azizever83 »

Hi Stefan,

thanks a lot for your effort. I just realized that the mistake was in writing \chapter* instead of \section* in the second appendix. Thanks again :)

Code: Select all

\bibliography{Webbib}
\appendix
\chapter{First Appendix}
\chapter*{Survey questions (First version)}
\includepdf[pages=1-4]{FirstStage.pdf}
\appendix
\chapter{Second Appendix}
\section*{Survey questions (Second version)}
\includepdf[pages=1-4]{SurveyQUESTIONS.pdf}
\end{document}
Post Reply