% Graphics
\input{preamble/graphics}
-% Crossreferences, hyperlinks and metadata
+% Crossreferences, urls and hyperlinks
\input{preamble/crossref}
% Glossaries and acronyms
% File structure, this must be last of the preamble
\usepackage{subfiles}
-% Metadata (only works in main document)
-\ifSubfilesClassLoaded{}{
- \usepackage{xmpincl}
- \includexmp{CC_Attribution-NoDerivatives_4.0_International}
-}
+% Metadata (only works in main document) and should go after subfiles
+\input{preamble/metadata}