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

Bug Tracker

ID 4🔗
Date: 2012-10-22 02:58:19
Status Closed (Fixed)
Category glossaries
Version 3.04
Summary \nopostdesc 'ignored' if not protected (sanitize=none)

Sign in to subscribe to notifications about this report.

Description

I stumbled upon a 'not working' \nopostdesc switch. In comp.text.tex The missing \protect was pointed out, but it was also suggested that the command is made robust, if possible.

(See thread there: "glossaries: \nopostdesc doesn't suppress description terminator" )

MWE

Download (386B)

\documentclass[%
	fontsize=10pt,
]{scrartcl}
\usepackage[sanitize=none]{glossaries}
\makeglossaries


\newglossaryentry{sym:eta}{%
	name={\protect\ensuremath{\eta}},
	description={\nopostdesc},
	sort=eta
	}

\newglossaryentry{sym:eta1}{%
	description={Text 1},
	sort={1},
	parent={sym:eta}
	}

\listfiles

\begin{document}

1: \gls{sym:eta1}

\printglossary[style=long]

\end{document}

Evaluation

As from v3.05, \nopostdesc is now robust.

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=4