summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/hvfloat
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2024-12-15 21:12:54 +0000
committerKarl Berry <karl@freefriends.org>2024-12-15 21:12:54 +0000
commit1d45809a4e0d8b786aa89e08b5e687afe4c15bfd (patch)
treee55b61162d7e52ebe6482d0fa58ee596940f8c8a /Master/texmf-dist/tex/latex/hvfloat
parentd5c696b3d69df042c1126200e58bc932b8b309d9 (diff)
hvfloat (15dec24)
git-svn-id: svn://tug.org/texlive/trunk@73130 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/hvfloat')
-rw-r--r--Master/texmf-dist/tex/latex/hvfloat/hvfloat-3.inc29
-rw-r--r--Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty6
2 files changed, 18 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat-3.inc b/Master/texmf-dist/tex/latex/hvfloat/hvfloat-3.inc
index f48ecab1ecd..e47cf188f5d 100644
--- a/Master/texmf-dist/tex/latex/hvfloat/hvfloat-3.inc
+++ b/Master/texmf-dist/tex/latex/hvfloat/hvfloat-3.inc
@@ -48,11 +48,11 @@
\do@hvFloat@doublePAGECaptionRight{#1}% no cheque
\else
\checkoddpage
- \ifoddpage
+ \ifoddpage % we are on the right page
\hvfloat@typeout{do@hvFloat@doublePage:oddpage}%
\if@twocolumn
\hvfloat@typeout{do@hvFloat@doublePage: oddpage/twocolumn}%
- \if@firstcolumn
+ \if@firstcolumn % we are in the left column of the right page
\hvfloat@typeout{do@hvFloat@doublePage:oddpage->twocolumn->firstcolumn}%
\ifhv@switchType
\hvfloat@typeout{hvfloat: switched to floattype p}%
@@ -61,12 +61,12 @@
\do@hvFloat@doublePAGECaptionRight{#1}}%
\else
\hvfloat@typeout{calling do@hvFloat@doublePageCaptionRight}%
- %\afterpage{%
\afterpage{%
+ \afterpage{%
\global\savebox\hvObjectBox{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}%
- \do@hvFloat@doublePageCaptionRight{#1}}%}%
+ \do@hvFloat@doublePageCaptionRight{#1}}}%
\fi
- \else
+ \else % we are in the right column of the right page
% \hvfloat@typeout{do@hvFloat@doublePage:oddpage->twocolumn->secondcolumn}%
\ifhv@tugboat
\do@hvFloat@doublePageCaptionRight{#1}%
@@ -98,8 +98,9 @@
\fi
\else% we have an even page
\hvfloat@typeout{do@hvFloat@doublePage:evenpage -> (\thepage)}%
- \test@typeout{>>>>Setze hv@atPageBeginfalse}%
\global\hv@atPageBeginfalse
+\iffalse
+ \test@typeout{>>>>Setze hv@atPageBeginfalse}%
% \stepcounter{hvfloat@ref}%
\zsavepos{\thehvfloat@ref}%
\@tempy=\dimexpr-\zposy{\thehvfloat@ref} sp+\paperheight-1in-\topmargin-\headheight-\headsep\relax
@@ -118,30 +119,30 @@
\fi
\fi
%---------
+\fi
\ifhv@atPageBegin% At the top left of the even page -> output image
\do@hvFloat@doublePageCaptionRight{#1}
\else
\if@twocolumn
- \if@firstcolumn
+ \if@firstcolumn % We are in the left column of the left page
\ifhv@switchType
\afterpage{\afterpage{%
\global\savebox\hvObjectBox{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}%
\do@hvFloat@doublePAGECaptionRight{#1}}}%
- \else
+ \else %
\afterpage{\afterpage{\afterpage{%
- \global\savebox\hvObjectBox{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}%
- \do@hvFloat@doublePageCaptionRight{#1}}}}%
+ \global\savebox\hvObjectBox{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}%
+ \do@hvFloat@doublePageCaptionRight{#1}}}}%
\fi
- \else% second column
+ \else% second column(right column on left page)
\ifhv@switchType
\afterpage{%
\global\savebox\hvObjectBox{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}%
\do@hvFloat@doublePAGECaptionRight{#1}}%
\else
- %\afterpage{
- \afterpage{%
+ \afterpage{\afterpage{%
\global\savebox\hvObjectBox{\ifhv@useOBox\usebox{\hvOBox}\else\hv@floatObject\fi}%
- \do@hvFloat@doublePageCaptionRight{#1}}%}%
+ \do@hvFloat@doublePageCaptionRight{#1}}}%
\fi
\fi
\else% onecolumn
diff --git a/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty b/Master/texmf-dist/tex/latex/hvfloat/hvfloat.sty
index e7cf47c4832..f38a302146a 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 1014 2024-10-03 08:22:14Z herbert $
+%% $Id: hvfloat.sty 1046 2024-12-15 09:30:17Z herbert $
%%
%%
%% IMPORTANT NOTICE:
@@ -16,8 +16,8 @@
%% `hvfloat' offers rotating of captions and objects for floats
%%
\NeedsTeXFormat{LaTeX2e}
-\def\fileversion{2.51}
-\def\filedate{2024/10/02}
+\def\fileversion{2.52}
+\def\filedate{2024/12/15}
\ProvidesPackage{hvfloat}[\filedate\space v\fileversion\space special floating objects (hv)]
\let\hvFloatFileVersion\fileversion
%