# Bug Tracker

ID: 108 🔗 Closed (Fixed) glossaries 4.22 Markus 2016-04-28 09:54:38 nogroupskip + style=long results in error

## Report

If you use option nogroupskip with style long, you get an error message because of an unclosed \iftrue.
\documentclass{article}
\usepackage{glossaries}
\makenoidxglossaries
\newglossaryentry{min}{name=Minimum,description={Minimum}}
\newglossaryentry{max}{name=Maximum,description={Maximum}}

\begin{document}
\printnoidxglossary[style=long,nogroupskip]

\gls{min}
\gls{max}

\end{document}
You have to move the \ifglsnogroupskip in the definition of style long to fix this:
\documentclass{article}
\usepackage{glossaries}
\makenoidxglossaries
\newglossaryentry{min}{name=Minimum,description={Minimum}}
\newglossaryentry{max}{name=Maximum,description={Maximum}}

\newglossarystyle{long-fixed}{%
\setglossarystyle{long}%
\ifglsnogroupskip
\renewcommand*{\glsgroupskip}{}%
\else
\renewcommand*{\glsgroupskip}{ & \tabularnewline}%
\fi
}

\begin{document}

\printnoidxglossary[style=long-fixed,nogroupskip]

\gls{min}
\gls{max}

\end{document}
The same bug can be found at other table style, too.

### MWE

\documentclass{article}
\usepackage{glossaries}
\makenoidxglossaries
\newglossaryentry{min}{name=Minimum,description={Minimum}}
\newglossaryentry{max}{name=Maximum,description={Maximum}}

\begin{document}

\printnoidxglossary[style=long,nogroupskip]

\gls{min}
\gls{max}

\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: t
%%% End:


## Evaluation

Thank you. Fixed in v4.23 (for all the tabular-like styles). Uploaded to CTAN 2016-04-30, please allow a few days for it to reach the TeX distributions.

## Watch This Report

If you supply your name, it will be used in the email greeting, which provides a more personal message, otherwise you'll just get a generic greeting. If you have previously supplied your name when signing up for notifications, you don't need to resupply it unless you want to change it.

If you have previously subscribed to notifications for this report, you can unsubscribe by clicking on the "Stop Notification" button.

The "Confirm Bug ID" field helps to protect against spambots. Please enter the bug ID (which you can find at the top of this page).

Name: (Optional.)