[latex3-commits] [git/LaTeX3-latex3-latex2e] marks: skeleton (8ddb770d)
Frank Mittelbach
frank.mittelbach at latex-project.org
Sat Apr 2 09:12:06 CEST 2022
Repository : https://github.com/latex3/latex2e
On branch : marks
Link : https://github.com/latex3/latex2e/commit/8ddb770df2e0f754c616118a0a3cab1f081c2b1c
>---------------------------------------------------------------
commit 8ddb770df2e0f754c616118a0a3cab1f081c2b1c
Author: Frank Mittelbach <frank.mittelbach at latex-project.org>
Date: Sat Apr 2 09:12:06 2022 +0200
skeleton
>---------------------------------------------------------------
8ddb770df2e0f754c616118a0a3cab1f081c2b1c
base/build.lua | 2 +-
base/format.ins | 1 +
base/ltmarks.dtx | 121 ++++++++++++++++++++++++++++++++++++++++++++
base/ltmeta.dtx | 2 +-
base/manifest.txt | 1 +
base/update-ltmarks-test.sh | 8 +++
6 files changed, 133 insertions(+), 2 deletions(-)
diff --git a/base/build.lua b/base/build.lua
index 7be44e69..a64e914b 100644
--- a/base/build.lua
+++ b/base/build.lua
@@ -151,7 +151,7 @@ indexstyle = "source2e.ist"
-- Allow for TU and other test configurations
checkconfigs = {"build","config-1run","config-TU","config-legacy","config-lthooks",
- "config-lthooks2","config-ltcmd","config-doc"}
+ "config-lthooks2","config-ltcmd","config-doc","config-ltmarks"}
update_tag = update_tag_base
diff --git a/base/format.ins b/base/format.ins
index 88d33d3c..bb561b04 100644
--- a/base/format.ins
+++ b/base/format.ins
@@ -202,6 +202,7 @@ the system are in the document `cfgguide.tex'.
\from{ltfloat.dtx}{2ekernel}
\from{ltidxglo.dtx}{2ekernel}
\from{ltbibl.dtx}{2ekernel}
+ \from{ltmarks.dtx}{2ekernel} % L3 layer module
\from{ltpage.dtx}{2ekernel}
\from{ltclass.dtx}{2ekernel,tracerollback}
\from{ltkeys.dtx}{2ekernel} % L3 layer module
diff --git a/base/ltmarks.dtx b/base/ltmarks.dtx
new file mode 100644
index 00000000..2a7ea747
--- /dev/null
+++ b/base/ltmarks.dtx
@@ -0,0 +1,121 @@
+% \iffalse meta-comment
+%
+%% File: ltmarks.dtx (C) Copyright 2022
+% Frank Mittelbach, LaTeX Team
+%
+% It may be distributed and/or modified under the conditions of the
+% LaTeX Project Public License (LPPL), either version 1.3c of this
+% license or (at your option) any later version. The latest version
+% of this license is in the file
+%
+% https://www.latex-project.org/lppl.txt
+%
+%
+%%% From File: ltmarks.dtx
+%
+% \begin{macrocode}
+\def\ltmarksversion{v1.0a}
+\def\ltmarksdate{2022/04/02}
+% \end{macrocode}
+%<*driver>
+\documentclass{l3doc}
+
+%\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}
+ \DocInput{ltmarks.dtx}
+\end{document}
+%</driver>
+%
+% \fi
+%
+% \providecommand\hook[1]{\texttt{#1}}
+% \providecommand\env[1]{\texttt{#1}}
+%
+%
+%
+% \title{The \texttt{ltmarks.dtx} code\thanks{This file has version
+% \ltmarksversion\ dated \ltmarksdate, \copyright\ \LaTeX\
+% Project.}}
+% \author{Frank Mittelbach}
+%
+% \maketitle
+%
+%
+% \begin{abstract}
+% This code defines the marks interface.
+% \end{abstract}
+%
+% \tableofcontents
+%
+%
+% \section{Introduction}
+%
+%
+%
+%
+% \StopEventually{\setlength\IndexMin{200pt} \PrintIndex }
+%
+%
+% \section{The Implementation}
+%
+%
+%
+% \begin{macrocode}
+%<*2ekernel|latexrelease>
+% \end{macrocode}
+% Not needed yet but \ldots
+% \begin{macrocode}
+%\ExplSyntaxOn
+% \end{macrocode}
+%
+% \begin{macrocode}
+%<latexrelease>\NewModuleRelease{2022/06/01}{ltmarks}
+%<latexrelease> {Marks handling}
+% \end{macrocode}
+%
+% \begin{macrocode}
+% \end{macrocode}
+%
+%
+%
+%
+% \begin{macrocode}
+%
+%<latexrelease>\IncludeInRelease{0000/00/00}{ltmarks}%
+%<latexrelease> {Undo Marks handling}
+%<latexrelease>
+%<latexrelease>
+%<latexrelease>
+%<latexrelease>\EndModuleRelease
+% \end{macrocode}
+% Again for the future \ldots
+% \begin{macrocode}
+%\ExplSyntaxOff
+% \end{macrocode}
+% \begin{macrocode}
+%</2ekernel|latexrelease>
+% \end{macrocode}
+%
+% Restore module prefix (if any):
+% \begin{macrocode}
+%<@@=>
+% \end{macrocode}
+%
+%
+%
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\endinput
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
diff --git a/base/ltmeta.dtx b/base/ltmeta.dtx
index e1c296ae..edea7dfb 100644
--- a/base/ltmeta.dtx
+++ b/base/ltmeta.dtx
@@ -1,6 +1,6 @@
% \iffalse meta-comment
%
-%% File: ltmeta.dtx (C) Copyright 2021
+%% File: ltmeta.dtx (C) Copyright 2021, 2022
% Frank Mittelbach, LaTeX Team
%
% It may be distributed and/or modified under the conditions of the
diff --git a/base/manifest.txt b/base/manifest.txt
index b671200a..daebefee 100644
--- a/base/manifest.txt
+++ b/base/manifest.txt
@@ -140,6 +140,7 @@
% ltshipout.dtx -- Hook management for \shipout
% ltcmdhooks.dtx -- Hook management (generic) for commands
% ltpara.dtx -- Hook management for paragraphs
+% ltmarks.dtx -- Mark management
%
% Standard Classes:
% -----------------
diff --git a/base/update-ltmarks-test.sh b/base/update-ltmarks-test.sh
new file mode 100644
index 00000000..516e821c
--- /dev/null
+++ b/base/update-ltmarks-test.sh
@@ -0,0 +1,8 @@
+
+l3build save -cconfig-ltmarks \
+ ltmarks-000
+
+
+exit
+
+
More information about the latex3-commits
mailing list.