Skip to content
Snippets Groups Projects
Commit bc1f1924 authored by Jari-Matti Mäkelä's avatar Jari-Matti Mäkelä
Browse files

Workaround for mintedless builds

parent babb8eb7
No related branches found
No related tags found
No related merge requests found
...@@ -22,7 +22,6 @@ ...@@ -22,7 +22,6 @@
\usepackage{subfig} \usepackage{subfig}
\makeatother \makeatother
\usepackage{minted}
\renewcommand{\listingscaption}{Ohjelmalistaus} \renewcommand{\listingscaption}{Ohjelmalistaus}
\addbibresource{Bibliografia.bib} \addbibresource{Bibliografia.bib}
......
...@@ -205,6 +205,8 @@ ...@@ -205,6 +205,8 @@
\else \else
\RequirePackage{listings} % handle inclusion of source code. \RequirePackage{listings} % handle inclusion of source code.
% note: does not support utf-8 properly! % note: does not support utf-8 properly!
\newenvironment{minted}{\verbatim}{\endverbatim}
\newcommand{\listingscaption}{\sourcecode}
\fi \fi
%% some more suggestions %% some more suggestions
...@@ -277,10 +279,12 @@ ...@@ -277,10 +279,12 @@
\newcommand{\refs}{Lähdeluettelo} \newcommand{\refs}{Lähdeluettelo}
\newcommand{\appname}{Liitteet} \newcommand{\appname}{Liitteet}
\renewcommand{\nomname}{Termistö} \renewcommand{\nomname}{Termistö}
\newcommand{\sourcecode}{Ohjelmalistaus}
}{ }{
\newcommand{\refs}{References} \newcommand{\refs}{References}
\newcommand{\appname}{Appendices} \newcommand{\appname}{Appendices}
\renewcommand{\nomname}{List of acronyms} \renewcommand{\nomname}{List of acronyms}
\newcommand{\sourcecode}{Listing}
} }
%% magic thesis types. more can be added %% magic thesis types. more can be added
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment