This is probably online but I am not sure how to word the search. I have a long latex document, and it is getting messy editing it, is there a way to split the chapters into separate latex documents and insert like a reference to them in the main document such that when the main document is build they will show in the pdf.


  • @duffymo thanks \include was what I was looking for. – mihajlv May 6 '12 at 23:59
  • Your question was migrated here from another stackexchange site. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. – Martin Scharrer May 7 '12 at 13:02
  • 2

use \input{firstfile}

see http://web.science.mq.edu.au/~rdale/resources/writingnotes/latexstruct.html for more information.

  • Altin Thanks for the answer \include{firstfile} was what I was looking for. – mihajlv May 6 '12 at 23:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.