From d2da7f5f40ade904cccb2e82630d15bd42520ff5 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 11 Feb 2020 22:09:42 +0000
Subject: dashundergaps (11feb20)

git-svn-id: svn://tug.org/texlive/trunk@53756 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty')

diff --git a/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty b/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
index 2d53571634f..29b36d13414 100644
--- a/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
+++ b/Master/texmf-dist/tex/latex/dashundergaps/dashundergaps.sty
@@ -34,8 +34,8 @@
 %% 
 %% File: dashundergaps.dtx (C) Copyright 2018-2020 Frank Mittelbach
 
-\def\dashundergapsdate   {2020-01-22}    % don't forget to also adjust build.lua!
-\def\dashundergapsversion{v2.0f}
+\def\dashundergapsdate   {2020-02-11}    % don't forget to also adjust build.lua!
+\def\dashundergapsversion{v2.0g}
 
 \RequirePackage[normalem]{ulem}
 \protected\def\dotuline{\leavevmode\bgroup
@@ -79,7 +79,10 @@
                     {\dashundergapsversion}
                     {Dashing and underlining phantom text}
 
-\DeclareDocumentCommand \gap { som } { \__fmdug_gap:nnn {#1}{#2}{#3} }
+\DeclareDocumentCommand \gap { som }
+   {
+     \protected@edef\next{#3}
+     \__fmdug_gap:nno {#1}{#2}{ \next } }
 \NewDocumentCommand \dashundergapssetup { m }
   { \keys_set:nn {fmdug} {#1} \ignorespaces }
 \DeclareDocumentCommand \TeacherModeOn  {}
@@ -259,6 +262,7 @@
                   { \l__fmdug_gapnum_format_tl }
   \group_end:
 }
+\cs_generate_variant:Nn \__fmdug_gap:nnn {nno}
 \cs_new:Npn \__fmdug_display_total_gaps: {
   \vfill \centering
   \bfseries Total~ Gaps:~ \thetotalgapnumber
-- 
cgit v1.2.3

