after spending 3h trying to fix this and googling for solutions I give up...
I am using MikTex & Texmaker on a Windows 7 OS.
I use the following code:
Code: Select all
%%----------Preamble-------------
\documentclass[12pt]{article}
\usepackage{amsmath}
\usepackage{datatool}
\usepackage[hidelinks]{hyperref}
\usepackage{glossaries}
\makeglossaries
\author{NA. Bufe}
\title{Some equations}
\begin{document}
%%--------Glossary entries----------
\newglossaryentry{sediflux}{name=\ensuremath{q_s},
description={Unspecified sediment flux per unit width ($m^2$ $s^{-1}$)}}
\newglossaryentry{sediheight}{name=\ensuremath{h_s},
description={Sediment thickness ($m$)}}
%%------------Title & TOC----------
\maketitle
\tableofcontents
%% -------Glossary--------
\setglossarystyle{long3col}
\setlength\LTleft{0pt}
\setlength\LTright{0pt}
\printglossaries[title=Symbols]
%% -------Section 1--------
\section{Transport limited versus Detachment limited}
\subsection*{Transport limited}
Exner Equation
\begin{equation}
(1- \lambda_p) \frac{\partial \gls{sediheight}}{\partial t} = - \frac{\partial \gls{sediflux}}{\partial x}
\end{equation}
\subsection*{Detachment limited}
\begin{equation}
\frac{\partial \gls{sediheight}}{\partial t}=-K\tau_b
\end{equation}
\newpage
\end{document}
1) I cannot add options to \printglossaries. Any options that I add just print out as a normal text (as shown in the example). For the style I got around it by just defining the style using \setglossarystyle but for additional options (such as nonumberlist) that won't work.
2) Once I have a newglossaryentry and then I change a little thing (e.g. change the name or add a word in the description etc.) and then rerun the code, the glossary is not updated and also the references in the text are not updated. For that to happen, I need to delete the entry entirely, rerun and then add the modified entry and rerun. I also checked the .glo file and that file just isn't updated. When I add a new entry, the entry is added fine but all the old entries are not updated when I make small changes to them (even after adding a new entry). Hmm I hope that makes sense.
Finally, as you can see in the example, the longtable of the Glossary wraps the text in one of the center column even though the page is still wide enough so that the text could be in one line. I can fix that using the "long4col" style but that doesn't seem right. Is there any way to increase the size of the middle column in the table?
thanks a lot!