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/aa.4ht | 50 ++++++++++++----------------- 1 file changed, 21 insertions(+), 29 deletions(-) (limited to 'Master/texmf-dist/tex/generic/tex4ht/aa.4ht') diff --git a/Master/texmf-dist/tex/generic/tex4ht/aa.4ht b/Master/texmf-dist/tex/generic/tex4ht/aa.4ht index 62f3c86004d..f85506ccce8 100644 --- a/Master/texmf-dist/tex/generic/tex4ht/aa.4ht +++ b/Master/texmf-dist/tex/generic/tex4ht/aa.4ht @@ -1,31 +1,23 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% aa.4ht 2009-05-21-09:32 % -% Copyright (C) 1999--2009 Eitan M. Gurari % -% % -% This work may be distributed and/or modified under the % -% conditions of the LaTeX Project Public License, either % -% version 1.3c of this license or (at your option) any % -% later version. 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. % -% % -% This work has the LPPL maintenance status "maintained".% -% % -% This Current Maintainer of this work % -% is Eitan M. Gurari. % -% % -% If you modify this program your changing its signature % -% with a directive of the following form will be % -% appreciated. % -% \message{signature} % -% % -% gurari@cse.ohio-state.edu % -% http://www.cse.ohio-state.edu/~gurari % -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\immediate\write-1{version 2009-05-21-09:32} - +% aa.4ht 2019-12-19-14:27 % +% Copyright (C) 1999-2009 Eitan M. Gurari % +% Copyright 2009-2019 TeX Users Group +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any +% later version. 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. +% +% This work has the LPPL maintenance status "maintained". +% +% The Current Maintainer of this work +% is the TeX4ht Project . +% +% If you modify this program, changing the +% version identification would be appreciated. \onecolumn \Configure{UndefinedSec}{likepart} @@ -173,8 +165,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:}} -- cgit v1.2.3