Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse Search

Direc­tory tex-archive/support/texdepend

NAME
    texdepend - Find dependencies for a LaTeX file

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

DESCRIPTION
    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
    included.

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

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

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

    @styles
        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).

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

    @depends
        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

LICENSE
    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::
    help/Catalog/Licenses.html.

Files

Name Size Date Notes
Changes 423 1999-07-13 06:55
INSTALL 465 1999-06-25 06:46
MANIFEST 66 1999-06-25 06:42
Makefile.PL 488 1999-06-25 06:36
README 2207 1999-07-13 06:13
texdepend 22142 1999-07-13 02:11
texdepend.1 10667 1999-07-13 06: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
Ver­sion0.92
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