Bug Tracker
I’m currently working on a major new version of the datatool package. This may take a while. Please be patient. (Experimental version available for testing.)
ID | 108🔗 |
---|---|
Date: | 2016-04-28 09:54:38 |
Status | Closed (Fixed) |
Category | glossaries |
Version | 4.22 |
Summary | nogroupskip + style=long results in error |
Sign in to subscribe to notifications about this report.
Description
If you use optionnogroupskip
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
Download (438B)
\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.
Comments
0 comments.
Add Comment
Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=108