[latex3-commits] [git/LaTeX3-latex3-latex3] skip: Remove \skip_split_finite_else_action:nnNN (1fa77b9)

Joseph Wright joseph.wright at morningstar2.co.uk
Tue Feb 26 22:55:52 CET 2019


Repository : https://github.com/latex3/latex3
On branch  : skip
Link       : https://github.com/latex3/latex3/commit/1fa77b9ef9d116c4eb3c99a9c055a6b884e65d3a

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

commit 1fa77b9ef9d116c4eb3c99a9c055a6b884e65d3a
Author: Joseph Wright <joseph.wright at morningstar2.co.uk>
Date:   Tue Feb 26 21:55:52 2019 +0000

    Remove \skip_split_finite_else_action:nnNN


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

1fa77b9ef9d116c4eb3c99a9c055a6b884e65d3a
 l3kernel/CHANGELOG.md                   |    1 +
 l3kernel/l3candidates.dtx               |   42 -------------------------------
 l3kernel/testfiles/m3expl001.luatex.tlg |    1 -
 l3kernel/testfiles/m3expl001.ptex.tlg   |    1 -
 l3kernel/testfiles/m3expl001.tlg        |    1 -
 l3kernel/testfiles/m3expl001.uptex.tlg  |    1 -
 l3kernel/testfiles/m3expl001.xetex.tlg  |    1 -
 l3kernel/testfiles/m3expl003.luatex.tlg |    1 -
 l3kernel/testfiles/m3expl003.ptex.tlg   |    1 -
 l3kernel/testfiles/m3expl003.tlg        |    1 -
 l3kernel/testfiles/m3expl003.uptex.tlg  |    1 -
 l3kernel/testfiles/m3expl003.xetex.tlg  |    1 -
 12 files changed, 1 insertion(+), 52 deletions(-)

diff --git a/l3kernel/CHANGELOG.md b/l3kernel/CHANGELOG.md
index 72370dd..d28697f 100644
--- a/l3kernel/CHANGELOG.md
+++ b/l3kernel/CHANGELOG.md
@@ -21,6 +21,7 @@ this project uses date-based 'snapshot' version identifiers.
 
 ### Removed
 
+- Experimental `\skip_split_finite_else_action:nnNN`
 - Experimental `\tl_reverse_tokens:n`
 
 ## [2019-02-15]
diff --git a/l3kernel/l3candidates.dtx b/l3kernel/l3candidates.dtx
index c21da00..2fdc0a1 100644
--- a/l3kernel/l3candidates.dtx
+++ b/l3kernel/l3candidates.dtx
@@ -819,20 +819,6 @@
 %   input stream according to the sign of the result.
 % \end{function}
 %
-% \begin{function}{\skip_split_finite_else_action:nnNN}
-%   \begin{syntax}
-%     \cs{skip_split_finite_else_action:nnNN} \Arg{skipexpr} \Arg{action}
-%     ~~\meta{dimen_1} \meta{dimen_2}
-%   \end{syntax}
-%   Checks if the \meta{skipexpr} contains finite glue. If it does then it
-%   assigns
-%   \meta{dimen_1} the stretch component and \meta{dimen_2} the shrink
-%   component. If
-%   it contains infinite glue set \meta{dimen_1} and \meta{dimen_2} to $0$\,pt
-%   and place |#2| into the input stream: this is usually an error or
-%   warning message of some sort.
-% \end{function}
-%
 % \section{Additions to \pkg{l3sys}}
 %
 % \begin{function}[noTF, added = 2019-01-16, updated = 2019-02-16]
@@ -2288,34 +2274,6 @@
 %    \end{macrocode}
 % \end{macro}
 %
