* Follow \bibliographystyle to find .bst files.
svn path=/nixpkgs/trunk/; revision=5590
This commit is contained in:
parent
506f113378
commit
a4d3fde9d5
@ -54,6 +54,10 @@ while (scalar @workset > 0) {
|
||||
my $fn2 = $2;
|
||||
die "absolute path! $fn2" if substr($fn2, 0, 1) eq "/";
|
||||
push @workset, $path . "/" . $fn2 . ".cls";
|
||||
} elsif (/\\bibliographystyle\{(.*)\}/) {
|
||||
my $fn2 = $1;
|
||||
die "absolute path! $fn2" if substr($fn2, 0, 1) eq "/";
|
||||
push @workset, $path . "/" . $fn2 . ".bst";
|
||||
} elsif (/\\bibliography\{(.*)\}/) {
|
||||
foreach my $bib (split /,/, $1) {
|
||||
$bib =~ s/^\s+//; # remove leading / trailing whitespace
|
||||
|
Loading…
Reference in New Issue
Block a user