\documentclass[../main.tex]{subfiles} \makeatletter \def\input@path{{\subfix{../}}} %or: \def\input@path{{/path/to/folder/}{/path/to/other/folder/}} \makeatother \graphicspath{{\subfix{../}}} \hypersetup{ pdfauthor = {Author}, pdftitle = {Appendix: B}, pdfsubject = {Appendix: B}, % pdfkeywords = {mots-cl\'{e}s}, } \begin{document} \section{Appendix B} \label{appendix:B} Interesting things about B. \end{document}