Relative paths with windows path separator does not work in TeXlive2019.

Ulrike Fischer news3 at
Fri Jul 26 13:11:40 CEST 2019

Am Fri, 26 Jul 2019 12:32:04 +0300 schrieb Kirill Balunov:

> Then what do you think about the additional option
> `-input-directory=` that will also be as good as  `-output-directory=`?  Or
> do you think this is an overkill for this?

miktex has an option  -include-directory=DIR  which prefixes DIR to
the input search path.

But it is absolutely not a good idea to use this to find the main
tex-file. You will run into lots of problems if you start the
compilation from another folder: \input won't do what you want,
graphics are not found, auxiliary files will not be where tex
expects them. 

Always cd into the folder of your main tex and then call
pdftex test-test 

Ulrike Fischer

More information about the tex-live mailing list