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.
Download the contents of this package in one zip archive (6.1k).
texdirflatten – Collect files related to a LaTeX job in a single directory
The Perl script parses a LaTeX file recursively, scanning all child files, and collects details of any included and other data files. These component files, are then all put into a single directory (thus “flattening” the document’s directory tree).
|License||Perl Artistic License|
|Contained in||TeX Live as texdirflatten|
|MiKTeX as texdirflatten|