Fixed #1: listing commands are only used when the option “listings” is specified.

This commit is contained in:
Wandmalfarbe 2017-05-08 01:18:40 +02:00
parent 5aebad5fc9
commit e01d7e6747

View File

@ -407,6 +407,7 @@ $endif$
% %
% %
$if(listings)$
\lstdefinestyle{eisvogel_listing_style}{ \lstdefinestyle{eisvogel_listing_style}{
language=java, language=java,
numbers=left, numbers=left,
@ -460,6 +461,7 @@ $endif$
stringstyle=\color{listing-string}, stringstyle=\color{listing-string},
identifierstyle=\color{listing-identifier} identifierstyle=\color{listing-identifier}
} }
$endif$
% %
% header and footer % header and footer