Trying to print my nomenclature in my document.
I am not sure where to put the \makenomenclature and \printnomenclature command. Tried several things, but they are not working. The question is: where to put these commands, so that the nomenclature is correctly compiled?
I am using the following preamble (with university report style):
\documentclass{undefineduniversity-report}
\usepackage{changes}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{siunitx} %allow SI units
\usepackage{cleveref} %smart referencing, automatic sorting etc.
\usepackage{nomencl}
\makenomenclature
\begin{document}
\renewcommand{\bibname}{References} %rename bibliography --> references
%% Use Roman numerals for the page numbers of the title pages and table of
%% contents.
\frontmatter
\title[ ]{Development of Siliconoxide as Electron Selective Passivating \\ Contact Layer in Silicon \\ Heterjunction Solar Cells}
\author{}
\affiliation{}
\coverimage{thesiscover.png}
\makecover
%% Include an optional title page.
\input{titlepage}
\input{abstract}
\input{nomenclature/nomenclature}
\tableofcontents
%% Use Arabic numerals for the page numbers of the chapters.
\mainmatter
\mainmatter % from here the arabic number starts
\input{chapters/introduction/introduction}
\input{chapters/background/background}
\input{chapters/methodology/methodology}
\input{chapters/results/results}
\input{chapters/discussion/discussion}
\input{chapters/conclusion/conclusion}
\input{chapters/acknowledgements/acknowledgements}
%% Use letters for the chapter numbers of the appendices.
\appendix
\input{appendix/appendix-a}
\input{appendix/appendix-b}
\bibliographystyle{IEEEtran}
\bibliography{references}
\end{document}
I defined the nomenclature chapter as follows:
\chapter*{Nomenclature}
\addcontentsline{toc}{chapter}{Nomenclature}
\nomenclature{$J_{sc}$}{Short circuit current: current through the solar cell \\ when the voltage across the solar cell is zero}
\printnomenclature
Also, I am wondering how the nomenclature package lists its input (alphabetically or just in order you type them in the document).
Help is very much appreciated!!
nomenclaturepackage will sort the entries alphabetically. – Jasper Habicht Feb 08 '18 at 16:39makeindex? (makeindex <filename>.nlo -s nomencl.ist -o <filename>.nls) – leandriis Feb 08 '18 at 18:34makeindexis a program that creates a sorted index from a raw data input. In the answers to the question Nicola Talbot has linked you can find information on how to use this program in combination with thenomenclpackage. – leandriis Feb 10 '18 at 16:34Error : could not start the command :.nlo -s nomencl.ist -o .nls
– W. v. Ekeren Feb 11 '18 at 17:56