\newpage
. Someone out there to know a solution?Page Layout ⇒ Separate Text Parts for odd and even Pages
Separate Text Parts for odd and even Pages
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
Separate Text Parts for odd and even Pages
welcome to the board!
You could create a new document, which reads in the other documents and combines them, using the

\includepdf
command.Stefan
Separate Text Parts for odd and even Pages
Of course, a dream remains to have the two .tex files as input, and teach latex to pick the stream of characters from the left.tex file for the left pages and from the right.tex file for the right side pages.
#test.tex
Code: Select all
\documentclass[12pt]{book}
\usepackage[final]{pdfpages}
\begin{document}
\includepdf[pages={1}]{test-right.pdf}
\includepdf[pages={2}]{test-left.pdf}
\includepdf[pages={3}]{test-right.pdf}
\includepdf[pages={4}]{test-left.pdf}
\includepdf[pages={5}]{test-right.pdf}
% and so forth
\end{document}
Code: Select all
...
\begin{document}
\newpage
this is page 1 left
\newpage
\newpage
this is page 2 left
\newpage
\newpage
this is page 3 left
..
Code: Select all
\begin{document}
this is page 1 right
\newpage
\newpage
this is page 2 right
\newpage
\newpage
this is page 3 right
\newpage
..