From f06750c2b66723ca874952c7fbc19aba79f5200d Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Thu, 19 Dec 2019 22:46:21 +0000 Subject: omit caption label separator when caption is empty, tex4ht r643 git-svn-id: svn://tug.org/texlive/trunk@53190 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/generic/tex4ht/report.4ht | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/report.4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/report.4ht b/Master/texmf-dist/tex/generic/tex4ht/report.4ht index 360aa8b0159..64d4b913fca 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/report.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/report.4ht @@ -1,7 +1,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% report.4ht 2018-10-20-15:45 % +% report.4ht 2019-12-19-14:27 % % Copyright (C) 1997-2009 Eitan M. Gurari % -% Copyright 2009-2018 TeX Users Group +% Copyright 2009-2019 TeX Users Group % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either @@ -71,8 +71,8 @@ \NewConfigure{caption}[4]{\c:def\cptA:{#1}\c:def\cptB:{#2}% \c:def\cptC:{#3}\c:def\cptD:{#4}} \long\def\@makecaption#1#2{% - {\cptA: \cap:ref{#1}% -\cptB:}{\cptC:{#2}\cptD:}} +{\cptA: \cap:ref{#1}% +\if :#1:\else\cptB:\fi}{\cptC:{#2}\cptD:}} \pend:def\caption{\SkipRefstepAnchor} -- cgit v1.2.3