Latest news 2021-09-06: new blog post "Legacy Documents and TeX Live Docker Images".

Bug Tracker

ID 72🔗
Date: 2014-10-28 18:40:58
Status Closed (Fixed)
Category glossaries
Version 4.11
Summary Option numberline crashes KOMA-Script classes

Sign in to subscribe to notifications about this report.

Description

When I use the option numberline to align glossaries' toc entry with chapter/section titles rather than chapter/section numbers, pdfTeX crashes with
./mwe.gls:1: TeX capacity exceeded, sorry [input stack size=5000].
\reserved@a ->\def \reserved@a 
                               *{\@vspacer }\reserved@a 
l.1 ...ysection[\glossarytoctitle]{\glossarytitle}
                                                  \glossarypreamble
This happens with all KOMA-Script classes, but e.g. not with the standard book class. \protecting the \numberline{} in line 1011 of glossaries.sty seems to fix it, however.

MWE

Download (248B)

\documentclass{scrbook}
\usepackage[xindy,toc,numberline]{glossaries}
\makeglossaries

\newglossaryentry{gls:set}{name=set,description={A collection of distinct objects}}
\glsaddall

\begin{document}
\tableofcontents
\printglossaries
\end{document}

Evaluation

Fixed in v4.12.

Comments

0 comments.


Add Comment

Name (optional):

Are you human? Please confirm the bug report ID (which can be found at the top of this page) or login if you have an account.

Comment:

You can use the following markup:

Block:

[pre]Displayed verbatim[/pre]
[quote]block quote[/quote]

In line:

[tt]code[/tt]
[file]file/package/class name[/file]
[em]emphasized text[/em]
[b]bold text[/b]
[url]web address[/url] [sup]superscript[/sup]
[sub]subscript[/sub]

Ordered list:
[ol]
[li]first item[/li]
[li]second item[/li]
[/ol]

Unordered list:
[ul]
[li]first item[/li]
[li]second item[/li]
[/ul]

You can use the Preview button to review your message formatting before submitting.

Page permalink: https://www.dickimaw-books.com/bugtracker.php?key=72