From 1c9455caf30309c8b8ba69afdc5a16a83d9f9a58 Mon Sep 17 00:00:00 2001
From: Norbert Preining <norbert@preining.info>
Date: Sat, 8 Aug 2020 03:01:09 +0000
Subject: CTAN sync 202008080301

---
 macros/latex/contrib/l3kernel/l3sort.dtx | 27 +++++----------------------
 1 file changed, 5 insertions(+), 22 deletions(-)

(limited to 'macros/latex/contrib/l3kernel/l3sort.dtx')

diff --git a/macros/latex/contrib/l3kernel/l3sort.dtx b/macros/latex/contrib/l3kernel/l3sort.dtx
index b84c2e298a..808d6214d0 100644
--- a/macros/latex/contrib/l3kernel/l3sort.dtx
+++ b/macros/latex/contrib/l3kernel/l3sort.dtx
@@ -43,7 +43,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2020-07-17}
+% \date{Released 2020-08-07}
 %
 % \maketitle
 %
@@ -112,7 +112,7 @@
 % \section{\pkg{l3sort} implementation}
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -271,12 +271,8 @@
 %   In \ConTeXt{} MkIV the range is from
 %   $|\c_syst_last_allocated_toks|+1$ to \cs{c_max_register_int}, and in
 %   MkII it is from $|\lastallocatedtoks|+1$ to \cs{c_max_register_int}.
-%   In all these cases, call \cs{@@_shrink_range:}.  The \LaTeX3 format
-%   mode is easiest: no \tn{toks} are ever allocated so available
-%   \tn{toks} range from $0$ to \cs{c_max_register_int} and we
-%   precompute the result of \cs{@@_shrink_range:}.
+%   In all these cases, call \cs{@@_shrink_range:}.
 %    \begin{macrocode}
-%<*package>
 \cs_new_protected:Npn \@@_compute_range:
   {
     \int_set:Nn \l_@@_min_int { \tex_count:D 15 + 1 }
@@ -322,17 +318,6 @@
           }
       }
   }
-%</package>
-%<*initex>
-\int_const:Nn \c_@@_max_length_int
-  { ( \c_max_register_int + 1 ) * 3 / 4 }
-\cs_new_protected:Npn \@@_compute_range:
-  {
-    \int_set:Nn \l_@@_min_int { 0 }
-    \int_set:Nn \l_@@_true_max_int { \c_max_register_int + 1 }
-    \int_set:Nn \l_@@_max_int { \c_@@_max_length_int }
-  }
-%</initex>
 %    \end{macrocode}
 % \end{variable}
 % \end{macro}
@@ -352,7 +337,7 @@
 %    \begin{macrocode}
 \cs_new_protected:Npn \@@_main:NNNn #1#2#3#4
   {
-%<package>    \@@_disable_toksdef:
+    \@@_disable_toksdef:
     \@@_compute_range:
     \int_set_eq:NN \l_@@_top_int \l_@@_min_int
     #1 #3
@@ -1036,7 +1021,6 @@
 %   \pkg{l3sort}.  In format mode, none of this is needed since there is
 %   no \tn{toks} allocator.
 %    \begin{macrocode}
-%<*package>
 \cs_new_protected:Npn \@@_disable_toksdef:
   { \cs_set_eq:NN \toksdef \@@_disabled_toksdef:n }
 \cs_new_protected:Npn \@@_disabled_toksdef:n #1
@@ -1054,7 +1038,6 @@
     \iow_char:N\\newtoks~
     or~a~similar~command.~The~list~will~not~be~sorted.
   }
-%</package>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -1103,7 +1086,7 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%</initex|package>
+%</package>
 %    \end{macrocode}
 %
 % \end{implementation}
-- 
cgit v1.2.3

