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 am writing my thesis, and I need to add a single pdf page in the appendix, so I found a way to use the pdfpage package. Normally I added the package, when I added the package and I continued writing it up. and when I compiled, I could not see any changes to my document. it basically blocks everything. when I delete that line (\include{PdfPackage}} then everything works fine. it didn't even append the pdf page.

\documentclass[oneside]{ecsthesis}  
\graphicspath{{../Figures/}}   
\usepackage{pdfpages}
share|improve this question
    
Think of this question from the community's perspective. You need to provide more information in order to solve this. Apart from having a crystal ball there's not enough information to adequately answer this. How about creating a minimal working example (MWE) that illustrates your problem, and including the .log file of the output you receive as part of your question (via an edit). –  Werner Sep 13 '12 at 23:18
    
Thanks for the comment, my apologies for lack of information. I am writing my thesis, and I need to add a single pdf page in the appendix, so I found a way to use the pdfpage package. Normally I added the package, when I added the package and I continued writing it up. and when I compiled, I could not see any changes to my document. it basically blocks everything. when I delete that line (\include{PdfPackage}} then everything works fine. it didn't even append the pdf page. –  Farhad Sep 13 '12 at 23:22
1  
You include the package with \usepackage{pdfpages} and include the PDF with \includepdf{file.pdf}, right? If its only a single page, you actually don't need to use pdfpages. You could just use graphicx and \includegraphics[page=X]{file}. However, then you might have to do some jigging with the scaling of the page. Regardless, that can be done... –  Werner Sep 13 '12 at 23:34
    
Yes, you are right, Yes I will try with include graphics. But the pdf page is landscape, is it possible to turn it into portrait as the document is portrait. –  Farhad Sep 13 '12 at 23:38
    
Yes, see the graphicx documentation. \includegraphics[page=X,angle=90]{file} or even \rotatebox{90}{\includegraphics[page=X]{file}}. –  Werner Sep 13 '12 at 23:40

1 Answer 1

If the included page is in landscape, then it should probably rotated, when viewed in the PDF reader. Package pdflscape notifies the PDF viewer by setting a rotation angle for the pages in environment landscape.

\documentclass[oneside]{report}
% ...
\usepackage{pdfpages}
\usepackage{pdflscape}
% ...

\begin{document}
Hello World.

\begin{landscape}
\includepdf[angle=90]{t.pdf}
\end{landscape}

End of document.
\end{document}
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.