projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0c9e6
)
Syntaxhighlighting erleichtern. (Ich darf das auch mal)
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 28 Sep 2009 10:07:59 +0000
(12:07 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 28 Sep 2009 10:07:59 +0000
(12:07 +0200)
SL/Template.pm
patch
|
blob
|
history
diff --git
a/SL/Template.pm
b/SL/Template.pm
index
3ec7cd1
..
fe4b248
100644
(file)
--- 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}/) {