[PATCH -perfbook] Stick to mfirstuc v2.07

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

Link: [1] http://mirrors.ctan.org/macros/latex/contrib/mfirstuc/mfirstuc-manual.html
Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx>
---
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(+)

diff --git a/perfbook-lt.tex b/perfbook-lt.tex
index 9cde2e4d42e5..80e36084ed3b 100644
--- a/perfbook-lt.tex
+++ b/perfbook-lt.tex
@@ -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
-- 
2.25.1





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux