I want to have main project file main.tex and import other sections in it. I used to put everything in one file but I am trying now to use elegant way using either include or input commands. I chose include because it does not produce pdf of sections (Only I want main.tex is the one is compiled and then pdf is generated from it). I do the following:
main.tex
\documentclass[10pt, conference, compsocconf]{IEEE_format/IEEEtran}
% Paper Title goes here
\title{Later \vspace{-0.5cm} }
\begin{document}
\maketitle
\include{sections/Intro}
\include{sections/Background}
\include{sections/Problem_statement}
\end{document}
However, every section goes to a new page! how can I avoid that (i.e., every section follows the previous one)? The command input does that but it generates pdf of each section which I don't want that.
Thank you
\inputdoes not generate a pdf of each section. It just tells LaTeX to treat the place where you use it as if the contents of the specified file were there. – Skillmon Dec 11 '17 at 20:36\inputonly, but that, unfortunately. doesn't exist. the best suggestion i can offer is to use\inputand comment out temporarily any sections you won't want to look at in the current processing cycle. – barbara beeton Dec 11 '17 at 20:47