diff options
Diffstat (limited to 'Build/source')
-rwxr-xr-x | Build/source/texk/texlive/linked_scripts/latexpand/latexpand | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Build/source/texk/texlive/linked_scripts/latexpand/latexpand b/Build/source/texk/texlive/linked_scripts/latexpand/latexpand index f024f1c1a1d..e66f8187ec7 100755 --- a/Build/source/texk/texlive/linked_scripts/latexpand/latexpand +++ b/Build/source/texk/texlive/linked_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> |