3

I'm writing a report where I use the package subfiles to include different parts of my report.

\input{misc/variables.tex}

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.

Any ideas?

closed as unclear what you're asking by Joseph Wright Aug 9 '13 at 20:10

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.