LaTeX Dependencies

This tool is written to resolve dependencies within a LaTex-file with multiple \include and \input statements. The result is a single file. All dependencies are integrated recursively, so the result may need some further cleaning, yet provides some good working ground to adapt to publication constraints.

Download: texmerge.py

SIGNATURE
texmerge.py <main.tex>

Enumerate file names

Sometimes it is necessary to explicitly enumerate file names on the command line e.g. when pattern matching and globs may be too complicated.

The tool below provides an easy way to enumerate tree-like structures with embedded enumerations like

  • vid_2017_1.mpg
  • vid_2017_2.mpg
  • vid_2018_1.mpg
  • vid_2018_2.mpg

or similar.

Download: qenum.py

SIGNATURE:
enum.py pattern [separator]
pattern: a composite forms like img20[16-18]_[1-3].jpg separator: item separator "wsp", "tab", "`echo`" (default: whitespace) EXAMPLE: qenum.py Dir[2016-2018]/myfile_[1-3].txt