Latest news 2024-09-23: new blog post "Tales for Our Times: Raising Funds and Awareness for St Martins Housing Trust".

Bug Tracker RSS feed

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 26🔗
Date: 2013-05-24 06:41:55
Status Closed (Fixed)
Category glossaries
Version 3.04
Summary Spurious parentheses with smallcaps option
OS Linux (TeX Live 2012 and 2013)

Sign in to subscribe to notifications about this report.

Description

Spurious parentheses appear after glossaries terms with smallcaps option.

Nicola provided me an workaround: remove 'smallcaps' option and add:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand*{\newacronymhook}{%
   \edef\tmp{\noexpand\textsc{\the\glsshorttok}}%
   \expandafter\glsshorttok\expandafter{\tmp}%
}
\renewcommand*{\acrpluralsuffix}{\textup{\glspluralsuffix}}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
but I wonder if it could be somehow integrated in the package.

The minimal working example I provide contains 'libertine' package in order to get bold small caps.

The same trouble arises with 'glossaries' v3.05 (pretest TeX Live 2013).

MWE

Download (383B)

\documentclass{article}
\usepackage{libertine}
\usepackage[smallcaps]{glossaries}
\makeglossaries
%
\newacronym{label}{svm}{support vector machine}
\newglossaryentry{electrolyte}{
  name=electrolyte,
  description={solution able to conduct electric current}
}
%
\begin{document}
\begin{itemize}
\item \gls{label}
\item \gls{electrolyte}
\end{itemize}
%
\printglossary
\end{document}

Evaluation

Fixed in version 3.07

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