* \input{foo} should look for foo.tex by default.
svn path=/nixpkgs/trunk/; revision=10176
This commit is contained in:
parent
42e974a9fe
commit
777826925d
@ -59,6 +59,7 @@ while (scalar @workset > 0) {
|
|||||||
if (/\\input\{(.*)\}/) {
|
if (/\\input\{(.*)\}/) {
|
||||||
my $fn2 = $1;
|
my $fn2 = $1;
|
||||||
die "absolute path! $fn2" if substr($fn2, 0, 1) eq "/";
|
die "absolute path! $fn2" if substr($fn2, 0, 1) eq "/";
|
||||||
|
push @workset, "$path/$fn2.tex";
|
||||||
push @workset, "$path/$fn2";
|
push @workset, "$path/$fn2";
|
||||||
} elsif (/\\usepackage(\[.*\])?\{(.*)\}/) {
|
} elsif (/\\usepackage(\[.*\])?\{(.*)\}/) {
|
||||||
my $fn2 = $2;
|
my $fn2 = $2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user