summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2022-11-07 20:27:37 +0000
committerKarl Berry <karl@freefriends.org>2022-11-07 20:27:37 +0000
commit3ccaeff068707d25c90eef386293f34f24ede69c (patch)
tree93512afe1a3449a56b7f983a4c75a257fc454335
parent20a53801727e99b2b3b53c8ff85837ee10a36ec7 (diff)
hvfloat (7nov22)
git-svn-id: svn://tug.org/texlive/trunk@64963 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/doc/latex/hvfloat/Changes1
-rw-r--r--Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdfbin5040712 -> 5044788 bytes
-rw-r--r--Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty20
3 files changed, 16 insertions, 5 deletions
diff --git a/Master/texmf-dist/doc/latex/hvfloat/Changes b/Master/texmf-dist/doc/latex/hvfloat/Changes
index eb0e9277b81..2987bc5ebbf 100644
--- a/Master/texmf-dist/doc/latex/hvfloat/Changes
+++ b/Master/texmf-dist/doc/latex/hvfloat/Changes
@@ -1,4 +1,5 @@
hvfloat.sty:
+2.43 2022-11-07 - fix for empty caption: don't use \caption
2.42 2022-10-02 - fix for twoColumnCaption and multi(sub)floats
2.41 2022-09-01 - another fix full page floats without pagenumber and
without using package floatpag
diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
index 69b0e9a1a51..49c502e55e8 100644
--- a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
+++ b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
Binary files differ
diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
index 2d2765308ef..b22e5f01985 100644
--- a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
+++ b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
@@ -1,4 +1,4 @@
-%% $Id: hvfloat.sty 617 2022-10-02 14:25:10Z herbert $
+%% $Id: hvfloat.sty 651 2022-11-07 07:04:33Z herbert $
%%
%%
%% IMPORTANT NOTICE:
@@ -16,8 +16,8 @@
%% `hvfloat' offers rotating of captions and objects for floats
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{2.42}
-\def\filedate{2022/10/02}
+\def\fileversion{2.43}
+\def\filedate{2022/11/07}
\ProvidesPackage{hvfloat}[\filedate\space v\fileversion\space special floating objects (hv)]
\let\hvFloatFileVersion\fileversion
%
@@ -676,7 +676,7 @@
\savebox\hvCaptionBox{% NO rotation
\minipage[b]{\hvCapWidth}%% minipage, to get hyphenation
% \ifx\relax\hv@caption@format\relax\else\expandafter\captionsetup\expandafter{\hv@caption@format}\fi
- \ifhv@nonFloat
+ \ifhv@nonFloat
\ifhv@onlyText
\hv@longCap
\else
@@ -698,10 +698,12 @@
\ifhv@onlyText
\hv@longCap
\else
+ \expandafter\ifx\hv@longCap\@empty \else
\let\@captype\hv@floatType
\ifx\hv@shortCap\@empty\caption{\hv@longCap}\else\caption[\hv@shortCap]{\hv@longCap}\fi
\ifx\hv@label\@empty\else\label{\hv@label}\fi
\fi
+ \fi
\fi
\endminipage
}% end CaptionBox without rotation
@@ -721,6 +723,7 @@
\fi
\fi
\else
+ \expandafter\ifx\hv@longCap\@empty \else
\ifhv@onlyText
\hv@longCap
\else
@@ -729,6 +732,7 @@
\fi
\fi
\fi
+ \fi
\ifx\hv@label\@empty\else\label{\hv@label}\fi
\endminipage
}% rotatebox
@@ -1982,9 +1986,15 @@
\else
\edef\@captype{\hv@floatType}%
\expandafter\ifx\expandafter\relax\hv@shortCap\relax
- \caption{\hv@longCap}%
+ \expandafter\ifx\hv@longCap\@empty \else % empty caption?
+ \caption{\hv@longCap}%
+ \fi
\else
+ \expandafter\ifx\hv@longCap\@empty
+ \caption[\hv@shortCap]{}%
+ \else
\caption[\hv@shortCap]{\hv@longCap}%
+ \fi
\fi
\fi
\ifx\hv@label\@empty\else\label{\hv@label-cap}\fi