Menu
CTAN
Comprehensive TeX Archive Network
Cover Upload Browse

Direc­tory tex-archive/support/texdirflatten

NAME
    texdirflatten - Collects all components of a (La)TeX file in a single
    output directory -- i.e., flattens its hierarchy.

SYNOPSIS
    texdirflatten -f input.tex [-o outputdir]

DESCRIPTION
    It parses the source file, following its included children (La)TeX files
    recursively, to collect together its components, such as graphics and
    BiBTeX bibliography files in different directories.

OPTIONS
    -f *input.tex*
        Specifies input (La)TeX file.

    -o *outputdir*
        Directory to collect all files. texdirflatten will copy each source
        file, graphics and bibliography file to this directory. It will be
        created if it is unexistent. If unspecified, it defaults to "flat/".

EXAMPLES
    The following example scans "manuscript.tex" in the current directory
    and gathers it and all its components in the "submit_01/" directory:

     $ texdirflatten -f manuscript.tex -o submit_01

CAVEATS
    Please take backups before running this command. No warranties
    whatsoever provided.

BUGS
    Bug reports and patches are welcome.

AUTHOR
    Cengiz Gunay <cengique<AT>users.sf.net>

COPYRIGHT AND LICENSE
    Copyleft 2003-2009, Cengiz Gunay

    This library is free software; you may redistribute it and/or modify it
    under the same terms as Perl itself.

Files

Name Size Date Notes
README 1312 2009-04-17 04:14
texdirflatten 6821 2009-04-17 04:15
texdirflatten.1 5424 2009-04-17 04:15

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

texdirflat­ten – Col­lect files re­lated to a LaTeX job in a sin­gle di­rec­tory

The Perl script parses a LaTeX file re­cur­sively, scan­ning all child files, and col­lects de­tails of any in­cluded and other data files. Th­ese com­po­nent files, are then all put into a sin­gle di­rec­tory (thus “flat­ten­ing” the doc­u­ment’s di­rec­tory tree).

Pack­age De­tailstexdirflat­ten
Ver­sion1.1
Li­censePerl Artis­tic Li­cense
Copy­right2003-2009 Cen­giz Gu­nay
Main­tainerCen­giz Gü­nay
Con­tained inTeXlive as texdirflat­ten
MikTeX as texdirflat­ten
Topics TeX-re­lated-file man­age­ment
Guest Book Sitemap Contact