[latex3-commits] [git/LaTeX3-latex3-latex3] drop-xparse: Drop loading xparse by our own packages (88e7c45f8)

Joseph Wright joseph.wright at morningstar2.co.uk
Thu Feb 4 13:54:53 CET 2021


Repository : https://github.com/latex3/latex3
On branch  : drop-xparse
Link       : https://github.com/latex3/latex3/commit/88e7c45f84d4aedfc9faeb6944d1d70245dd002d

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

commit 88e7c45f84d4aedfc9faeb6944d1d70245dd002d
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Thu Feb 4 12:42:54 2021 +0000

    Drop loading xparse by our own packages


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

88e7c45f84d4aedfc9faeb6944d1d70245dd002d
 l3experimental/xcoffins/xcoffins.dtx |  3 ---
 l3experimental/xgalley/xgalley.dtx   |  5 +----
 l3kernel/l3doc.dtx                   |  2 +-
 l3packages/xfp/testfiles/xfp000.tlg  |  4 +---
 l3packages/xfp/xfp.dtx               |  1 -
 l3trial/l3htoks/l3htoks.dtx          |  4 ----
 l3trial/l3ldb/l3ldb.dtx              |  2 +-
 l3trial/l3ldb/l3ldbparse.dtx         |  4 ++--
 l3trial/xbox/xbox.dtx                | 11 ++++-------
 l3trial/xfont/xfss.dtx               |  1 -
 10 files changed, 10 insertions(+), 27 deletions(-)

diff --git a/l3experimental/xcoffins/xcoffins.dtx b/l3experimental/xcoffins/xcoffins.dtx
index 8106487df..730eb174c 100644
--- a/l3experimental/xcoffins/xcoffins.dtx
+++ b/l3experimental/xcoffins/xcoffins.dtx
@@ -22,9 +22,6 @@
 %
 % for those people who are interested.
 %
-%<*driver|package>
-\RequirePackage{xparse}
-%</driver|package>
 %<*driver>
 \documentclass[full]{l3doc}
 \usepackage{xcoffins} % Not yet part of expl3, so not in l3doc
diff --git a/l3experimental/xgalley/xgalley.dtx b/l3experimental/xgalley/xgalley.dtx
index a12bc47e2..c9d544ba8 100644
--- a/l3experimental/xgalley/xgalley.dtx
+++ b/l3experimental/xgalley/xgalley.dtx
@@ -23,9 +23,6 @@
 %
 % for those people who are interested.
 %
-%<*driver|package>
-\RequirePackage{xparse}
-%</driver|package>
 %<*driver>
 \documentclass[full]{l3doc}
 \begin{document}
@@ -736,7 +733,7 @@
 %    \begin{macrocode}
 \ProvidesExplPackage{xgalley}{2020-01-29}{}
   {L3 Experimental galley}
-\RequirePackage{xparse,xtemplate,l3galley}
+\RequirePackage{xtemplate,l3galley}
 %    \end{macrocode}
 %
 % \subsection{Variables}
diff --git a/l3kernel/l3doc.dtx b/l3kernel/l3doc.dtx
index 397e6f38b..e38112b24 100644
--- a/l3kernel/l3doc.dtx
+++ b/l3kernel/l3doc.dtx
@@ -57,7 +57,7 @@ and all files in that bundle must be distributed together.
 %</driver>
 %
 %<*driver|class>
-\RequirePackage{expl3,xparse,calc}
+\RequirePackage{expl3,calc}
 %</driver|class>
 %
 %<*driver>
diff --git a/l3packages/xfp/testfiles/xfp000.tlg b/l3packages/xfp/testfiles/xfp000.tlg
index 884cc8b56..5e5f99cad 100644
--- a/l3packages/xfp/testfiles/xfp000.tlg
+++ b/l3packages/xfp/testfiles/xfp000.tlg
@@ -1,8 +1,6 @@
 This is a generated file for the LaTeX (2e + expl3) validation system.
 Don't change this file in any respect.
 Author: Bruno Le Floch
-(xfp.sty (xparse.sty
-Package: xparse ....-..-.. L3 Experimental document command parser
-)
+(xfp.sty
 Package: xfp ....-..-.. L3 Floating point unit
 )
diff --git a/l3packages/xfp/xfp.dtx b/l3packages/xfp/xfp.dtx
index 7a86c6378..fdebc6ca4 100644
--- a/l3packages/xfp/xfp.dtx
+++ b/l3packages/xfp/xfp.dtx
@@ -38,7 +38,6 @@
 %<package>      }%
 %<package>    \endinput
 %<package>  }
-%<package>\RequirePackage{xparse}
 %</driver|package>
 %<*driver>
 \documentclass[full]{l3doc}
