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

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.

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