diff --git a/base/changes.txt b/base/changes.txt index 6551c1c34..9048394e1 100644 --- a/base/changes.txt +++ b/base/changes.txt @@ -6,8 +6,15 @@ to completeness or accuracy and it contains some references to files that are not part of the distribution. ================================================================================ +2024-05-16 Yukai Chou + + * ltmarks.dtx, ltmeta.dtx, ltpara.dtx: + Drop temp fixing for footnotes in function and variable envs. + Supported by l3doc since l3kernel 2023-10-10 (latex3 gh/1266) + 2024-04-24 Yukai Chou - * lttextcomp.dtx + + * lttextcomp.dtx Load the 2018 version when rolling back prior to 2018-08-11 (gh/1333) Clean up \providecommand lines diff --git a/base/ltmarks.dtx b/base/ltmarks.dtx index dcfa2fcb2..e8a69d78d 100644 --- a/base/ltmarks.dtx +++ b/base/ltmarks.dtx @@ -17,21 +17,12 @@ %<*driver> % \fi \ProvidesFile{ltmarks.dtx} - [2024/02/11 v1.0e LaTeX Kernel (Marks)] + [2024/05/16 v1.0e LaTeX Kernel (Marks)] % \iffalse % \documentclass{l3doc} \GetFileInfo{ltmarks.dtx} -%\usepackage{ltmarks} - -% Fixing footnotes in functions and variables: this should be in l3doc! - -\newcommand\fixfootnote[2]{\footnotemark - \AddToHookNext{env/#1/after}{\footnotetext{#2}}} -\AddToHook{env/function/begin}{\def\footnote{\fixfootnote{function}}} -\AddToHook{env/variable/begin}{\def\footnote{\fixfootnote{variable}}} - \EnableCrossrefs \CodelineIndex \begin{document} diff --git a/base/ltmeta.dtx b/base/ltmeta.dtx index 1e4bdaed2..cc3e62811 100644 --- a/base/ltmeta.dtx +++ b/base/ltmeta.dtx @@ -16,19 +16,12 @@ %<*driver> % \fi \ProvidesFile{ltmeta.dtx} - [2024/02/11 v1.0b LaTeX Kernel (Document Metadata)] + [2024/05/16 v1.0b LaTeX Kernel (Document Metadata)] % \iffalse % \documentclass{l3doc} \GetFileInfo{ltmeta.dtx} -% Fixing footnotes in functions and variables: this should be in l3doc! - -\newcommand\fixfootnote[2]{\footnotemark - \AddToHookNext{env/#1/after}{\footnotetext{#2}}} -\AddToHook{env/function/begin}{\def\footnote{\fixfootnote{function}}} -\AddToHook{env/variable/begin}{\def\footnote{\fixfootnote{variable}}} - \EnableCrossrefs \CodelineIndex \begin{document} diff --git a/base/ltpara.dtx b/base/ltpara.dtx index e9741ff93..f102d68e0 100644 --- a/base/ltpara.dtx +++ b/base/ltpara.dtx @@ -17,21 +17,12 @@ %<*driver> % \fi \ProvidesFile{ltpara.dtx} - [2024/02/11 v1.0m LaTeX Kernel (paragraph hooks)] + [2024/05/16 v1.0m LaTeX Kernel (paragraph hooks)] % \iffalse % \documentclass{l3doc} \GetFileInfo{ltpara.dtx} -%\usepackage{ltpara} - -% Fixing footnotes in functions and variables: this should be in l3doc! - -\newcommand\fixfootnote[2]{\footnotemark - \AddToHookNext{env/#1/after}{\footnotetext{#2}}} -\AddToHook{env/function/begin}{\def\footnote{\fixfootnote{function}}} -\AddToHook{env/variable/begin}{\def\footnote{\fixfootnote{variable}}} - \EnableCrossrefs \CodelineIndex \begin{document} @@ -1265,7 +1256,7 @@ % redo the \cs{everypar} setting from the kernel, otherwise that % gets lost (as it happens before that file is loaded). % \begin{macrocode} -\everypar{\@nodocument} %% To get an error if text appears before the +\everypar{\@nodocument} %% To get an error if text appears before the \document % \end{macrocode} % %