Latest news 2026-03-02: Read an Ebook Week sale (1st – 7th March 2026): cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

Bug Tracker RSS feed

ID 220🔗
Date: 2023-02-25 07:01:04
Last update: 2023-06-28 13:16:16
Status Closed (Fixed)
Category glossaries-extra
Version 1.50
Summary Undefined control sequence \pretoglossarypreamble

Return to Search Results

Sign in to subscribe to notifications about this report.

Description

\pretoglossarypreamble[type]{text} (see manual page 961) is undefined in glossary-extra.sty, but \preglossarypreamble[type]{text} is.
Looks like a typo in code / documentation.
Please make sure to keep \preglossarypreamble[type]{text} for compatibility with LaTeX projects written for makeglossaries-extra 1.50 or lower.

MWE

Download (579B)

\documentclass{article}

\usepackage{mwe}
\usepackage[%
    xindy,
    nonumberlist,
    postdot,
]{glossaries-extra}
\setglossarystyle{index}
\makeglossaries

% \preglossarypreamble{Some text prior the preamble}%working
\pretoglossarypreamble{Some text prior the preamble}%undefined

\newglossaryentry{test}{
	name={test},
	description={Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Etiam lobortis
    facilisis sem. Nullam nec mi et neque pharetra sollicitudin}
}

\begin{document}

\printglossary

\clearpage
\gls{test}


\end{document}

Evaluation

Fixed in v1.52. This now correctly defines \pretoglossarypreamble. The old (incorrect) command name is still defined to allow for backward-compatibility but isn’t mentioned in the documentation.

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. All guest comments have to be manually checked before they appear on the page. There are too many bots trying to spam the site to allow unauthenticated users to post without verification.

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

Return to Search Results