From ee7a9006ef9ec56acb6929fdba0ccf452c2ba549 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Fri, 30 Nov 2012 23:36:10 +0000 Subject: latexpand (28nov12) git-svn-id: svn://tug.org/texlive/trunk@28402 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/texlive/linked_scripts/latexpand/latexpand | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Build/source/texk') 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 , -o generate output in -- cgit v1.2.3