[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#147204: tetex-base: Float placed on the page before the reference



From: Eugen Dedu <Eugen.Dedu@prism.uvsq.fr>
Subject: Re: Bug#147204: tetex-base: Float placed on the page before the reference
Date: Fri, 17 May 2002 11:37:31 +0200

Well, please CC to 147204@bugs.debian.org too.  There 
might be many experts in the lists who read this report.

> > I doubt that Lamport really says that a float is _never_ placed
> > on a page *before* its (first) reference.
> > 
> > He says only it _will_ not placed on a page *before* its (first) 
> > reference.
> > 
> > Try
> > 
> > \begin{figure}[h]
> > 
> > and replaces [h] with [t], [b] and [p] then you might
> > understand why LaTeX think the default placing is optimal.
> 
> Thank you for the answer.  The bug may probably be closed, however I 
> have two questions:
> 
> 1. LaTeX can put the figure on page 3, i.e. on the page right after the 
> figure environment (which appears in the text at the top of the 2nd 
> page).  This is a good placement IMHO and it does not violate the other 
> rules.

It's beyond my knowledge to explain precisely this but
LaTeX calculates some kind of penalty on page breaking and 
placement of floats etc. and determine the optimal output, 
as you know.  But its decision might be different from 
that of human beings in some (or many?) cases

So there are cases where we should give LaTeX some hints.
In your case, perhaps to add \newpage\suppressfloats
like;

	\item Potential field step: update if necessary the potential fields.
	\end{enumerate}
	\newpage\suppressfloats

	aaa

	The whole procedure is presented in figure~\ref{fig:concurrency-code}
	and is explained below.

	\begin{figure}
	\begin{verbatim}

would give the output you desire.

> 2. The two sentences (mine: "it will never be printed", and 
> yours/Lamport: "it will not be printed") are identical to me... 
> Lamport, page 176, 1986 edition: "It will not be printed on an earlier 
> page than the place in the text where the figure or table environment 
> appears."

Well, as I am not a native English speaker so I expect
some more appropriate person will explain this point.

But you seemed to write "it is never placed ..." in the first
email and I guess this is evidently different from "it will 
not be placed ..."

Best regards,		    2002.5.18

-- 
 Debian Developer & Debian JP Developer - much more I18N of Debian
 Atsuhito Kohda <kohda@debian.org>
 Department of Math., Univ. of Tokushima


-- 
To UNSUBSCRIBE, email to debian-tetex-maint-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: