diff options
author | Karl Berry <karl@freefriends.org> | 2017-07-04 22:07:08 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2017-07-04 22:07:08 +0000 |
commit | 6d032e00184cf08e4dc761eff953903791876b14 (patch) | |
tree | b419fca7f7799238464aa2e5f66c219ce0c3b409 /Master/texmf-dist/doc | |
parent | 72ab27e8dbc6f44e906e1d570e98e957566cb603 (diff) |
texdirflatten (4jul17)
git-svn-id: svn://tug.org/texlive/trunk@44751 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc')
-rw-r--r-- | Master/texmf-dist/doc/man/man1/texdirflatten.1 | 28 | ||||
-rw-r--r-- | Master/texmf-dist/doc/man/man1/texdirflatten.man1.pdf | bin | 8363 -> 10042 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/support/texdirflatten/README | 27 |
3 files changed, 46 insertions, 9 deletions
diff --git a/Master/texmf-dist/doc/man/man1/texdirflatten.1 b/Master/texmf-dist/doc/man/man1/texdirflatten.1 index 2e76412bfb9..53778fe4c90 100644 --- a/Master/texmf-dist/doc/man/man1/texdirflatten.1 +++ b/Master/texmf-dist/doc/man/man1/texdirflatten.1 @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "TEXDIRFLATTEN 1" -.TH TEXDIRFLATTEN 1 "2017-06-26" "perl v5.22.1" "User Contributed Perl Documentation" +.TH TEXDIRFLATTEN 1 "2017-07-03" "texdirflatten-v1.3" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -143,12 +143,16 @@ texdirflatten \- Collects all components of a (La)TeX file in a single output directory \-\- i.e., flattens its hierarchy. .SH "SYNOPSIS" .IX Header "SYNOPSIS" -texdirflatten [\-1|\-\-onetex] [\-f|\-\-file input.tex] [\-o outputdir] [\-?|\-\-help] +texdirflatten [\-1|\-\-onetex] [\-f|\-\-file input.tex] [\-o outputdir] + [\-\-imgexts .ext1,.ext2,...] [\-\-debug] [\-V|\-\-version] [\-?|\-\-help] .SH "DESCRIPTION" .IX Header "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. +This Perl script parses a LaTeX file recursively, scanning all child +files, and collects details of any included and other data files, such +as graphics and BiBTeX bibliography files. These component files, are +then all put into a single directory (thus \*(L"flattening\*(R" the document's +directory tree). This is useful in distributing manuscripts to +collaborators or in submitting to journals. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-\-file\fR, \fB\-f\fR \fIinput.tex\fR" 4 @@ -163,6 +167,20 @@ If specified, produces a single TeX file by expanding all \einput and Directory to collect all files. \fBtexdirflatten\fR 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 \f(CW\*(C`flat/\*(C'\fR. +.IP "\fB\-\-imgexts\fR \fI.ext1,.ext2[,...]\fR" 4 +.IX Item "--imgexts .ext1,.ext2[,...]" +Prepends to the prioritized list of image extensions to search when +trying to find the image to copy to output folder. The first file with +the extension found will be copied and search stopped. Default order +is \f(CW"", ".eps", ".pdf", ".pstex"\fR (note that it includes files with +no extension). If using pdflatex, one may want to add \s-1PDF\s0 before \s-1EPS\s0 +with \f(CW\*(C`\-\-imgexts .pdf\*(C'\fR. Don't forget the dot before the extension! +.IP "\fB\-\-debug\fR" 4 +.IX Item "--debug" +Enables copious amounts of debugging output \- useful if something is going wrong. +.IP "\fB\-\-version\fR, \fB\-V\fR" 4 +.IX Item "--version, -V" +Displays the current version number and the usage and exits. .IP "\fB\-\-help\fR, \fB\-?\fR" 4 .IX Item "--help, -?" Show this manual page. diff --git a/Master/texmf-dist/doc/man/man1/texdirflatten.man1.pdf b/Master/texmf-dist/doc/man/man1/texdirflatten.man1.pdf Binary files differindex 3de3cfe1c13..b88472704a0 100644 --- a/Master/texmf-dist/doc/man/man1/texdirflatten.man1.pdf +++ b/Master/texmf-dist/doc/man/man1/texdirflatten.man1.pdf diff --git a/Master/texmf-dist/doc/support/texdirflatten/README b/Master/texmf-dist/doc/support/texdirflatten/README index 5705aa21a91..840dd0454fc 100644 --- a/Master/texmf-dist/doc/support/texdirflatten/README +++ b/Master/texmf-dist/doc/support/texdirflatten/README @@ -4,12 +4,15 @@ NAME SYNOPSIS texdirflatten [-1|--onetex] [-f|--file input.tex] [-o outputdir] - [-?|--help] + [--imgexts .ext1,.ext2,...] [--debug] [-V|--version] [-?|--help] 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. + This Perl script parses a LaTeX file recursively, scanning all child + files, and collects details of any included and other data files, such + as graphics and BiBTeX bibliography files. These component files, are + then all put into a single directory (thus "flattening" the document's + directory tree). This is useful in distributing manuscripts to + collaborators or in submitting to journals. OPTIONS --file, -f *input.tex* @@ -24,6 +27,22 @@ OPTIONS file, graphics and bibliography file to this directory. It will be created if it is unexistent. If unspecified, it defaults to "flat/". + --imgexts *.ext1,.ext2[,...]* + Prepends to the prioritized list of image extensions to search when + trying to find the image to copy to output folder. The first file + with the extension found will be copied and search stopped. Default + order is "", ".eps", ".pdf", ".pstex" (note that it includes files + with no extension). If using pdflatex, one may want to add PDF + before EPS with "--imgexts .pdf". Don't forget the dot before the + extension! + + --debug + Enables copious amounts of debugging output - useful if something is + going wrong. + + --version, -V + Displays the current version number and the usage and exits. + --help, -? Show this manual page. |