[Tex/LaTex] Create list of all external files used by master LaTeX document

external filesgraphicsincludeinput

Is there an easy way to create a list of all external files (complete path) which are used by a LaTeX document (and its "sub-documents") by

  • \input
  • \include
  • \includegraphics ?

(may I have forgotten some input sources?)

Best Answer

The snapshot package gives you a list of the external dependencies of a LaTeX document. Use it by saying

\RequirePackage{snapshot}

before the \documentclass command (to have the information written to a .dep file), or by saying

\RequirePackage[log]{snapshot}

before the \documentclass command (to have the information written to the .log file).

Related Question