[latex3-commits] [git/LaTeX3-latex3-latex2e] OR-lab: more cleanup, more hooks (8edfae35)

Frank Mittelbach frank.mittelbach at latex-project.org
Mon Feb 28 01:13:03 CET 2022


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

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

commit 8edfae35271ea23e998b0921e38075ccfa73e32d
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date:   Mon Feb 28 01:13:03 2022 +0100

    more cleanup, more hooks


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

8edfae35271ea23e998b0921e38075ccfa73e32d
 required/latex-lab/latex-lab-footnotes.dtx         |  46 +++---
 required/latex-lab/testfiles-OR/footmisc-002.tlg   |   4 +
 required/latex-lab/testfiles-OR/footmisc-003.tlg   |   4 +
 required/latex-lab/testfiles-OR/footmisc-004.tlg   |   4 +
 required/latex-lab/testfiles-OR/footmisc-005.tlg   |   4 +
 required/latex-lab/testfiles-OR/footmisc-006.tlg   |   4 +
 .../testfiles-OR/footmisc-009-multiple.tlg         |   4 +
 .../testfiles-OR/footmisc-010-setspace.tlg         |   4 +
 .../latex-lab/testfiles-OR/footmisc-011-para.lvt   |   3 +-
 .../latex-lab/testfiles-OR/footmisc-011-para.tlg   | 181 ++++++++++++++++++++-
 required/latex-lab/testfiles-OR/tagging-001.tlg    |   4 +
 required/latex-lab/usage-of- at footnotetext.txt      |  23 +++
 required/latex-lab/usage-of- at makefntext.tex        |  74 +++++++++
 13 files changed, 327 insertions(+), 32 deletions(-)

diff --git a/required/latex-lab/latex-lab-footnotes.dtx b/required/latex-lab/latex-lab-footnotes.dtx
index 72249af0..947141f6 100644
--- a/required/latex-lab/latex-lab-footnotes.dtx
+++ b/required/latex-lab/latex-lab-footnotes.dtx
@@ -209,6 +209,8 @@
 \NewHook{fntext/before}
 \NewHook{fntext}
 \NewHook{fntext/para}
+\NewHook{fntext/begin}
+\NewHook{fntext/end}
 \NewHook{fntext/after}
 
 
@@ -220,6 +222,8 @@
   \LogHook{fntext/before}
   \LogHook{fntext}
   \LogHook{fntext/para}
+  \LogHook{fntext/begin}
+  \LogHook{fntext/end}
   \LogHook{fntext/after}
   \cs_gset_eq:NN \__fnote_debug_footnotetext: \prg_do_nothing:
   }
@@ -269,8 +273,8 @@
 %-------
     \color at begingroup
 %-------
-% fnpara wants to replace \@makefntext{...} (footmisc probably too ...)
-% needs handling!
+% fnpara wants to replace \@makefntext{...} and para and side option of footmisc etc too ...
+% so we make this a config point
 %-------
       \@footnotetext at processii       % config point
         {
@@ -280,14 +284,15 @@
           \@footnotetext at processiii  % config point
           \ignorespaces
 %-------
-% Maybe those better go inside \@makefntext or maybe not:
 % bibarts
 % fnbreak.sty
+    \UseHook{fntext/begin}
 %-------
           #1
 %-------
 % bibarts
 % fnbreak.sty
+    \UseHook{fntext/end}
 %-------
           \@footnotetext at processiv   % config point
         }
@@ -300,18 +305,17 @@
 %-------
 }
 
-% default for config point #1 arg
-\def\@footnotetext at process { \insert\footins }
+% default for config point (1 arg)
+\def\@footnotetext at process    { \insert\footins }
 
-% default for config point #1 arg
-\def\@footnotetext at processii {  % config point
-      \@makefntext
+% default for config point (1 arg)
+\def\@footnotetext at processii  { \@makefntext }
 }
 
-% default for config point 0 args
+% default for config point (0 args)
 \def\@footnotetext at processiii { \rule\z@\footnotesep }
 
-% default for config point 0 args
+% default for config point (0 args)
 \def\@footnotetext at processiv  { \@finalstrut\strutbox }
 
 
