[latex3-commits] [latex3/latex3] main: A cleaner approach to suppressing l3bitset (219cf2294)
github at latex-project.org
github at latex-project.org
Mon Dec 11 11:30:52 CET 2023
Repository : https://github.com/latex3/latex3
On branch : main
Link : https://github.com/latex3/latex3/commit/219cf22944027eb2d24f0702a1ebe20299a2130f
>---------------------------------------------------------------
commit 219cf22944027eb2d24f0702a1ebe20299a2130f
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date: Mon Dec 11 10:30:27 2023 +0000
A cleaner approach to suppressing l3bitset
>---------------------------------------------------------------
219cf22944027eb2d24f0702a1ebe20299a2130f
l3kernel/CHANGELOG.md | 3 +++
l3kernel/l3.ins | 2 --
l3kernel/l3bitset.dtx | 24 +++++++++---------------
3 files changed, 12 insertions(+), 17 deletions(-)
diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 7f0a12b89..f3ac42762 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -7,6 +7,9 @@ this project uses date-based 'snapshot' version identifiers.
## [Unreleased]
+### Changed
+- Improved method to suppress `l3bitset` where required
+
## [2023-12-11]
### Fixed
diff --git a/l3kernel/l3.ins b/l3kernel/l3.ins
index 7f1d882f8..248017ba2 100644
--- a/l3kernel/l3.ins
+++ b/l3kernel/l3.ins
@@ -152,8 +152,6 @@ and all files in that bundle must be distributed together.
\generate{\file{l3names.def} {\from{l3names.dtx} {names}}}
-\generate{\file{l3bitset.sty} {\from{l3bitset.dtx} {stub}}}
-
% Lua code
\def\MetaPrefix{--}
diff --git a/l3kernel/l3bitset.dtx b/l3kernel/l3bitset.dtx
index 545d7c335..7f04ee065 100644
--- a/l3kernel/l3bitset.dtx
+++ b/l3kernel/l3bitset.dtx
@@ -270,6 +270,15 @@
%<@@=bitset>
% \end{macrocode}
%
+% Transitional support.
+% \begin{macrocode}
+\cs_if_exist:NT \@expl at finalise@setup@@@@
+ {
+ \tl_gput_right:Nn \@expl at finalise@setup@@@@
+ { \declare at file@substitution { l3bitset.sty } { null.tex } }
+ }
+% \end{macrocode}
+%
% A bitset is a string variable.
% \begin{macro}{\bitset_new:N, \bitset_new:c}
% \begin{macro}{\bitset_new:Nn, \bitset_new:cn}
@@ -589,21 +598,6 @@
%</package>
% \end{macrocode}
%
-% \subsection{Stub package}
-%
-% \begin{macrocode}
-%<*stub>
-% \end{macrocode}
-%
-% \begin{macrocode}
-\ProvidesExplPackage{l3bitset}{2023-12-11}{}
- {L3 Experimental bitset support}
-% \end{macrocode}
-%
-% \begin{macrocode}
-%</stub>
-% \end{macrocode}
-%
% \end{implementation}
%
% \PrintIndex
More information about the latex3-commits
mailing list.