I have a LaTeX project that will compile on my computer with MiKTeX, but not on my colleagues with TeX Live. The issue is that when I input the subfile, it appears that my computer adds the subfile's directory to path, but on my colleagues it doesn't, resulting in a TestSubInput.tex not found error. Any ideas as to why this is happening?

The files are organized as follows:

In the main folder


In the test folder


The contents of the files are:

TestMain.tex, the main file

    Main works\\

TestSub.tex, the subfile inserted from main

    Sub works\\

Note for above, it will compile on both if the input is changed to \input{./TestFolder/TestSubInput}

TestSubInput.tex, the file that is inserted from the subfile

SubInput works

Your Answer

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

Browse other questions tagged or ask your own question.