texlive[60065] Master/texmf-dist: hvfloat

commits+karl at tug.org commits+karl at tug.org
Sun Jul 25 22:51:24 CEST 2021


Revision: 60065
          http://tug.org/svn/texlive?view=revision&revision=60065
Author:   karl
Date:     2021-07-25 22:51:24 +0200 (Sun, 25 Jul 2021)
Log Message:
-----------
hvfloat

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.sty

Modified: trunk/Master/texmf-dist/doc/latex/hvfloat/Changes
===================================================================
--- trunk/Master/texmf-dist/doc/latex/hvfloat/Changes	2021-07-25 20:48:52 UTC (rev 60064)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/Changes	2021-07-25 20:51:24 UTC (rev 60065)
@@ -1,4 +1,5 @@
 hvfloat.sty:    
+2.33  2021-07-14  - fix for doublePAGE, needs length setting inside the macro 
 2.32  2021-06-29  - make multi and multisubflots caption align with the bottom
                   - added graphicx option doublefullPage
                   - prevent vertical centering for a doublepage on the  right

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	2021-07-25 20:48:52 UTC (rev 60064)
+++ trunk/Master/texmf-dist/doc/latex/hvfloat/hvfloat.tex	2021-07-25 20:51:24 UTC (rev 60065)
@@ -1,4 +1,4 @@
-%% $Id: hvfloat.tex 122 2021-06-26 12:35:53Z herbert $
+%% $Id: hvfloat.tex 126 2021-06-29 12:56:04Z herbert $
 \listfiles
 \errorcontextlines=100
 \documentclass[twoside,paper=a4,usegeometry]{scrartcl}

Modified: trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty	2021-07-25 20:48:52 UTC (rev 60064)
+++ trunk/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty	2021-07-25 20:51:24 UTC (rev 60065)
@@ -15,8 +15,8 @@
 %%   `hvfloat' offers rotating of captions and objects for floats
 %%
 \NeedsTeXFormat{LaTeX2e}
-\def\fileversion{2.32}
-\def\filedate{2021/06/26}
+\def\fileversion{2.33}
+\def\filedate{2021/07/14}
 %\message{`hvfloat' v\fileversion, \filedate\space (Herbert Voss)}
 \ProvidesPackage{hvfloat}[\filedate\space v\fileversion\space special floating objects (hv)]
 \let\hvFloatFileVersion\fileversion
@@ -1258,13 +1258,12 @@
 
 \def\do at hvFloat@doublePAGE#1{%  image on left and right page with caption on the right ----------------------------------
   % #1-> 0/1 caption under/right
-  \global\setlength\hv at tempWidthA{\the\dimexpr1in+\oddsidemargin-\hvSet at bindCorrection}%
-  \global\setlength\hv at leftPageObjectWidth{\the\dimexpr\paperwidth-1in-\evensidemargin-\hvSet at bindCorrection}%
+%  \global\setlength\hv at tempWidthA{\the\dimexpr1in+\oddsidemargin-\hvSet at bindCorrection}%
+%  \global\setlength\hv at leftPageObjectWidth{\the\dimexpr\paperwidth-1in-\evensidemargin-\hvSet at bindCorrection}%
   \expandafter\global\expandafter\savebox\expandafter\hvObjectBox\expandafter{\ifhv at useOBox\usebox{\hvOBox}\else\hv at floatObject\fi}%
   \expandafter\global\expandafter\savebox\expandafter\hv at boxLeftPage\expandafter{\clipbox*{0 -\depth{} \hv at leftPageObjectWidth{} \height}{\usebox\hvObjectBox}}%
   \expandafter\global\expandafter\savebox\expandafter\hv at boxRightPage\expandafter{\clipbox*{\hv at leftPageObjectWidth{} -\depth{} \width{} \height}{\usebox\hvObjectBox}}%
-%  \endgroup% started at main macro \hvFloat
- \checkoddpage
+  \checkoddpage
   \ifoddpage
     \if at twocolumn
       \if at firstcolumn
@@ -1283,7 +1282,7 @@
         \afterpage{\afterpage{\do at hvFloat@doublePAGECaptionRight{#1}}}%
       \fi
     \else
-      \afterpage{\do at hvFloat@doublePAGECaptionRight{#1}}%
+      \afterpage{\do at hvFloat@doublePAGECaptionRight{#1}}%   onecolumn/left page
     \fi
   \fi
   \endgroup% startet at main macro
@@ -1293,15 +1292,21 @@
   % #1-> 0/1 caption under/right
     \afterpage{%
       \hfuzz=\maxdimen
-      \expandafter\hvFloatSet\expandafter{\hv at save@setting}%    
-      \global\savebox{\hvObjectBox}{\ifhv at useOBox\usebox{\hvOBox}\else\hv at floatObject\fi}%
+      \expandafter\hvFloatSet\expandafter{\hv at save@setting}%
+      \ifhv at useOBox
+        \global\let\hvObjectBox\hvOBox
+      \else      
+        \global\savebox\hvObjectBox{\hv at floatObject}%
+      \fi
       \noindent
+      \global\setlength\hv at tempWidthA{\the\dimexpr1in+\oddsidemargin-\hvSet at bindCorrection}%
+      \global\setlength\hv at leftPageObjectWidth{\the\dimexpr\paperwidth-1in-\evensidemargin-\hvSet at bindCorrection}%
       \clipbox*{0 -\depth{} \hv at leftPageObjectWidth{} \height}{\usebox\hvObjectBox}%
       \null\newpage\if at twocolumn\null\newpage\fi
       \expandafter\global\expandafter\savebox\expandafter\hvObjectBox\expandafter{\ifhv at useOBox\usebox{\hvOBox}\else\hv at floatObject\fi}%
       \noindent
       \hspace*{\dimexpr-\hv at tempWidthA}%
-        \clipbox*{\the\hv at leftPageObjectWidth{} -\depth{} \width{} \height{}}{\usebox\hvObjectBox}%
+      \clipbox*{\the\hv at leftPageObjectWidth{} -\depth{} \width{} \height{}}{\usebox\hvObjectBox}%
       \begingroup
           \ifnum#1>0
             \medskip



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