From: Sven Schöling Date: Mon, 28 Sep 2009 10:07:59 +0000 (+0200) Subject: Syntaxhighlighting erleichtern. (Ich darf das auch mal) X-Git-Tag: release-2.6.1beta1~275^2~2 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=660206845e6f0d045b65b649e4b5750a968443e6;p=kivitendo-erp.git Syntaxhighlighting erleichtern. (Ich darf das auch mal) --- diff --git a/SL/Template.pm b/SL/Template.pm index 3ec7cd138..fe4b24893 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -501,7 +501,7 @@ sub _force_mandatory_packages { my (%used_packages, $document_start_line); foreach my $i (0 .. scalar @{ $lines } - 1) { - if ($lines->[$i] =~ m/\\usepackage[^{]*{(.*?)}/) { + if ($lines->[$i] =~ m/\\usepackage[^\{]*{(.*?)}/) { $used_packages{$1} = 1; } elsif ($lines->[$i] =~ m/\\begin{document}/) {