Content
latex_list_graphics.py
Contains ugly hacks, was incompletely tested and is only intended to fit my personal needs.
Find the commands including images in a source tex document, and list the corresponding files on disk.
Searched commands are:
\includegraphics
\multiinclude
(beamer)
(Uses regex. Should use a parsing module, I know.)
# For help
./latex_list_graphics.py -h
./latex_list_graphics.py mypresentation.tex
This atrocious code is licensed under the WTFPL -- Do What the Fuck You Want to Public License.