[latex3-commits] [latex3/latex2e] firstaid/chemformula: Add firstaid for chemformula (3c1e8ebd)

github at latex-project.org github at latex-project.org
Thu Feb 29 08:58:34 CET 2024


Repository : https://github.com/latex3/latex2e
On branch  : firstaid/chemformula
Link       : https://github.com/latex3/latex2e/commit/3c1e8ebd3077aec37c67e2ef075dc567288d7c1d

>---------------------------------------------------------------

commit 3c1e8ebd3077aec37c67e2ef075dc567288d7c1d
Author: Joseph Wright <joseph at texdev.net>
Date:   Thu Feb 29 07:58:34 2024 +0000

    Add firstaid for chemformula


>---------------------------------------------------------------

3c1e8ebd3077aec37c67e2ef075dc567288d7c1d
 required/firstaid/changes.txt                      |  5 +++++
 .../latex2e-first-aid-for-external-files.dtx       | 25 ++++++++++++++++++++--
 2 files changed, 28 insertions(+), 2 deletions(-)

diff --git a/required/firstaid/changes.txt b/required/firstaid/changes.txt
index 8db6a5d0..d43e6c19 100644
--- a/required/firstaid/changes.txt
+++ b/required/firstaid/changes.txt
@@ -1,3 +1,8 @@
+2024-02-29  Joseph Wright  <Joseph.Wright at latex-project.org>
+
+	* latex2e-first-aid-for-external-files.dtx: add firstaid for chemformula
+	to load l3keys2e
+
 2023-09-20  Ulrike Fischer  <Ulrike.Fischer at latex-project.org>
 
 	* latex2e-first-aid-for-external-files.dtx: add firstaid for underscore to 
diff --git a/required/firstaid/latex2e-first-aid-for-external-files.dtx b/required/firstaid/latex2e-first-aid-for-external-files.dtx
index ed6c898d..4936c37a 100644
--- a/required/firstaid/latex2e-first-aid-for-external-files.dtx
+++ b/required/firstaid/latex2e-first-aid-for-external-files.dtx
@@ -111,8 +111,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-\def\LaTeXFirstAidDate{2023/09/20}
-\def\LaTeXFirstAidVersion{v1.1b}
+\def\LaTeXFirstAidDate{2024/02/29}
+\def\LaTeXFirstAidVersion{v1.1c}
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -602,5 +602,26 @@
 %</kernel>
 %    \end{macrocode}
 %
+%    \begin{macrocode}
+%<*kernel>
+%    \end{macrocode}
+%
+% \subsection{The \pkg{chemformula} package first aid}
+%
+%    Package \pkg{chemformula} uses \pkg{l3keys2e} for option processing.
+%    This used to be made available as \pkg{chemformula} also loads
+%    \pkg{xfrac}, which loaded \pkg{l3keys2e}. However, \pkg{xfrac} has now
+%    been updated to use the newer kernel method if available, so loading
+%    \pkg{chemformula} fails.
+%    \begin{macrocode}
+\AddToHook{package/chemformula/before}[firstaid]{%
+  \RequirePackage{l3keys2e}%
+}
+%    \end{macrocode}
+%
+%    \begin{macrocode}
+%</kernel>
+%    \end{macrocode}
+%
 % \Finale
 %





More information about the latex3-commits mailing list.