@@ -489,21 +493,17 @@
     {
       \tag_mc_end_push:
       \IfPackageLoadedTF{hyperref}{ \hypertarget{fn.\the\c at absfootnote}{} }{}
-      \tag_struct_begin:n
-          {
-            tag=FENote
-            ,label=fn.\the\c at absfootnote
-          }
-          \tag_struct_begin:n{tag=Lbl}
-          \tag_mc_begin:n{tag=Lbl}
-          #1
+      \tag_struct_begin:n { tag=FENote,label=fn.\the\c at absfootnote }
+        \tag_struct_begin:n { tag=Lbl }
+          \tag_mc_begin:n { tag=Lbl }
+            #1
           \tag_mc_end:
-          \tag_struct_end:
-          \tag_mc_begin:n{tag=FENote}
+        \tag_struct_end:
+        \tag_mc_begin:n{tag=FENote}
           #2
-          \tag_mc_end:
-          \tag_struct_end:
-          \tag_mc_begin_pop:n{}
+        \tag_mc_end:
+      \tag_struct_end:
+      \tag_mc_begin_pop:n{}
     }
     { #1 #2 }
 }
diff --git a/required/latex-lab/testfiles-OR/footmisc-002.tlg b/required/latex-lab/testfiles-OR/footmisc-002.tlg
index bcc7e7ef..d89f0c2a 100644
--- a/required/latex-lab/testfiles-OR/footmisc-002.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-002.tlg
@@ -71,6 +71,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-003.tlg b/required/latex-lab/testfiles-OR/footmisc-003.tlg
index 5f62b14b..e1daa6a9 100644
--- a/required/latex-lab/testfiles-OR/footmisc-003.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-003.tlg
@@ -71,6 +71,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-004.tlg b/required/latex-lab/testfiles-OR/footmisc-004.tlg
index 6b0da5e8..863c9349 100644
--- a/required/latex-lab/testfiles-OR/footmisc-004.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-004.tlg
@@ -71,6 +71,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-005.tlg b/required/latex-lab/testfiles-OR/footmisc-005.tlg
index b3991f09..4c34e67e 100644
--- a/required/latex-lab/testfiles-OR/footmisc-005.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-005.tlg
@@ -71,6 +71,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-006.tlg b/required/latex-lab/testfiles-OR/footmisc-006.tlg
index 6719a4b8..57ec0611 100644
--- a/required/latex-lab/testfiles-OR/footmisc-006.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-006.tlg
@@ -71,6 +71,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-009-multiple.tlg b/required/latex-lab/testfiles-OR/footmisc-009-multiple.tlg
index 6e905025..8b861edf 100644
--- a/required/latex-lab/testfiles-OR/footmisc-009-multiple.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-009-multiple.tlg
@@ -87,6 +87,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-010-setspace.tlg b/required/latex-lab/testfiles-OR/footmisc-010-setspace.tlg
index c2253b54..10670e19 100644
--- a/required/latex-lab/testfiles-OR/footmisc-010-setspace.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-010-setspace.tlg
@@ -99,6 +99,10 @@ l. ...Test\footnote{\lipsum[1][1-7]}
 >     setspace.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/testfiles-OR/footmisc-011-para.lvt b/required/latex-lab/testfiles-OR/footmisc-011-para.lvt
index 2dfd7407..6f9f99f5 100644
--- a/required/latex-lab/testfiles-OR/footmisc-011-para.lvt
+++ b/required/latex-lab/testfiles-OR/footmisc-011-para.lvt
@@ -1,3 +1,4 @@
+%\DocumentMetadata{testphase=phase-II}  % --- tagging is broken
 \DocumentMetadata{testphase=new-or}
 
 \documentclass{article}
@@ -14,7 +15,7 @@
 
 \START
 
-Test\footnote{A}\tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+Test\footnote{A}\footnote{\label{foo}B}\footnote[7]{C}
 
 
 \renewcommand\thefootnote{\fnsymbol{footnote}}
diff --git a/required/latex-lab/testfiles-OR/footmisc-011-para.tlg b/required/latex-lab/testfiles-OR/footmisc-011-para.tlg
index 880954cd..db94a2af 100644
--- a/required/latex-lab/testfiles-OR/footmisc-011-para.tlg
+++ b/required/latex-lab/testfiles-OR/footmisc-011-para.tlg
@@ -4,12 +4,12 @@ Don't change this file in any respect.
 ->.
 <argument> \@kernel at after@fnmark 
 l. ...Test\footnote{A}
-                     \tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+                     \footnote{\label{foo}B}\footnote[7]{C}
 > \@kernel at before@fnmark at end=macro:
 ->.
 <argument> \@kernel at before@fnmark at end 
 l. ...Test\footnote{A}
-                     \tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+                     \footnote{\label{foo}B}\footnote[7]{C}
 -> The hook 'fnmark/before':
 > The hook is empty.
 -> The hook 'fnmark/begin':
