diff options
author | Karl Berry <karl@freefriends.org> | 2021-06-09 20:33:27 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2021-06-09 20:33:27 +0000 |
commit | 8f2c50e22174c547bf9893d6b1bdd53bce8b31bd (patch) | |
tree | 68ca8acc6cec4d21f9e2c95fbec701132796afac /Master/texmf-dist | |
parent | 586b2d598545dae1594b62d3d9b6021d7afe906d (diff) |
hvfloat (9jun21)
git-svn-id: svn://tug.org/texlive/trunk@59533 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist')
-rw-r--r-- | Master/texmf-dist/doc/latex/hvfloat/Changes | 2 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvfloat/capPos.pdf | bin | 77925 -> 95386 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf | bin | 7113219 -> 7114454 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/hvfloat/odd2s1c.pdf | bin | 85195 -> 245795 bytes | |||
-rw-r--r-- | Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty | 53 |
5 files changed, 33 insertions, 22 deletions
diff --git a/Master/texmf-dist/doc/latex/hvfloat/Changes b/Master/texmf-dist/doc/latex/hvfloat/Changes index 18e87aded38..2b809bb3371 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/Changes +++ b/Master/texmf-dist/doc/latex/hvfloat/Changes @@ -1,4 +1,6 @@ hvfloat.sty: +2.28 2021-06-09 - fix for missing type that leads to nonFloat _and_ onlyText + - fix for \thehv@pfigure and \thehv@ptablee 2.27 2021-06-07 - added \tabcaptionbelow - fix bug with vertical alignment for top captions - fix for local caption and subcaption setting diff --git a/Master/texmf-dist/doc/latex/hvfloat/capPos.pdf b/Master/texmf-dist/doc/latex/hvfloat/capPos.pdf Binary files differindex 834f4949c76..473cc1322ef 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/capPos.pdf +++ b/Master/texmf-dist/doc/latex/hvfloat/capPos.pdf diff --git a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf Binary files differindex ce628eaf57e..46bc0b2bcca 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf +++ b/Master/texmf-dist/doc/latex/hvfloat/hvfloat.pdf diff --git a/Master/texmf-dist/doc/latex/hvfloat/odd2s1c.pdf b/Master/texmf-dist/doc/latex/hvfloat/odd2s1c.pdf Binary files differindex ef2c6e6b8dd..f13f5e28319 100644 --- a/Master/texmf-dist/doc/latex/hvfloat/odd2s1c.pdf +++ b/Master/texmf-dist/doc/latex/hvfloat/odd2s1c.pdf diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty index cb9f1b07424..c6bb68b8fb7 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 105 2021-06-07 07:30:15Z herbert $ +%% $Id: hvfloat.sty 107 2021-06-09 06:43:25Z herbert $ %% %% %% IMPORTANT NOTICE: @@ -15,8 +15,8 @@ %% `hvfloat' offers rotating of captions and objects for floats %% \NeedsTeXFormat{LaTeX2e} -\def\fileversion{2.27} -\def\filedate{2021/06/07} +\def\fileversion{2.28} +\def\filedate{2021/06/09} \message{`hvfloat' v\fileversion, \filedate\space (Herbert Voss)} \ProvidesPackage{hvfloat}[\filedate\ rotating of floating objects] \let\hvFloatFileVersion\fileversion @@ -422,11 +422,10 @@ \newcounter{hv@tempCNTfigB}% \newcounter{hv@tempCNTtabA}% \newcounter{hv@tempCNTtabB}% - -\newcounter{hv@pfigure} -\newcounter{hv@ptable} -\newcounter{subhv@pfigure} -\newcounter{subhv@ptable} +\newcounter{hv@pfigure}% +\newcounter{hv@ptable}% +\newcounter{subhv@pfigure}% +\newcounter{subhv@ptable}% \newif\ifhv@star \newif\if@hvsubstar @@ -453,12 +452,18 @@ % \setlength\hvWideWidth{\dimexpr\linewidth+\marginparwidth}% \hv@maxImageWidth=\textwidth \reset@special@float - \global\setcounter{hv@pfigure}{\value{figure}}% - \global\setcounter{hv@ptable}{\value{table}}% + \setcounter{hv@pfigure}{\value{figure}}% + \setcounter{hv@ptable}{\value{table}}% \setcounter{hv@tempCNTfigA}{\value{figure}}% \setcounter{hv@tempCNTfigB}{\value{figure}}% \setcounter{hv@tempCNTtabA}{\value{table}}% \setcounter{hv@tempCNTtabB}{\value{table}}% + \renewcommand\thehv@pfigure{\thefigure}% + \renewcommand\thehv@ptable{\thetable}% + \renewcommand\thehv@tempCNTfigA{\thefigure}% + \renewcommand\thehv@tempCNTfigB{\thefigure}% + \renewcommand\thehv@tempCNTtabA{\thetable}% + \renewcommand\thehv@tempCNTtabB{\thetable}% \gdef\hv@save@setting{#1}% \ifx\relax#1\relax\else\setkeys{hvSet}{#1}\fi \ifx\hv@caption@format\@empty\else\expandafter\captionsetup\expandafter{\hv@caption@format}\fi @@ -525,8 +530,10 @@ \hv@maxImageWidth=\textwidth \ifx\relax#1\relax\else\setkeys{hvSet}{#1}\fi \gdef\hv@floatType{#2}% + \ifx\relax#2\relax + \setkeys{hvSet}{nonFloat,onlyText} + \fi \xdef\hv@floatListOfExt{\@nameuse{ext@\hv@floatType}}% - \ifx\relax#2\relax \setkeys{hvSet}{nonFloat=true}\fi \gdef\hv@floatObject{#3}% \@ifnextchar[{\do@@hvFloat}{\do@@hvFloat[]}% } @@ -642,15 +649,15 @@ \else \ifx\hv@floatType\hv@figure \ifx\relax\hv@shortCap\relax - \figcaption{\hv@longCap}% + \figcaption{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \else - \figcaption[\hv@shortCap]{\hv@longCap}% + \figcaption[\hv@shortCap]{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \fi \else \ifx\relax\hv@shortCap\relax - \tabcaption{\hv@longCap}% + \tabcaption{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \else - \tabcaption[\hv@shortCap]{\hv@longCap}% + \tabcaption[\hv@shortCap]{\hv@longCap\ifx\hv@label\@empty\else\label{\hv@label}\fi}% \fi \fi \fi @@ -660,9 +667,9 @@ \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 - \ifx\hv@label\@empty\else\label{\hv@label}\fi \endminipage }% \else @@ -794,10 +801,10 @@ \fi \centering \ifhv@fbox - \fbox{\usebox{\hvCaptionBox}}\\[\hvBelowCaptionSkip]% + \fbox{\usebox{\hvCaptionBox}}\\[0.5\hvBelowCaptionSkip]% \fbox{\usebox{\hvObjectBox}}% \else - \usebox{\hvCaptionBox}\\[\hvBelowCaptionSkip]% + \usebox{\hvCaptionBox}\\[0.5\hvBelowCaptionSkip]% \usebox{\hvObjectBox}% \fi \end{minipage}% @@ -825,10 +832,10 @@ \fi \centering \ifhv@fbox - \fbox{\usebox{\hvObjectBox}}\\[\hvAboveCaptionSkip]% + \fbox{\usebox{\hvObjectBox}}\\[0.5\hvAboveCaptionSkip]% \fbox{\usebox{\hvCaptionBox}}% \else - \ifhv@objectFrame\frame{\usebox{\hvObjectBox}}\else\usebox{\hvObjectBox}\fi\\[\hvAboveCaptionSkip]% + \ifhv@objectFrame\frame{\usebox{\hvObjectBox}}\else\usebox{\hvObjectBox}\fi\\[0.5\hvAboveCaptionSkip]% \usebox{\hvCaptionBox}% \fi \end{minipage}% @@ -1084,15 +1091,17 @@ \setcounter{totalnumber}{0}% \setcounter{dbltopnumber}{0}% \def\dblfloatpagefraction{0.5}% + \global\renewcommand\thehv@tempCNTfigA{xyz}% + \global\renewcommand\thehv@tempCNTfigB{xyz}% \begin{\hv@floatType*}[!t] \global\savebox{\hvObjectBox}{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}% \clipbox*{0 -\depth{} \hv@leftPageObjectWidth{} \height}{\usebox\hvObjectBox}% \ifx\hv@label\@empty \else \ifx\hv@floatType\hv@figure - \refstepcounter{hv@tempCNTfigA}% + \global\refstepcounter{hv@tempCNTfigA}% \else - \refstepcounter{hv@tempCNTtabA}% before caption + \global\refstepcounter{hv@tempCNTtabA}% before caption \fi \label{\hv@label}% \fi |