texlive[53501] Master/texmf-dist: dashundergaps (22jan20)

commits+karl at tug.org commits+karl at tug.org
Thu Jan 23 18:53:38 CET 2020


Revision: 53501
          http://tug.org/svn/texlive?view=revision&revision=53501
Author:   karl
Date:     2020-01-23 18:53:38 +0100 (Thu, 23 Jan 2020)
Log Message:
-----------
dashundergaps (22jan20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/dashundergaps/README.md
    trunk/Master/texmf-dist/doc/latex/dashundergaps/changes.txt
    trunk/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps-code.pdf
    trunk/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps-doc.pdf
    trunk/Master/texmf-dist/doc/latex/dashundergaps/l3doc-TUB.cls
    trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.dtx
    trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.ins
    trunk/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty

Modified: trunk/Master/texmf-dist/doc/latex/dashundergaps/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dashundergaps/README.md	2020-01-23 17:53:22 UTC (rev 53500)
+++ trunk/Master/texmf-dist/doc/latex/dashundergaps/README.md	2020-01-23 17:53:38 UTC (rev 53501)
@@ -12,11 +12,11 @@
 
 https://github.com/FrankMittelbach/fmitex/
 
-The license is LPPL.
+The license is LPPL 1.3c.
 
 -----
 
-Copyright (C) 2018 Frank Mittelbach<br />
+Copyright (C) 2018-2020 Frank Mittelbach<br />
 <https://latex-project.org/> <br />
 All rights reserved.
 

Modified: trunk/Master/texmf-dist/doc/latex/dashundergaps/changes.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dashundergaps/changes.txt	2020-01-23 17:53:22 UTC (rev 53500)
+++ trunk/Master/texmf-dist/doc/latex/dashundergaps/changes.txt	2020-01-23 17:53:38 UTC (rev 53501)
@@ -1,3 +1,16 @@
+2020-01-22  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* dashundergaps.dtx (subsection{Loading and fixing/changing \pkg{ulem}}):
+	Adjusted definition to new ulem release
+
+	* Some release cleanup.
+
+2019-07-14  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
+
+	* dashundergaps.dtx (subsection{The main implementation part}):
+	As the code doesn't run with expl3 versions prior to mid 2018, we
+	check against that (github/7).
+
 2018-11-09  Frank Mittelbach  <Frank.Mittelbach at latex-project.org>
 
 	* dashundergaps.dtx v2.0d

Modified: trunk/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps-code.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/dashundergaps/dashundergaps-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/dashundergaps/l3doc-TUB.cls
===================================================================
--- trunk/Master/texmf-dist/doc/latex/dashundergaps/l3doc-TUB.cls	2020-01-23 17:53:22 UTC (rev 53500)
+++ trunk/Master/texmf-dist/doc/latex/dashundergaps/l3doc-TUB.cls	2020-01-23 17:53:38 UTC (rev 53501)
@@ -891,7 +891,7 @@
     \tl_greplace_all:Nno \g__codedoc_base_name_tl
       { ~ } { \c_catcode_other_space_tl }
     \seq_get:NN #1 \l__codedoc_tmpa_tl
-    \str_if_eq_x:nnTF { \l__codedoc_tmpa_tl } { \scan_stop: }
+    \str_if_eq:eeTF { \l__codedoc_tmpa_tl } { \scan_stop: }
       {
         \seq_gclear:N \g__codedoc_variants_seq
         \__codedoc_names_typeset_auxii:x { \g__codedoc_base_name_tl }
@@ -954,7 +954,7 @@
         #1
           {
             \l__codedoc_tmpa_tl
-            \str_if_eq_x:nnF { \l__codedoc_tmpb_tl } { \scan_stop: }
+            \str_if_eq:eeF { \l__codedoc_tmpb_tl } { \scan_stop: }
               { : \l__codedoc_tmpb_tl }
             \bool_if:NT \l__codedoc_macro_TF_bool { TF }
           }
@@ -2098,7 +2098,7 @@
           \tl_if_empty:nTF {#3}
             { { } { } { } }
             {
-              \str_if_eq_x:nnTF {#3} { TeX }
+              \str_if_eq:eeTF {#3} { TeX }
                 {
                   { TeX~and~LaTeX2e }
                   { \string\TeX{}~and~\string\LaTeXe{} }

Modified: trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.dtx	2020-01-23 17:53:22 UTC (rev 53500)
+++ trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.dtx	2020-01-23 17:53:38 UTC (rev 53501)
@@ -1,6 +1,6 @@
 % \iffalse meta-comment
 %
-%% File: dashundergaps.dtx (C) Copyright 2018 Frank Mittelbach
+%% File: dashundergaps.dtx (C) Copyright 2018-2020 Frank Mittelbach
 %
 % It may be distributed and/or modified under the conditions of the
 % LaTeX Project Public License (LPPL), either version 1.3c of this
@@ -17,8 +17,8 @@
 % for those people who are interested or want to report an issue.
 %
 
-\def\dashundergapsdate   {2018/11/18}
-\def\dashundergapsversion{v2.0d}
+\def\dashundergapsdate   {2020-01-22}    % don't forget to also adjust build.lua!
+\def\dashundergapsversion{v2.0f}
 
 %<*driver>
 \let\fmipagebreak\pagebreak
@@ -29,7 +29,6 @@
     [final]
     {l3doc-TUB}
 
-
 \setcounter{page}{1}       
 
 % fix for _TF undefined,
@@ -533,19 +532,20 @@
 %
 %  \begin{macro}{\dotuline}
 %     The dots produced by \cs{dotuline} depend on the current font,
-%     which is a somewhat questionable design\Dash if you underline a text %part
+%     which is a somewhat questionable design\Dash if you underline a text
 %     with a single bold word somewhere inside it will change the
 %     shape of the dot line. So we  always use the \cs{normalfont}
 %     dot (this is not done in the original definition).
+% \changes{v2.0f}{2020/01/22}{Adjusted definition to new ulem release}
 %    \begin{macrocode}
-\def\dotuline{\bgroup
+\protected\def\dotuline{\leavevmode\bgroup
   \UL at setULdepth
+  \ifx\UL at on\UL at onin \advance\ULdepth2\p@\fi
   \markoverwith{\begingroup
-     \advance\ULdepth0.08ex
+%     \advance\ULdepth0.08ex
      \lower\ULdepth\hbox{\normalfont \kern.1em .\kern.04em}%
      \endgroup}%
   \ULon}
-\MakeRobust\dotuline
 %    \end{macrocode}
 %  \end{macro}
 %
@@ -556,12 +556,12 @@
 %     the lowering. We change that to be based on the current
 %     value of \cs{ULdepth} so that the user (or this package here)
 %     can change the placement.
+% \changes{v2.0f}{2020/01/22}{Adjusted definition to new ulem release}
 %    \begin{macrocode}
-\def\uwave{\bgroup
+\protected\def\uwave{\leavevmode\bgroup
   \UL at setULdepth
   \advance\ULdepth 0.6\p@
   \markoverwith{\lower\ULdepth\hbox{\sixly \char58}}\ULon}
-\MakeRobust\uwave
 %    \end{macrocode}
 %  \end{macro}
 %
@@ -635,6 +635,24 @@
 \RequirePackage{xparse,l3keys2e}
 %    \end{macrocode}
 %
+%    As the code uses some functions from \pkg{expl3} that got
+%    introduced sometime in 2018 we need to require a fairly recent
+%    version (the date is somewhat arbitrarily picked).
+%    \begin{macrocode}
+\@ifpackagelater{expl3}{2018-06-24}
+  {}
+  {%
+    \PackageError{dashundergaps}{Support package l3kernel too old}
+      {%
+        Please install an up to date version of l3kernel\MessageBreak
+        using your TeX package manager or from CTAN.\MessageBreak
+        \MessageBreak
+        Loading dashundergaps will abort!%
+      }%
+    \endinput
+  }
+%    \end{macrocode}
+%    
 % Here we introduce the package and specify its version number:
 %    \begin{macrocode}
 \ProvidesExplPackage{dashundergaps}
@@ -698,7 +716,6 @@
 %    number of gaps, it makes little sense to modify it at the
 %    document level. However, there may be use cases even for that and
 %    more importantly, by making it a user-level counter it is
-%\fmipagebreak
 %    possible to refer to the total number of gaps easily, e.g., via
 %    \cs{thetotalgapnumber}.
 % ^^A\makeatletter\@endparpenalty=10000\makeatother
@@ -1050,7 +1067,7 @@
 %    package via \cs{usepackage}.
 %    \begin{macrocode}
 \ProcessKeysPackageOptions{fmdug}
-%<*package>
+%</package>
 %    \end{macrocode}
 %
 % \Finale

Modified: trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.ins
===================================================================
--- trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.ins	2020-01-23 17:53:22 UTC (rev 53500)
+++ trunk/Master/texmf-dist/source/latex/dashundergaps/dashundergaps.ins	2020-01-23 17:53:38 UTC (rev 53501)
@@ -3,7 +3,7 @@
 %% driver files from the dtx file(s) in this package when run through
 %% LaTeX or TeX.
 %%
-%% Copyright 2018 Frank Mittelbach
+%% Copyright 2018-2020 Frank Mittelbach
 %% 
 %% 
 %% This file is part of the dashundergaps Bundle for LaTeX.
@@ -15,7 +15,7 @@
 %% The latest version of this license is in
 %%    http://www.latex-project.org/lppl.txt
 %% and version 1.3c or later is part of all distributions of LaTeX 
-%% version 2005/12/01 or later.
+%% version 2008 or later.
 %% 
 %% In particular, NO PERMISSION is granted to modify the contents of this
 %% file since it contains the legal notices that are placed in the files
@@ -35,7 +35,7 @@
 
 This is a generated file.
 
-Copyright 2018 Frank Mittelbach
+Copyright 2018-2020 Frank Mittelbach
 
 This file was generated from file(s) of the LaTeX `dashundergaps Bundle'.
 --------------------------------------------------------------------------

Modified: trunk/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty	2020-01-23 17:53:22 UTC (rev 53500)
+++ trunk/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty	2020-01-23 17:53:38 UTC (rev 53501)
@@ -8,7 +8,7 @@
 %% 
 %% This is a generated file.
 %% 
-%% Copyright 2018 Frank Mittelbach
+%% Copyright 2018-2020 Frank Mittelbach
 %% 
 %% This file was generated from file(s) of the LaTeX `dashundergaps Bundle'.
 %% --------------------------------------------------------------------------
@@ -32,25 +32,23 @@
 %% where one can also log issues in case there are any.
 %% 
 %% 
-%% File: dashundergaps.dtx (C) Copyright 2018 Frank Mittelbach
+%% File: dashundergaps.dtx (C) Copyright 2018-2020 Frank Mittelbach
 
-\def\dashundergapsdate   {2018/11/18}
-\def\dashundergapsversion{v2.0d}
+\def\dashundergapsdate   {2020-01-22}    % don't forget to also adjust build.lua!
+\def\dashundergapsversion{v2.0f}
 
 \RequirePackage[normalem]{ulem}
-\def\dotuline{\bgroup
+\protected\def\dotuline{\leavevmode\bgroup
   \UL at setULdepth
+  \ifx\UL at on\UL at onin \advance\ULdepth2\p@\fi
   \markoverwith{\begingroup
-     \advance\ULdepth0.08ex
      \lower\ULdepth\hbox{\normalfont \kern.1em .\kern.04em}%
      \endgroup}%
   \ULon}
-\MakeRobust\dotuline
-\def\uwave{\bgroup
+\protected\def\uwave{\leavevmode\bgroup
   \UL at setULdepth
   \advance\ULdepth 0.6\p@
   \markoverwith{\lower\ULdepth\hbox{\sixly \char58}}\ULon}
-\MakeRobust\uwave
 \def\fmdug at ublank{\bgroup\let\UL at leadtype\@empty\ULon}
 \def\UL at dischyp{\global\setbox\UL at hyphenbox\hbox
    {\ifnum \hyphenchar\font<\z@ \string-\else \char\hyphenchar\font \fi}%
@@ -64,6 +62,18 @@
 \let\fmdug at box\box
 
 \RequirePackage{xparse,l3keys2e}
+\@ifpackagelater{expl3}{2018-06-24}
+  {}
+  {%
+    \PackageError{dashundergaps}{Support package l3kernel too old}
+      {%
+        Please install an up to date version of l3kernel\MessageBreak
+        using your TeX package manager or from CTAN.\MessageBreak
+        \MessageBreak
+        Loading dashundergaps will abort!%
+      }%
+    \endinput
+  }
 \ProvidesExplPackage{dashundergaps}
                     {\dashundergapsdate}
                     {\dashundergapsversion}



More information about the tex-live-commits mailing list