Comprehensive TeX Archive Network

Direc­tory tex-archive/support/texdepend

    texdepend - Find dependencies for a LaTeX file

    texdepend [-help] [-expand] [-format *format-spec*] [-ignore *list*] [-
    out *outfile*] [-print *flags*] [-styles *list*] [-verbose] *file*[.tex]

    texdepend reads a .tex file, and (recursively) all \input{} and
    \include{} files referenced therein, collecting the names of .tex, .sty,
    .bib, .eps files as it goes. If the .log and .aux file for the same
    file.tex file exist in the current directory, texdepend also reads
    these, and parses names of included dependent files.

    It creates the following lists. Only files which actually exist are

        from \input{} and \include{} commands in the .tex file and its

        the names of all style and class files from \usepackage{},
        \documentclass{} and \documentstyle{} commands in the preamble of
        the main .tex file.

        the names of all graphics files from \includegraphics{} commands in
        the .tex file.

        the full path names of *all* style/tex/cfg files used directly or
        indirectly, found in the .log file (except those config'd in @ignore
        or specifed with the -ignore option).

        the full path names of .bib files found in the .aux file as
        \bibdata{} files

        the full path names of all files found in the .log and .aux files
        (which includes everything in all lists except @figs).

    By default, the program uses kpsewhich (if an executable exists) from
    the teTeX/kpathsea distribution to locate tex/bst/sty files before
    trying the various $TEXINPUTS, $BIBINPUTS, and $TEXFMTS paths, to
    determine the full path names of input files. You may need to change the
    $KPSEWHICH path in the configuration section of texdepend

    texdepend is distributed under the terms of the LaTeX Project Public
    License (LPPL). This means that you may freely copy or distribute this
    software, but if you modify it and distribute it (even locally) you must
    change the name to avoid confusion. See: CTAN::


Name Size Date Notes
Changes 423 1999-07-13 18:55
INSTALL 465 1999-06-25 18:46
MANIFEST 66 1999-06-25 18:42
Make­file.PL 488 1999-06-25 18:36
README 2207 1999-07-13 18:13
texde­pend 22142 1999-07-13 14:11
texde­pend.1 10667 1999-07-13 18:11

Down­load the con­tents of this pack­age in one zip archive (14.6k).

texde­pend – Find de­pen­den­cies in a LaTeX file

A Perl script for find­ing de­pen­den­cies in a LaTeX file. The script reads a .tex file, and (re­cur­sively) all \in­put{} and \in­clude{} files ref­er­enced therein to build de­pen­den­cies from the source files scanned, pack­ages (as in \usep­a­ck­age{}), and fig­ures (loaded us­ing \in­clude­graph­ics{}).

Pack­age De­tailstexde­pend
Li­censeThe LaTeX Project Public Li­cense
Main­tainerMichael Friendly
Topics sup­port for keep­ing track of doc­u­ment de­vel­op­ment
Guest Book Sitemap Contact