Skip to contentSkip to conversation

Stick to mfirstuc v2.07

PATCH In review Akira Yokosawa 2 participants 2 messages Oct 19, 2022 – Oct 20, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Stick to mfirstuc v2.07

Version 2.08 of LaTeX package "mfirstuc" (indirectly loaded via "glossaries-extra") is a re-implementation using modern LaTeX3 commands.

Unfortunately, it is not compatible with our indexing macros and build scripts due to the use of mfirstuc's internal macros.

Newer versions of mfirstuc understand an option [=v2.07] and roll back to the earlier version [1]. Therefore, as a work around, load it explicitly with that option before loading glossaries-extra. It does not affect builds on a system where an earlier version of mfirstuc is installed.

---
Hi Paul,

A recent update of mfirstuc broke perfbook builds. Looks like I had trespassed the mfirstuc's internal code when I tweaked the automatic capitalization of indexed terms/names.

In LaTeX community, LaTeX3 provides an easier-to-program syntax for package writers and it is getting popular day by day. Most of those re-implementation have not affected perfbook, but here comes such a day.

In the longer term, I might be able to come up with a better approach for future compatibility. I can't promise anything at the moment, though.

Thanks, Akira
--

 perfbook-lt.tex | 2 ++
 1 file changed, 2 insertions(+)
perfbook-lt.tex +2 -0
index 9cde2e4d42e5..80e36084ed3b 100644
@@ -79,6 +79,8 @@
 \usepackage[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0},linktoc=all]{hyperref}
 \usepackage{footnotebackref} % to enable cross-ref of footnote
 \usepackage[all]{hypcap} % for going to the top of figure and table
+\usepackage{mfirstuc}[=v2.07] % v2.08 or later is not compatible with our
+                              % indexing macros
 \usepackage[acronym]{glossaries-extra}[2020/02/13]
 \usepackage[longragged]{glossaries-extra-stylemods}
 \usepackage{epigraph}[2020/01/02] % latest version prevents orphaned epigraph

base-commit: c2dc57ae109050a8a252278c73158292bb4b9512

Signature · 1 line
2.25.1
#1 lore raw
Quoted 22 lines · Akira Yokosawa

Version 2.08 of LaTeX package "mfirstuc" (indirectly loaded via "glossaries-extra") is a re-implementation using modern LaTeX3 commands.

Unfortunately, it is not compatible with our indexing macros and build scripts due to the use of mfirstuc's internal macros.

Newer versions of mfirstuc understand an option [=v2.07] and roll back to the earlier version [1]. Therefore, as a work around, load it explicitly with that option before loading glossaries-extra. It does not affect builds on a system where an earlier version of mfirstuc is installed.

---
Hi Paul,

A recent update of mfirstuc broke perfbook builds. Looks like I had trespassed the mfirstuc's internal code when I tweaked the automatic capitalization of indexed terms/names.

Quoted 8 lines

In LaTeX community, LaTeX3 provides an easier-to-program syntax for package writers and it is getting popular day by day. Most of those re-implementation have not affected perfbook, but here comes such a day.

In the longer term, I might be able to come up with a better approach for future compatibility. I can't promise anything at the moment, though.

Longer term, some sort of conversion might be needed. But in the near term, queued and pushed, thank you!

Thanx, Paul

Quoted 23 lines

--

 perfbook-lt.tex | 2 ++
 1 file changed, 2 insertions(+)
perfbook-lt.tex +2 -0
index 9cde2e4d42e5..80e36084ed3b 100644
@@ -79,6 +79,8 @@
 \usepackage[bookmarks=true,bookmarksnumbered=true,pdfborder={0 0 0},linktoc=all]{hyperref}
 \usepackage{footnotebackref} % to enable cross-ref of footnote
 \usepackage[all]{hypcap} % for going to the top of figure and table
+\usepackage{mfirstuc}[=v2.07] % v2.08 or later is not compatible with our
+                              % indexing macros
 \usepackage[acronym]{glossaries-extra}[2020/02/13]
 \usepackage[longragged]{glossaries-extra-stylemods}
 \usepackage{epigraph}[2020/01/02] % latest version prevents orphaned epigraph

base-commit: c2dc57ae109050a8a252278c73158292bb4b9512

Signature · 1 line
2.25.1