@@ -46,22 +46,22 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 ->\insert \footins .
 <argument> \@footnotetext at process 
 l. ...Test\footnote{A}
-                     \tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+                     \footnote{\label{foo}B}\footnote[7]{C}
 > \@footnotetext at processii=\long macro:
 #1->\setbox \FN at tempboxa \hbox {\@makefntext {#1}}\dp \FN at tempboxa \z@ \ht \FN at tempboxa \dimexpr \wd \FN at tempboxa *\footnotebaselineskip /\columnwidth \relax \box \FN at tempboxa .
 <argument> \@footnotetext at processii 
 l. ...Test\footnote{A}
-                     \tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+                     \footnote{\label{foo}B}\footnote[7]{C}
 > \@footnotetext at processiii=macro:
 ->.
 <argument> \@footnotetext at processiii 
 l. ...Test\footnote{A}
-                     \tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+                     \footnote{\label{foo}B}\footnote[7]{C}
 > \@footnotetext at processiv=macro:
 ->\strut \penalty -10\relax \hskip \footglue .
 <argument> \@footnotetext at processiv 
 l. ...Test\footnote{A}
-                     \tracingnone\footnote{\label{foo}B}\footnote[7]{C}
+                     \footnote{\label{foo}B}\footnote[7]{C}
 -> The hook 'fntext/before':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_saved_in_mc_bool \g__tag_in_mc_bool \bool_gset_false:N \g__tag_in_mc_bool }
