diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/base/flafter.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/base/flafter.sty | 43 |
1 files changed, 39 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/latex/base/flafter.sty b/Master/texmf-dist/tex/latex/base/flafter.sty index 9f5d509a55a..da966a59269 100644 --- a/Master/texmf-dist/tex/latex/base/flafter.sty +++ b/Master/texmf-dist/tex/latex/base/flafter.sty @@ -4,11 +4,11 @@ %% %% The original source files were: %% -%% ltoutput.dtx (with options: `flafter') +%% ltoutput.dtx (with options: `flafter,trace') %% %% This is a generated file. %% -%% Copyright 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 +%% Copyright 1993-2014 %% The LaTeX3 Project and any individual authors listed elsewhere %% in this file. %% @@ -38,32 +38,48 @@ %% extension .ins) which are part of the distribution. %%% From File: ltoutput.dtx \ProvidesPackage{flafter} - [2000/07/23 v1.2i + [2014/04/24 v1.2n Standard LaTeX floats after reference (FMi)] \def \@addtocurcol {% + \fl@trace{***Start addtocurcol}% \@insertfalse \@setfloattypecounts \ifnum \@fpstype=8 + \fl@trace{fpstype !p only (addtocurcol): \the \@fpstype = 8?}% \else \ifnum \@fpstype=24 + \fl@trace{fpstype p only (addtocurcol): \the \@fpstype = 24?}% \else \@flsettextmin + \fl@trace{textfloatsheight (before) = \the \@textfloatsheight}% \advance \@textmin \@textfloatsheight \@reqcolroom \@pageht + \fl@trace{textmin + textfloatsheight: \the \@textmin}% + \fl@trace{page-so-far: \the \@reqcolroom}% \ifdim \@textmin>\@reqcolroom \@reqcolroom \@textmin + \fl@trace{ORD? textmin being used}% \fi \advance \@reqcolroom \ht\@currbox + \fl@trace{float size = \the \ht \@currbox (addtocurcol)}% + \fl@trace{colroom = \the \@colroom (addtocurcol)}% + \fl@trace{reqcolroom = \the \@reqcolroom (addtocurcol)}% \ifdim \@colroom>\@reqcolroom \@flsetnum \@colnum \ifnum \@colnum>\z@ \@bitor\@currtype\@deferlist + \fl@trace{deferlist: \@deferlist: (addtocurcol-before)}% \if@test + \fl@trace{type already on list: defer (addtocurcol)}% \else \@bitor\@currtype\@botlist + \fl@trace{botlist: \@botlist: (addtocurcol-before)}% \if@test + \fl@trace{type already on list: bot---sent to addtobot}% \@addtobot \else + \fl@trace{fpstype \ifodd \@tempcnta OK \else not \fi + here: \the \@fpstype}% \ifodd \count\@currbox \advance \@reqcolroom \intextsep \ifdim \@colroom>\@reqcolroom @@ -71,6 +87,10 @@ \global \advance \@textfloatsheight \ht\@currbox \global \advance \@textfloatsheight 2\intextsep \@cons \@midlist \@currbox + \fl@trace{***Success: here}% + \fl@trace{textfloatsheight (after-here) = + \the \@textfloatsheight}% + \fl@trace{colnum (after-here) = \the \@colnum}% \if@nobreak \nobreak \@nobreakfalse @@ -85,25 +105,40 @@ \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi \outputpenalty \z@ \@inserttrue + \else + \fl@trace{Fail---no room at 2nd test of colroom + (addtocorcol \string\intextsep)}% \fi \fi \if@insert \else + \fl@trace{not here: sent to addtobot}% \@addtobot \fi \fi \fi + \else + \fl@trace{Fail: colnum = \the \@colnum: + fpstype \the \@fpstype=ORD?}% + \ifnum \@fpstype<\sixt@@n + \fl@trace{ERROR: BANG float not successful (addtocurcol)}% + \fi \fi + \else + \fl@trace{Fail---no room: fl box ht: \the \ht \@currbox + (addtocurcol)}% \fi \fi \fi \if@insert \else \@resethfps + \fl@trace{put on deferlist (addtocurcol)}% \@cons\@deferlist\@currbox + \fl@trace{deferlist: \@deferlist: (addtocurcol-after)}% \fi } -\providecommand\tr@ce[1]{} +\providecommand\fl@trace[1]{} \endinput %% %% End of file `flafter.sty'. |