From bbbe8128e7ae9d816a221377dbf5ff3969bb203b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 30 Sep 2019 03:00:43 +0000 Subject: CTAN sync 201909300300 --- macros/latex/contrib/gatherenum/gatherenum.dtx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'macros/latex/contrib/gatherenum/gatherenum.dtx') diff --git a/macros/latex/contrib/gatherenum/gatherenum.dtx b/macros/latex/contrib/gatherenum/gatherenum.dtx index dec13ca1ab..8024754151 100644 --- a/macros/latex/contrib/gatherenum/gatherenum.dtx +++ b/macros/latex/contrib/gatherenum/gatherenum.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % vim: tw=80 spl=en % -%% File: gatherenum.dtx (C) Copyright 2016-2018 RIVAUD Julien +%% File: gatherenum.dtx (C) Copyright 2016-2019 RIVAUD Julien %% %% It may be distributed and/or modified under the conditions of the %% General Public License (GPL), either version 3 of this @@ -11,11 +11,11 @@ % The version of expl3 required is tested as early as possible, as % some really old versions do not define \ProvidesExplPackage. \NeedsTeXFormat{LaTeX2e}[1995/12/01] -\RequirePackage{expl3}[2016/01/19] +\RequirePackage{expl3}[2018/06/19] \def\ExplFileName{gatherenum} \def\ExplFileDescription{Crossover between align* and enumerate} -\def\ExplFileDate{2018/06/19} -\def\ExplFileVersion{1.7} +\def\ExplFileDate{2019/09/29} +\def\ExplFileVersion{1.8} % %<*driver> \documentclass[full]{l3doc} @@ -261,7 +261,7 @@ % boxed. % \begin{macrocode} \penalty \predisplaypenalty - \begin{gatherenum}[ + \gatherenum[ itemjoin=\skip_horizontal:n{1em plus 1fil}, #1, mode=boxed, @@ -279,11 +279,11 @@ % less strict on widows and clubs than normal. % \begin{macrocode} \clist_if_in:nnTF { #1 } { gathered } { - \end{gatherenum} + \endgatherenum \unskip \int_set_eq:NN \clubpenalty \interlinepenalty \int_set_eq:NN \widowpenalty \interlinepenalty - \par + \use:c{@ @ par}% avoid l3docstrip replacement of @ }{ \@@_save_endenumerate:w } -- cgit v1.2.3