texlive[56834] Master/texmf-dist: hvfloat (1nov20)

commits+karl at tug.org commits+karl at tug.org
Sun Nov 1 22:59:47 CET 2020


Revision: 56834
          http://tug.org/svn/texlive?view=revision&revision=56834
Author:   karl
Date:     2020-11-01 22:59:47 +0100 (Sun, 01 Nov 2020)
Log Message:
-----------
hvfloat (1nov20)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/hvfloat/Changes
    trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
    trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex
    trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty
    trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvfloat/Changes	2020-11-01 21:59:26 UTC (rev 56833)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/Changes	2020-11-01 21:59:47 UTC (rev 56834)
@@ -1,4 +1,5 @@
 hvfloat.sty:    
+2.17  2020-10-31  - fix for label setting of non floating objects
 2.16  2019-08-31  - fix for \hvFloat* and full page images
 2.15  2019-05-13  - added optional arguments capFormat and subcapFormat
                     which will pass the key values to \caption or

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex	2020-11-01 21:59:26 UTC (rev 56833)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex	2020-11-01 21:59:47 UTC (rev 56834)
@@ -1,4 +1,4 @@
-%% $Id: hvfloat.tex 1072 2019-06-09 14:14:19Z herbert $
+%% $Id: hvfloat.tex 35 2020-10-31 07:41:00Z herbert $
 \listfiles
 \errorcontextlines=100
 \documentclass[twoside,paper=a4]{scrartcl}
@@ -155,7 +155,7 @@
 
 
 \begin{document}
-\title{Package \texttt{hvfloat}\\Rotating and scaling of objects and captions\\ver \hvFileVersion}
+\title{Package \texttt{hvfloat}\\Rotating and scaling of objects and captions\\ver \hvFloatFileVersion}
 \author{Herbert Voß\thanks{\protect\url{hvoss at tug.org}}}
 \date{\today}
 \maketitle
@@ -2546,7 +2546,7 @@
 
 %\setDefaults
 \hvFloat[FULLPAGE]{figure}%
-  {\includegraphics[FULLPAGE]{images/frose}}%
+  {\includegraphics[FULLPAGE]{tiger}}%
   [A float which needs the complete paper width and height.]%
   {A Caption of a ``fullpage'' object, which follows on the next page. 
    This can be an even or odd page. The object uses the complete paper dimensions}%

Modified: trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty	2020-11-01 21:59:26 UTC (rev 56833)
+++ trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat-fps.sty	2020-11-01 21:59:47 UTC (rev 56834)
@@ -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]

Modified: trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty	2020-11-01 21:59:26 UTC (rev 56833)
+++ trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty	2020-11-01 21:59:47 UTC (rev 56834)
@@ -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 at fbox \hv at fboxfalse
 \newif\ifhv at hyperref \hv at hyperreffalse
@@ -480,16 +480,28 @@
 	  \ifhv at onlyText\hv at longCap
   	  \else
 	    \ifx\hv at floatType\hv at figure
-	      \ifx\relax\hv at shortCap\relax \figcaption{\hv at longCap}\else\figcaption[\hv at shortCap]{\hv at longCap}\fi
+	      \ifx\relax\hv at shortCap\relax 
+	        \figcaption{\hv at longCap\expandafter\label\expandafter{\hv at label}}%
+	      \else
+	        \figcaption[\hv at shortCap]{\hv at longCap\expandafter\label\expandafter{\hv at label}}%
+	      \fi
 	    \else
-	      \ifx\relax\hv at shortCap\relax \tabcaption{\hv at longCap}\else\tabcaption[\hv at shortCap]{\hv at longCap}\fi
+	      \ifx\relax\hv at shortCap\relax 
+	        \tabcaption{\hv at longCap\expandafter\label\expandafter{\hv at label}}%
+	      \else
+	        \tabcaption[\hv at shortCap]{\hv at longCap\expandafter\label\expandafter{\hv at label}}%
+	      \fi
 	    \fi
 	  \fi
 	\else
           \let\@captype\hv at floatType
-          \expandafter\ifx\expandafter\relax\hv at shortCap\relax \caption{\hv at longCap}\else\caption[\hv at shortCap]{\hv at longCap}\fi
+          \expandafter\ifx\expandafter\relax\hv at shortCap\relax 
+            \caption{\hv at longCap\expandafter\label\expandafter{\hv at label}}%
+          \else
+            \caption[\hv at shortCap]{\hv at longCap\expandafter\label\expandafter{\hv at label}}%
+          \fi
 	\fi
-	\expandafter\label\expandafter{\hv at label}%
+%	\expandafter\label\expandafter{\hv at label}%   2.17 put label into the caption argument
       \end{minipage}%
     }%
   \else



More information about the tex-live-commits mailing list.