[latex3-commits] [latex3/latex2e] UF-latex-lab-refadaption: document need of +0 (890f4230)

github at latex-project.org github at latex-project.org
Thu Sep 26 10:22:09 CEST 2024


Repository : https://github.com/latex3/latex2e
On branch  : UF-latex-lab-refadaption
Link       : https://github.com/latex3/latex2e/commit/890f42305985a85e4d9f921e251df7df2d0ff886

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

commit 890f42305985a85e4d9f921e251df7df2d0ff886
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date:   Thu Sep 26 10:22:09 2024 +0200

    document need of +0


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

890f42305985a85e4d9f921e251df7df2d0ff886
 required/latex-lab/latex-lab-footnotes.dtx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/required/latex-lab/latex-lab-footnotes.dtx b/required/latex-lab/latex-lab-footnotes.dtx
index 23deb5ff..341fa3f1 100644
--- a/required/latex-lab/latex-lab-footnotes.dtx
+++ b/required/latex-lab/latex-lab-footnotes.dtx
@@ -1985,6 +1985,10 @@
         \tag_struct_begin:n 
           { 
             tag=footnote,
+%    \end{macrocode}
+% We add 0 for now to ensure to get a number even if the sec code is not loaded
+% or if the seq is empty (which it shouldn't unless there is an coding error) 
+%    \begin{macrocode}
             parent=\int_max:nn{2}{\tag_get:n{current_Sect}+0} 
           }
       }  





More information about the latex3-commits mailing list.