diff --git a/l3trial/l3htoks/l3htoks.dtx b/l3trial/l3htoks/l3htoks.dtx
index e3e017499..9f2bfa656 100644
--- a/l3trial/l3htoks/l3htoks.dtx
+++ b/l3trial/l3htoks/l3htoks.dtx
@@ -1197,10 +1197,6 @@
 %
 % \subsection{Reimplementing document-level functions}
 %
-%    \begin{macrocode}
-\RequirePackage{xparse}
-%    \end{macrocode}
-%
 % \begin{macro}{\hspace}
 %   We reimplement here \LaTeXe{}'s \tn{hspace} macro.
 %    \begin{macrocode}
diff --git a/l3trial/l3ldb/l3ldb.dtx b/l3trial/l3ldb/l3ldb.dtx
index a7a3588e1..819e25533 100644
--- a/l3trial/l3ldb/l3ldb.dtx
+++ b/l3trial/l3ldb/l3ldb.dtx
@@ -39,7 +39,7 @@
 %</driver|package>
 %<*driver>
 \documentclass[full]{l3doc}
-\usepackage{textcomp,xparse}
+\usepackage{textcomp}
 % \usepackage{xlists,xlists-samples}
 % \usepackage{ldcdoc}
 \begin{document}
diff --git a/l3trial/l3ldb/l3ldbparse.dtx b/l3trial/l3ldb/l3ldbparse.dtx
index 3de4a7e7e..a2cec64e5 100644
--- a/l3trial/l3ldb/l3ldbparse.dtx
+++ b/l3trial/l3ldb/l3ldbparse.dtx
@@ -39,8 +39,8 @@
 %</driver|package>
 %<*driver>
 \documentclass[full]{l3doc}
-\usepackage{textcomp,xparse}
-% \usepackage{xparse,xlists,xlists-samples}
+\usepackage{textcomp}
+% \usepackage{xlists,xlists-samples}
 % \usepackage{ldcdoc}
 \begin{document}
   \DocInput{l3ldbparse.dtx}
diff --git a/l3trial/xbox/xbox.dtx b/l3trial/xbox/xbox.dtx
index ad84362fe..ff3f02f47 100644
--- a/l3trial/xbox/xbox.dtx
+++ b/l3trial/xbox/xbox.dtx
@@ -22,9 +22,6 @@
 %
 % for those people who are interested.
 %
-%<*driver|package>
-\RequirePackage{xparse}
-%</driver|package>
 %<*driver>
 \documentclass[full]{l3doc}
 \begin{document}
@@ -53,7 +50,7 @@
 % \begin{documentation}
 %
 % This experimental module explores how to re-implement core \LaTeXe{}
-% box constructs using \pkg{xparse} and \pkg{expl3} coding. As such, it provides
+% box constructs using \pkg{ltcmd} and \pkg{expl3} coding. As such, it provides
 % as far as possible the \LaTeXe{} \textsc{api} (except where explicitly
 % noted). Other than separation of layers, there is no significant new
 % functionality here
@@ -554,7 +551,7 @@
 %   is aligned within the box to the left, center or right as appropriate.
 % \end{function}
 %
-% \subsection{Possible additions to \pkg{xparse}}
+% \subsection{Possible additions to \pkg{ltcmd}}
 %
 % \begin{function}{\CoordsToLengths}
 %   \begin{syntax}
@@ -1377,7 +1374,7 @@
 % \end{macro}
 %
 % \begin{environment}{minipage}
-%   The environment form of \cs{parbox}: we get to show off \pkg{xparse}'s
+%   The environment form of \cs{parbox}: we get to show off \pkg{ltcmd}'s
 %   ability to use arguments at the end of an environment.
 %    \begin{macrocode}
 \RenewDocumentEnvironment { minipage } { O { c } o O {#1} m }
@@ -1465,7 +1462,7 @@
 %   This is the same idea as for \cs{makebox} but saved in a coffin.
 %   Does that mean we should have some more \enquote{complete} code-level
 %   functionality here? Alternatively, one could consider using the
-%   \verb*|makebox code| function defined by \pkg{xparse} inside the coffin
+%   \verb*|makebox code| function defined by \pkg{ltcmd} inside the coffin
 %   setting. Question: should the syntax processing (\cs{IFNoValueTF} test)
 %   take place inside or outside of the coffin setting stage?
 %    \begin{macrocode}
diff --git a/l3trial/xfont/xfss.dtx b/l3trial/xfont/xfss.dtx
index 973476461..5673d8fbf 100644
--- a/l3trial/xfont/xfss.dtx
+++ b/l3trial/xfont/xfss.dtx
@@ -153,7 +153,6 @@
 %    \begin{macrocode}
 \ProvidesExplPackage{xfss}{2018-04-30}{}
   {L3 Experimental font selection}
-\RequirePackage{xparse}
 \RequirePackage{l3font}
 
 \bool_new:N \g_fss_undeclare_nfss_bool





More information about the latex3-commits mailing list.