mirror of
https://github.com/Wandmalfarbe/pandoc-latex-template.git
synced 2025-02-07 11:50:17 +00:00
Fixed #1: listing commands are only used when the option “listings” is specified.
This commit is contained in:
parent
5aebad5fc9
commit
e01d7e6747
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user