, like the standard latex
\import\include
requires each imported document to start on a new page. But if your documents are so small, you probably can just use \input
instead and input the documents (which would need then just to be the document body without the preamble). If you need to process the documents individually as well as together there are various things you can do, hard to say without seeing an example but for instance if each small document was doc1.tex
, doc2.tex
etx and doc
.tex` looked like
\documentclass{article}
\usepackage{a,b,c}
\begin{document}
\input{doc1-body}
\end{document}
where doc1-body,tex
is
stuff...
Then your combined document can be
\documentclass{article}
\usepackage{a,b,c}
\begin{document}
\input{doc1-body}
\input{doc2-body}
\input{doc3-body}
\input{doc4-body}
\end{document}
Or possibly with section headings in between each document, or whatever you need....
manpreet
Best Answer
2 years ago
I use
combine
class to bundle some LaTeX files together.The main file is essentially like this:
A typical included file takes less than a page of text, but in the end every file is on a single page, as combine seems to be putting a page break after every file. How would I avoid these page breaks?