summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2012-11-30 23:36:10 +0000
committerKarl Berry <karl@freefriends.org>2012-11-30 23:36:10 +0000
commitee7a9006ef9ec56acb6929fdba0ccf452c2ba549 (patch)
tree3e58f1832cf819840acde774dfb47308237af893 /Master/texmf-dist/scripts
parent7cce99f31304321137b574488897e28712ad2ddb (diff)
latexpand (28nov12)
git-svn-id: svn://tug.org/texlive/trunk@28402 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-xMaster/texmf-dist/scripts/latexpand/latexpand6
1 files changed, 4 insertions, 2 deletions
diff --git a/Master/texmf-dist/scripts/latexpand/latexpand b/Master/texmf-dist/scripts/latexpand/latexpand
index f024f1c1a1d..e66f8187ec7 100755
--- a/Master/texmf-dist/scripts/latexpand/latexpand
+++ b/Master/texmf-dist/scripts/latexpand/latexpand
@@ -112,8 +112,7 @@ sub process_line
$_ = "";
} elsif (my ($before, $ignored, $full_filename, $after)
= /^(([^%]|[^\\]%)*)\\input[{\s]+(.*?)[\s}](.*)$/) {
- $full_filename .= ".tex" unless $full_filename =~ m/\./;
- $full_filename = find_tex_file($full_filename);
+ $full_filename = find_tex_file($full_filename, ":.tex");
say $prefix . "Found input for file: $full_filename\n";
print $before . $nl;
print '\makeatletter{}' . $nl;
@@ -213,6 +212,9 @@ latexpand [options] FILE...
Expand \usepackage{...} directives if the
corresponding .sty file is found in
$TEXINPUTS
+ --expand-bbl FILE
+ Expand the bibliography by inlining FILE
+ (should be a *.bbl file)
--help this help message
--output <file>, -o <file>
generate output in <file>