File tree Expand file tree Collapse file tree 3 files changed +18
-3
lines changed
Expand file tree Collapse file tree 3 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 55pdf:
66 # Allow exit code 12. The double $$ is needed in a Makefile to refer to a shell variable instead of a make variable.
77 # https://stackoverflow.com/a/16315249
8- latexmk -f || [ $$? -eq 12 ]
8+ latexmk # -f || [ $$? -eq 12 ]
Original file line number Diff line number Diff line change 2626% programme specific content ends
2727
2828\RequirePackage{lastpage}
29- \RequirePackage{nomencl}
29+
30+ % Requiring nomencl results in duplicate definitions of these commands,
31+ % and therefore return code 12 for the LaTeX compiler.
32+ % Unfortunately, this fix did not help.
33+ % https://texfaq.org/FAQ-alreadydef
34+ % \RequirePackage{savesym}
35+ % \savesymbol{\@pnumwidth}
36+ % \savesymbol{\@tocrmarg}
37+ % \savesymbol{\@dotsep}
38+ % \RequirePackage{nomencl}
39+
3040\RequirePackage{emptypage}
3141\RequirePackage{perpage}
3242
230240
231241%--------------------------------------------------------------------------
232242% Nomenclature: titles and unit space
243+
244+ % Disabled due to issues in importing the nomencl package.
245+ % See the comments at \RequirePackage{nomencl}.
246+ \iffalse
233247\makenomenclature
234248\if@finnish
235249 \renewcommand{\nomname}{Symboliluettelo}
243257\fi
244258\newcommand{\nomunit}[1]{%
245259\renewcommand{\nomentryend}{\hspace*{\fill}#1}}
260+ \fi
246261
247262\newcommand{\mynomenclature}{%
248263% \ifnum0\pdffilesize{\jobname.nls}>0
Original file line number Diff line number Diff line change 4747\usepackage[plainpages=false]{hyperref} % For hyperlinks and pdf metadata
4848\usepackage{listings}
4949\usepackage{lmodern} % Font package
50- \usepackage{nomencl}
50+ % \usepackage{nomencl}
5151\usepackage{placeins} % FloatBarrier
5252%\usepackage[square]{natbib} % For bibliography
5353\usepackage{textcomp} % Package for special symbols
You can’t perform that action at this time.
0 commit comments