-%    \begin{macrocode}
-%<@@=skip>
-%    \end{macrocode}
-%
-% \begin{macro}{\skip_split_finite_else_action:nnNN}
-%   This macro is useful when performing error checking in certain
-%   circumstances. If the \meta{skip} register holds finite glue it sets
-%   |#3| and |#4| to the stretch and shrink component, resp. If it holds
-%   infinite glue set |#3| and |#4| to zero and issue the special action
-%   |#2| which is probably an error message.
-%   Assignments are local.
-%    \begin{macrocode}
-\cs_new:Npn \skip_split_finite_else_action:nnNN #1#2#3#4
-  {
-    \skip_if_finite:nTF {#1}
-      {
-        #3 = \tex_gluestretch:D #1 \scan_stop:
-        #4 = \tex_glueshrink:D  #1 \scan_stop:
-      }
-      {
-        #3 = \c_zero_skip
-        #4 = \c_zero_skip
-        #2
-      }
-  }
-%    \end{macrocode}
-% \end{macro}
-%
 % \subsection{Additions to \pkg{l3sys}}
 %
 %    \begin{macrocode}
diff --git a/l3kernel/testfiles/m3expl001.luatex.tlg b/l3kernel/testfiles/m3expl001.luatex.tlg
index 2c29c58..8db4134 100644
--- a/l3kernel/testfiles/m3expl001.luatex.tlg
+++ b/l3kernel/testfiles/m3expl001.luatex.tlg
@@ -6042,7 +6042,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.ptex.tlg b/l3kernel/testfiles/m3expl001.ptex.tlg
index 5db63c2..cad6e1c 100644
--- a/l3kernel/testfiles/m3expl001.ptex.tlg
+++ b/l3kernel/testfiles/m3expl001.ptex.tlg
@@ -6075,7 +6075,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.tlg b/l3kernel/testfiles/m3expl001.tlg
index 4b43c45..cdb871c 100644
--- a/l3kernel/testfiles/m3expl001.tlg
+++ b/l3kernel/testfiles/m3expl001.tlg
@@ -6075,7 +6075,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.uptex.tlg b/l3kernel/testfiles/m3expl001.uptex.tlg
index dde2dc0..1718073 100644
--- a/l3kernel/testfiles/m3expl001.uptex.tlg
+++ b/l3kernel/testfiles/m3expl001.uptex.tlg
@@ -6072,7 +6072,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl001.xetex.tlg b/l3kernel/testfiles/m3expl001.xetex.tlg
index ebab8d8..73f7e6a 100644
--- a/l3kernel/testfiles/m3expl001.xetex.tlg
+++ b/l3kernel/testfiles/m3expl001.xetex.tlg
@@ -6045,7 +6045,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.luatex.tlg b/l3kernel/testfiles/m3expl003.luatex.tlg
index 2c29c58..8db4134 100644
--- a/l3kernel/testfiles/m3expl003.luatex.tlg
+++ b/l3kernel/testfiles/m3expl003.luatex.tlg
@@ -6042,7 +6042,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.ptex.tlg b/l3kernel/testfiles/m3expl003.ptex.tlg
index 5db63c2..cad6e1c 100644
--- a/l3kernel/testfiles/m3expl003.ptex.tlg
+++ b/l3kernel/testfiles/m3expl003.ptex.tlg
@@ -6075,7 +6075,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.tlg b/l3kernel/testfiles/m3expl003.tlg
index 4b43c45..cdb871c 100644
--- a/l3kernel/testfiles/m3expl003.tlg
+++ b/l3kernel/testfiles/m3expl003.tlg
@@ -6075,7 +6075,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.uptex.tlg b/l3kernel/testfiles/m3expl003.uptex.tlg
index dde2dc0..1718073 100644
--- a/l3kernel/testfiles/m3expl003.uptex.tlg
+++ b/l3kernel/testfiles/m3expl003.uptex.tlg
@@ -6072,7 +6072,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...
diff --git a/l3kernel/testfiles/m3expl003.xetex.tlg b/l3kernel/testfiles/m3expl003.xetex.tlg
index ebab8d8..73f7e6a 100644
--- a/l3kernel/testfiles/m3expl003.xetex.tlg
+++ b/l3kernel/testfiles/m3expl003.xetex.tlg
@@ -6045,7 +6045,6 @@ Defining \__seq_indexed_map:NN on line ...
 Defining \__seq_indexed_map:Nw on line ...
 Defining \dim_sign:n on line ...
 Defining \__dim_sign:Nw on line ...
-Defining \skip_split_finite_else_action:nnNN on line ...
 Defining \c_sys_engine_version_str on line ...
 Defining \sys_rand_seed: on line ...
 Defining \sys_gset_rand_seed:n on line ...





More information about the latex3-commits mailing list