[latex3-commits] [git/LaTeX3-latex3-latex2e] OR-lab: load OR code only if this has been done before (5b92a8e7)

Ulrike Fischer fischer at troubleshooting-tex.de
Sun Feb 6 11:54:03 CET 2022


Repository : https://github.com/latex3/latex2e
On branch  : OR-lab
Link       : https://github.com/latex3/latex2e/commit/5b92a8e7c9878719fe30612a35f864507d0686bb

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

commit 5b92a8e7c9878719fe30612a35f864507d0686bb
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Sun Feb 6 11:54:03 2022 +0100

    load OR code only if this has been done before


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

5b92a8e7c9878719fe30612a35f864507d0686bb
 required/latex-lab/latex-lab-new-or.dtx | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/required/latex-lab/latex-lab-new-or.dtx b/required/latex-lab/latex-lab-new-or.dtx
index 4cd0a2b2..8d5689a2 100644
--- a/required/latex-lab/latex-lab-new-or.dtx
+++ b/required/latex-lab/latex-lab-new-or.dtx
@@ -571,9 +571,11 @@
 \DeclareOption{multiple}{\FN at multiplefootnotetrue}
 \ProcessOptions
 %    \end{macrocode}
-%    Here we insert the new OR code and replace what \pkg{footmisc} has.
+%    Here we insert the new OR code if it hasn't been loaded before
+%    and replace what \pkg{footmisc} has. (needs perhaps another test).
 %    \begin{macrocode}
-\input{latex-lab-new-or.ltx}
+\@ifundefined{@kernel at before@cclv}
+  {\input{latex-lab-new-or.ltx}}{}
 %    \end{macrocode}
 %
 %    \begin{macrocode}





More information about the latex3-commits mailing list.