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
Branches main
No related tags found
No related merge requests found
......@@ -22,7 +22,6 @@
\usepackage{subfig}
\makeatother
\usepackage{minted}
\renewcommand{\listingscaption}{Ohjelmalistaus}
\addbibresource{Bibliografia.bib}
......
......@@ -205,6 +205,8 @@
\else
\RequirePackage{listings} % handle inclusion of source code.
% note: does not support utf-8 properly!
\newenvironment{minted}{\verbatim}{\endverbatim}
\newcommand{\listingscaption}{\sourcecode}
\fi
%% some more suggestions
......@@ -277,10 +279,12 @@
\newcommand{\refs}{Lähdeluettelo}
\newcommand{\appname}{Liitteet}
\renewcommand{\nomname}{Termistö}
\newcommand{\sourcecode}{Ohjelmalistaus}
}{
\newcommand{\refs}{References}
\newcommand{\appname}{Appendices}
\renewcommand{\nomname}{List of acronyms}
\newcommand{\sourcecode}{Listing}
}
%% 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