I'm new to latex and need to get this done ASAP.
I have 2 pdf files each with 40 pages.
Each of these files is printed in landscape.
I need to somehow take each page of these pdf files, and print them both on the same page in portrait.
Anyone can help me or tell me if it's not even possible etc?
General ⇒ Latex Print Two Source Pages to Single Page
NEW: TikZ book now 40% off at Amazon.com for a short time.

Latex Print Two Source Pages to Single Page
You should be able to do this with the pdfpages package.
Suppose the PDFs you already have are called input1.pdf and input2.pdf. If they're in landscape, you can use the package to include them in a single portrait PDF, two pages per page, on over the other, like this:
That'll give you the first page having pages 1 and 2 of input1.pdf and the next having pages 3 and 4 of input1.pdf, and so on until input1.pdf is done and then move on to input2.pdf. It gets a little more complicated if you need to intersperse them with the output page 1 having page 1 from each document, then having page 2 from each document on page 2, etc., then it gets more complicated. You could do something like:
You can try to automate this, but it might be rather involved.
Suppose the PDFs you already have are called input1.pdf and input2.pdf. If they're in landscape, you can use the package to include them in a single portrait PDF, two pages per page, on over the other, like this:
Code: Select all
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[pages=-,nup={1x2}]{input1.pdf}
\includepdf[pages=-,nup={1x2}]{input2.pdf}
\end{document}
Code: Select all
\includepdfmerge[nup=1x2]{input1.pdf, 1, input2.pdf, 1, input1.pdf, 2, input2.pdf, 2, ... [etc] }