A message from our CEO about the future of Stack Overflow and Stack Exchange. Read now.

New answers tagged


the paths are relative to the working directory of latex, not to the document so one possibility is to process the second document from the same working directory but use pdflatex other-main/other-main.tex Then you need the same path for both. Alternatively (and better as it is more portable) is to just use \input{preamble} (or better rename the file to ...

Top 50 recent answers are included