Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with the list of symbols and abbreviations #110

Open
manuelperezesc opened this issue May 28, 2022 · 3 comments
Open

Issue with the list of symbols and abbreviations #110

manuelperezesc opened this issue May 28, 2022 · 3 comments

Comments

@manuelperezesc
Copy link

manuelperezesc commented May 28, 2022

Dear, I am trying to use the template for my master thesis and I have an issue with the glossaries as they are not generated as I feel they should.

In my thesis.tex document I have the following:

`\usepackage{nomencl} % For nomenclature
\renewcommand{\nomname}{List of Symbols}
\newcommand{\myprintnomenclature}{%
\cleardoublepage%
\printnomenclature%
\chaptermark{\nomname}
\addcontentsline{toc}{chapter}{\nomname} %% comment to exclude from TOC
}
\makenomenclature%

% for the list of abbreviations (comment out if you do not use the glossaries package
\usepackage{glossaries} % For list of abbreviations
\newcommand{\glossname}{List of Abbreviations}
\newcommand{\myprintglossary}{%
\renewcommand{\glossaryname}{\glossname}
\cleardoublepage%
\phantomsection
\addcontentsline{toc}{chapter}{\glossname} %% comment to exclude from TOC
\printglossary[title=\glossname]
\chaptermark{\glossname}
}
\makeglossaries%`

And later I just ask for it to be printed as:

`\includepreface{preface}
\includeabstract{abstract}
\myprintglossary

\myprintnomenclature

\tableofcontents
\listoffigures
\listoftables
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\mainmatter % to get \pagenumbering{arabic}
\onehalfspacing
\instructionschapters\cleardoublepage

\includechapter{introduction}
\includechapter{methods}
\includechapter{protocol}
\includechapter{results}
\includechapter{conclusions}`

Then, I generate the entries of that glossary as:

\newglossaryentry{tddf}{name={TD-DFT},description={Time-Dependent Density Functional Theory}} \newglossaryentry{casscf}{name={CASSCF},description={Complete Active Space Self-Consistent Field}} \newglossaryentry{ci}{name={CI},description={Configuration Interaction}}

I call those entries, for example as:

\gls{tddff}

However, when I do that, an empty blank page is generated in the resulting pdf document with heading "List of abbraviations" but nothing is displayed. Am I doing something wrong? Thank you!

@wannesm
Copy link
Owner

wannesm commented May 29, 2022

Did you also run the makeindex binary? See the readme (or thesis.pdf if you are on windows).

@manuelperezesc
Copy link
Author

Hi, thank you for your reply! I solved it running it on TexStudio, as pointed in a previous issue, although it did not work for me on Visual Studio Code using the LaTeX tools or libraries.

@vanditya
Copy link

vanditya commented Apr 8, 2024

It works with me with VSC with MiKTeX complier. Dont forget to run.py first and all good

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants