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/l3experimental/l3galley.dtx | 53 +++---------------------
 1 file changed, 6 insertions(+), 47 deletions(-)

(limited to 'macros/latex/contrib/l3experimental/l3galley.dtx')

diff --git a/macros/latex/contrib/l3experimental/l3galley.dtx b/macros/latex/contrib/l3experimental/l3galley.dtx
index 7865c39b7f..8ed82bcce4 100644
--- a/macros/latex/contrib/l3experimental/l3galley.dtx
+++ b/macros/latex/contrib/l3experimental/l3galley.dtx
@@ -61,7 +61,7 @@
 %    }^^A
 % }
 %
-% \date{Released 2020-07-17}
+% \date{Released 2020-08-07}
 %
 % \maketitle
 %
@@ -678,7 +678,7 @@
 % level both of these need to be correctly saved.
 %
 %    \begin{macrocode}
-%<*initex|package>
+%<*package>
 %    \end{macrocode}
 %
 %    \begin{macrocode}
@@ -686,23 +686,8 @@
 %    \end{macrocode}
 %
 %    \begin{macrocode}
-%<*package>
-\ProvidesExplPackage{l3galley}{2020-07-17}{}
+\ProvidesExplPackage{l3galley}{2020-08-07}{}
   {L3 Experimental galley code}
-%</package>
-%    \end{macrocode}
-%
-% \subsection{Support items}
-%
-% Functions or settings which are needed by the galley but perhaps also
-% elsewhere.
-%
-% The default hyphenation character should be set and hyphenation should be
-% enabled.
-%    \begin{macrocode}
-%<*initex>
-\tex_defaulthyphenchar:D 45 \scan_stop:
-%</initex>
 %    \end{macrocode}
 %
 % \subsection{Scratch variables}
@@ -767,12 +752,7 @@
 %   The width of the current measure: the \enquote{running} setting can be
 %   inherited from \LaTeXe{}.
 %    \begin{macrocode}
-%<*initex>
-\dim_new:N \l_galley_text_width_dim
-%</initex>
-%<*package>
 \cs_new_eq:NN \l_galley_text_width_dim \linewidth
-%</package>
 %    \end{macrocode}
 % \end{variable}
 %
@@ -782,12 +762,7 @@
 %   width are one way to define the measure width. See also the text width,
 %   which is an alternative view (and should be in sync with this one!).
 %    \begin{macrocode}
-%<*initex>
-\dim_new:N \l_galley_total_left_margin_dim
-%</initex>
-%<*package>
 \cs_new_eq:NN \l_galley_total_left_margin_dim \@totalleftmargin
-%</package>
 \dim_new:N \l_galley_total_right_margin_dim
 %    \end{macrocode}
 % \end{variable}
@@ -1453,18 +1428,11 @@
 %   \LaTeXe{} \cs{@nodocument} is never removed from the register.
 %   This precaution is not be needed for a stand-alone format.
 %    \begin{macrocode}
-%<*initex>
-\tex_everypar:D % TEMP
-  {
-    \bool_if:NTF \g_@@_begin_level_bool
-      { \@@_start_paragraph_first: }
-      { \@@_start_paragraph_std: }
-  }
-%</initex>
-%<*package>
 \cs_undefine:N \everypar
 \newtoks \everypar
-\AtBeginDocument
+\cs_if_exist:NTF \AtBeginDocument
+  { \AtBeginDocument }
+  { \use:n }
   {
     \tex_everypar:D
       {
@@ -1474,7 +1442,6 @@
         \tex_the:D \everypar
       }
   }
-%</package>
 %    \end{macrocode}
 % \end{macro}
 %
@@ -2497,10 +2464,6 @@
 %
 % \subsection{\LaTeXe{} functions}
 %
-%    \begin{macrocode}
-%<*package>
-%    \end{macrocode}
-%
 % \begin{macro}{\clearpage}
 %   The \tn{clearpage} macro needs to place material into the correct
 %   structures rather than directly onto the main vertical list. Other
@@ -2653,10 +2616,6 @@
 %</package>
 %    \end{macrocode}
 %
-%    \begin{macrocode}
-%</initex|package>
-%    \end{macrocode}
-%
 % \end{implementation}
 %
 % \PrintIndex
-- 
cgit v1.2.3

