I'm writing a report where I use the package
subfiles to include different parts of my report.
will include my variables file perfectly and render the subfiles. But if I try to render a subfile it complains about the filepath, as the relative path is different in the subfile.
I would like to use paths relative to the main file, so I can compile just parts of the subfile, while still including files with
\input. I can't use absolute paths as the report is shared in a repository, where the others don't have the same absolute path.