@@ -77,6 +77,10 @@ l. ...Test\footnote{A}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
@@ -92,5 +96,166 @@ LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <8> on input line ....
 LaTeX Font Info:    External font `cmex10' loaded for size
 (Font)              <6> on input line ....
-[1
-]
+Completed box being shipped out [1]
+\vbox(633.0+0.0)x407.0
+.\hbox(0.0+0.0)x0.0
+..\kern -72.26999
+..\vbox(0.0+0.0)x0.0, glue set 72.26999fil
+...\kern -72.26999
+...\hbox(0.0+0.0)x0.0
+....\glue 0.0 plus 1.0fil minus 1.0fil
+...\glue 0.0 plus 1.0fil minus 1.0fil
+.\glue 16.0
+.\vbox(617.0+0.0)x345.0, shifted 62.0
+..\vbox(12.0+0.0)x345.0, glue set 12.0fil
+...\glue 0.0 plus 1.0fil
+...\pdfrunninglinkoff
+...\hbox(0.0+0.0)x345.0
+....\hbox(0.0+0.0)x345.0
+...\pdfrunninglinkon
+..\glue 25.0
+..\glue(\lineskip) 0.0
+..\vbox(550.0+0.0)x345.0, glue set 511.95633fil
+...\write-{}
+...\glue(\topskip) 1.85997
+...\hbox(8.14003+0.0)x345.0, glue set 297.87494fil
+....\hbox(0.0+0.0)x15.0
+....\OT1/cmr/m/n/10 T
+....\kern-0.83334
+....\OT1/cmr/m/n/10 e
+....\OT1/cmr/m/n/10 s
+....\OT1/cmr/m/n/10 t
+....\penalty 10000
+....\hbox(8.14003+0.0)x4.48613
+.....\mathon
+.....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
+......\OT1/cmr/m/n/7 1
+.....\mathoff
+....\penalty 10000
+....\hbox(8.14003+0.0)x4.48613
+.....\mathon
+.....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
+......\OT1/cmr/m/n/7 2
+.....\mathoff
+....\penalty 10000
+....\hbox(8.14003+0.0)x4.48613
+.....\mathon
+.....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
+......\OT1/cmr/m/n/7 7
+.....\mathoff
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue(\parskip) 0.0 plus 1.0
+...\glue(\parskip) 0.0
+...\glue(\baselineskip) 3.51115
+...\hbox(8.48885+0.0)x345.0, glue set 279.29333fil
+....\hbox(0.0+0.0)x15.0
+....\OT1/cmr/m/n/10 T
+....\kern-0.83334
+....\OT1/cmr/m/n/10 e
+....\OT1/cmr/m/n/10 s
+....\OT1/cmr/m/n/10 t
+....\penalty 10000
+....\hbox(8.48885+0.0)x4.05469
+.....\mathon
+.....\hbox(4.85992+1.36078)x4.05469, shifted -3.62892
+......\TS1/cmr/m/n/7 ^^85
+.....\mathoff
+....\glue 3.33333 plus 1.66666 minus 1.11111
+....\OT1/cmr/m/n/10 a
+....\OT1/cmr/m/n/10 n
+....\OT1/cmr/m/n/10 d
+....\penalty 10000
+....\hbox(8.48885+0.0)x4.05469
+.....\mathon
+.....\hbox(4.85992+1.36078)x4.05469, shifted -3.62892
+......\TS1/cmr/m/n/7 ^^a7
+.....\mathoff
+....\penalty 10000
+....\hbox(8.14003+0.0)x4.48613
+.....\mathon
+.....\hbox(4.51111+0.0)x4.48613, shifted -3.62892
+......\OT1/cmr/m/n/7 2
+......\hbox(0.0+0.0)x0.0
+.....\mathoff
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue 0.0 plus 1.0fil
+...\glue 9.0 plus 4.0 minus 2.0
+...\kern -3.0
+...\rule(0.4+0.0)x137.9979
+...\kern 2.6
+...\hbox(6.98898+2.85002)x345.0, glue set 197.70667fil
+....\hbox(6.65+0.0)x0.0
+.....\rule(6.65+0.0)x0.0
+....\hbox(6.68999+0.0)x15.30023, glue set 11.13362fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(6.68999+0.0)x4.16661
+......\mathon
+......\hbox(3.86665+0.0)x4.16661, shifted -2.82333
+.......\OT1/cmr/m/n/6 1
+......\mathoff
+....\OT1/cmr/m/n/8 A
+....\rule(6.64996+2.85002)x0.0
+....\penalty -10
+....\glue 10.00002 plus 3.00003 minus 3.00003
+....\hbox(6.68999+0.0)x15.30023, glue set 11.13362fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(6.68999+0.0)x4.16661
+......\mathon
+......\hbox(3.86665+0.0)x4.16661, shifted -2.82333
+.......\OT1/cmr/m/n/6 2
+......\mathoff
+....\write1{\newlabel{foo}{{2}{\thepage }}}
+....\OT1/cmr/m/n/8 B
+....\rule(6.64996+2.85002)x0.0
+....\penalty -10
+....\glue 10.00002 plus 3.00003 minus 3.00003
+....\hbox(6.68999+0.0)x15.30023, glue set 11.13362fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(6.68999+0.0)x4.16661
+......\mathon
+......\hbox(3.86665+0.0)x4.16661, shifted -2.82333
+.......\OT1/cmr/m/n/6 7
+......\mathoff
+....\OT1/cmr/m/n/8 C
+....\rule(6.64996+2.85002)x0.0
+....\penalty -10
+....\glue 10.00002 plus 3.00003 minus 3.00003
+....\hbox(6.98898+0.0)x15.30023, glue set 11.52327fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(6.98898+0.0)x3.77696
+......\mathon
+......\hbox(4.16565+1.16638)x3.77696, shifted -2.82333
+.......\TS1/cmr/m/n/6 ^^85
+......\mathoff
+....\OT1/cmr/m/n/8 D
+....\rule(6.64996+2.85002)x0.0
+....\penalty -10
+....\glue 10.00002 plus 3.00003 minus 3.00003
+....\hbox(6.98898+0.0)x15.30023, glue set 11.52327fil
+.....\glue 0.0 plus 1.0fil minus 1.0fil
+.....\hbox(6.98898+0.0)x3.77696
+......\mathon
+......\hbox(4.16565+1.16638)x3.77696, shifted -2.82333
+.......\TS1/cmr/m/n/6 ^^a7
+......\mathoff
+....\OT1/cmr/m/n/8 E
+....\rule(6.64996+2.85002)x0.0
+....\penalty -10
+....\penalty 10000
+....\glue(\parfillskip) 0.0 plus 1.0fil
+....\glue(\rightskip) 0.0
+...\glue -2.85002
+...\glue 0.0 plus 0.0001fil
+..\pdfrunninglinkoff
+..\glue(\baselineskip) 23.55556
+..\hbox(6.44444+0.0)x345.0
+...\hbox(6.44444+0.0)x345.0, glue set 170.0fil
+....\glue 0.0 plus 1.0fil
+....\OT1/cmr/m/n/10 1
+....\glue 0.0 plus 1.0fil
+..\pdfrunninglinkon
+.\kern 0.0
diff --git a/required/latex-lab/testfiles-OR/tagging-001.tlg b/required/latex-lab/testfiles-OR/tagging-001.tlg
index 70aec471..0a25a087 100644
--- a/required/latex-lab/testfiles-OR/tagging-001.tlg
+++ b/required/latex-lab/testfiles-OR/tagging-001.tlg
@@ -77,6 +77,10 @@ l. ...abc \footnote{blub}
 > The hook is empty.
 -> The hook 'fntext/para':
 > The hook is empty.
+-> The hook 'fntext/begin':
+> The hook is empty.
+-> The hook 'fntext/end':
+> The hook is empty.
 -> The hook 'fntext/after':
 > Code chunks:
 >     latex-lab-testphase-new-or -> \cs_if_exist:NT \tag_struct_begin:n {\bool_gset_eq:NN \g__tag_in_mc_bool \g__tag_saved_in_mc_bool }
diff --git a/required/latex-lab/usage-of- at footnotetext.txt b/required/latex-lab/usage-of- at footnotetext.txt
index 6ca443bc..48a31728 100644
--- a/required/latex-lab/usage-of- at footnotetext.txt
+++ b/required/latex-lab/usage-of- at footnotetext.txt
@@ -693,15 +693,25 @@ fits the structure
 
 same bug as footmisc: the @prepare is in the wrong place
 
+fits the structure
+%-------------------------------------
+
+
 
 % ./tabu/tabu.sty
 
 not checked what that does
 
+
+%-------------------------------------
+
+
 % ./uwthesis/uwthesis.cls
 
 does chapter notes -- ignore for now
 
+%-------------------------------------
+
 
 % ./tools/multicol.sty
 
@@ -710,6 +720,12 @@ does chapter notes -- ignore for now
          \orig at footnotetext{#1}\endgroup}
 
 
+fits the structure, but need to think what makes sense here as this a
+temporary redefinition for the environment only
+
+%-------------------------------------
+
+
 % ./fancyvrb/fancyvrb.sty
 
 \long\def\V at footnotetext{%
@@ -735,10 +751,17 @@ does chapter notes -- ignore for now
 \def\V@@@footnotetext{\strut\egroup}
 
 
+another one of the footnote commands that do not read they argument as an argument
+
+%-------------------------------------
+
+
 % ./savefnmark/savefnmark.sty
 
 obsolete
 
+%-------------------------------------
+
 
 % ./changebar/changebar.sty
 
diff --git a/required/latex-lab/usage-of- at makefntext.tex b/required/latex-lab/usage-of- at makefntext.tex
new file mode 100644
index 00000000..5f0cdc01
--- /dev/null
+++ b/required/latex-lab/usage-of- at makefntext.tex
@@ -0,0 +1,74 @@
+
+% ./footmisc/footmisc.sty
+
+% latex def (used with para option)
+
+\newcommand\@makefntext[1]{%
+    \parindent 1em%
+    \noindent
+    \hb at xt@1.8em{\hss\@makefnmark}#1}
+
+
+  \long\def\@makefntext#1{%
+    \ifFN at hangfoot
+      \bgroup
+      \setbox\@tempboxa\hbox{%
+        \ifdim\footnotemargin>0pt
+          \hb at xt@\footnotemargin{\@makefnmark\hss}%
+        \else
+          \@makefnmark
+        \fi
+      }%
+      \leftmargin\wd\@tempboxa
+      \rightmargin\z@
+      \linewidth \columnwidth
+      \advance \linewidth -\leftmargin
+      \parshape \@ne \leftmargin \linewidth
+      \footnotesize
+      \@setpar{{\@@par}}%
+      \leavevmode
+      \llap{\box\@tempboxa}%
+      \parskip\hangfootparskip\relax
+      \parindent\hangfootparindent\relax
+    \else
+      \parindent1em
+      \noindent
+      \ifdim\footnotemargin>\z@
+        \hb at xt@ \footnotemargin{\hss\@makefnmark}%
+      \else
+        \ifdim\footnotemargin=\z@
+          \llap{\@makefnmark}%
+        \else
+          \llap{\hb at xt@ -\footnotemargin{\@makefnmark\hss}}%
+        \fi
+      \fi
+    \fi
+    \footnotelayout#1%
+    \ifFN at hangfoot
+      \par\egroup
+    \fi
+  }
+
+
+
+
+  
+
+
+
+
+% ./paper/paper.cls
+
+\if at noind
+  \long\def\@makefntext#1{%
+        \leftskip 2.0em%
+        \noindent
+        \hbox to 0em{\hss\@makefnmark\kern 0.25em}#1}
+\else
+  \long\def\@makefntext#1{%
+      \parindent 1em%
+      \noindent
+      \hbox to 1.8em{\hss\@makefnmark\kern 0.25em}#1}
+\fi
+
+





More information about the latex3-commits mailing list.