From f6a2cdd5fdb9b39dc28317ebf61e1726c32157cf Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 7 Jul 2008 14:25:00 +0000 Subject: [PATCH] =?utf8?q?Die=20Ausgabe=20der=20Zeile=20"\usepackage{textc?= =?utf8?q?omp}"=20darf=20nur=20erfolgen,=20wenn=20LaTeX-Vorlagen=20geparse?= =?utf8?q?t=20werden,=20nicht=20bei=20anderen=20Vorlagen.=20Da=20die=20HTM?= =?utf8?q?LTemplate-Klasse=20von=20der=20LaTeXTemplate-Klasse=20abgeleitet?= =?utf8?q?=20ist,=20muss=20hier=20also=20in=20der=20Basisklasse=20der=20ta?= =?utf8?q?ts=C3=A4chliche=20Klassentyp=20=C3=BCberpr=C3=BCft=20werden.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Template.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SL/Template.pm b/SL/Template.pm index a268ae6c9..6da93d9b3 100644 --- a/SL/Template.pm +++ b/SL/Template.pm @@ -453,7 +453,7 @@ sub parse { close(IN); $self->_parse_config_lines(\@lines); - $self->_force_mandatory_packages(\@lines); + $self->_force_mandatory_packages(\@lines) if (ref $self eq 'LaTeXTemplate'); my $contents = join("", @lines); -- 2.20.1