summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hvfloat
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-11-01 21:59:47 +0000
committerKarl Berry <karl@freefriends.org>2020-11-01 21:59:47 +0000
commit0c35ebb18dd6a1161f9729a13d8a39b519ede917 (patch)
tree7262620bcba1a753d916905395a75d910590d33c /Master/texmf-dist/tex/latex/hvfloat
parentdad1e0dd90f33c4da46a6ac7485b25112eb07429 (diff)
hvfloat (1nov20)
git-svn-id: svn://tug.org/texlive/trunk@56834 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hvfloat')
-rw-r--r--Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty2
-rw-r--r--Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty32
2 files changed, 23 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty b/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty
index 6fff6b4323e..99b7cbfbab6 100644
--- a/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty
+++ b/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty
@@ -1,4 +1,4 @@
-%% $Id: hvfloat-fps.sty 1031 2019-04-03 20:40:25Z herbert $
+%% $Id: hvfloat-fps.sty 35 2020-10-31 07:41:00Z herbert $
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{hvfloat-fps}[2017/09/16 setting float objects]
diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
index 7eda015ab85..622c1fba502 100644
--- a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
+++ b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
@@ -1,7 +1,5 @@
-%% $Id: hvfloat.sty 1054 2019-05-13 08:20:11Z herbert $
+%% $Id: hvfloat.sty 36 2020-10-31 08:22:30Z herbert $
%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{hvfloat}[2019/05/13 rotating of floating objects]
%%
%% IMPORTANT NOTICE:
%%
@@ -16,10 +14,12 @@
%% DESCRIPTION:
%% `hvfloat' offers rotating of captions and objects for floats
%%
-\def\fileversion{2.15}
-\def\filedate{2019/08/31}
+\NeedsTeXFormat{LaTeX2e}
+\def\fileversion{2.17}
+\def\filedate{2020/10/31}
\message{`hvfloat' v\fileversion, \filedate\space (Herbert Voss)}
-\let\hvFileVersion\fileversion
+\ProvidesPackage{hvfloat}[\filedate\ rotating of floating objects]
+\let\hvFloatFileVersion\fileversion
%
\newif\ifhv@fbox \hv@fboxfalse
\newif\ifhv@hyperref \hv@hyperreffalse
@@ -480,16 +480,28 @@
\ifhv@onlyText\hv@longCap
\else
\ifx\hv@floatType\hv@figure
- \ifx\relax\hv@shortCap\relax \figcaption{\hv@longCap}\else\figcaption[\hv@shortCap]{\hv@longCap}\fi
+ \ifx\relax\hv@shortCap\relax
+ \figcaption{\hv@longCap\expandafter\label\expandafter{\hv@label}}%
+ \else
+ \figcaption[\hv@shortCap]{\hv@longCap\expandafter\label\expandafter{\hv@label}}%
+ \fi
\else
- \ifx\relax\hv@shortCap\relax \tabcaption{\hv@longCap}\else\tabcaption[\hv@shortCap]{\hv@longCap}\fi
+ \ifx\relax\hv@shortCap\relax
+ \tabcaption{\hv@longCap\expandafter\label\expandafter{\hv@label}}%
+ \else
+ \tabcaption[\hv@shortCap]{\hv@longCap\expandafter\label\expandafter{\hv@label}}%
+ \fi
\fi
\fi
\else
\let\@captype\hv@floatType
- \expandafter\ifx\expandafter\relax\hv@shortCap\relax \caption{\hv@longCap}\else\caption[\hv@shortCap]{\hv@longCap}\fi
+ \expandafter\ifx\expandafter\relax\hv@shortCap\relax
+ \caption{\hv@longCap\expandafter\label\expandafter{\hv@label}}%
+ \else
+ \caption[\hv@shortCap]{\hv@longCap\expandafter\label\expandafter{\hv@label}}%
+ \fi
\fi
- \expandafter\label\expandafter{\hv@label}%
+% \expandafter\label\expandafter{\hv@label}% 2.17 put label into the caption argument
\end{minipage}%
}%
\else