Am 02.10.2011 um 10:39 schrieb Pontus Lurcock:

> On Sat 01 Oct 2011, Wolfgang Schuster wrote:
> 
>>> I've recently updated my standalone (32-bit Linux) ConTeXT from
>>> 2011.02.25 to 2011.09.20, and I'm now having some trouble with
>>> float placement. I'm using MkIV. I'm trying to have figures
>>> protruding into the outer margins with a double-sided layout, as
>>> described here:
>>> ...
>>> 
>>> Does anyone have any ideas or insights?
>> 
>> Should be fixed in the next beta.
> 
> Many thanks! I confirm that my original example works as expected with
> ConTeXt 2011.10.01. However, for certain files (including my
> dissertation) ConTeXt stops with the error ‘Argument of
> \rootfloatparameter has an extra }’. Here's a minimal example which
> causes the problem:
> 
> \starttext
> \dorecurse{3}{
> \placefigure[]{}{\externalfigure[cow.pdf]}
> \input knuth
> \placefigure[]{}{\externalfigure[cow.pdf]}
> }
> \stoptext
> 
> The example works if I comment out any of the three lines in the
> \dorecurse, or if I change \dorecurse{3} to \dorecurse{2}. The example
> also fails with 2011.09.20, but works with 2011.02.25.

page-one.mkiv:

\def\OTRONEdosettopinserts
  {\bgroup
   \ifsomefloatwaiting
     \noffloatinserts\zerocount
     \let\totaltopinserted\!!zeropoint
     \OTRONEdodosettopinserts
     \ifnum\rootfloatparameter\c!nbottom=\zerocount
       \ifnum\rootfloatparameter\c!nlines>\zerocount
         \ifdim\totaltopinserted>\zeropoint\relax
           
\ifdim\dimexpr\rootfloatparameter\c!nlines\lineheight+\totaltopinserted\relax>\textheight
-            \showmessage\m!floatblocks8\rootfloatparameter\c!nlines
+            \showmessage\m!floatblocks8{\rootfloatparameter\c!nlines}%
             \vfilll\eject
           \fi
         \fi
       \fi
     \fi
   \fi
   \egroup}

\def\OTRONEdosetbothinserts
  {\global\topinserted\zeropoint
   \global\botinserted\zeropoint
   \ifflushingfloats \else
     \OTRONEdosettopinserts
     \OTRONEdosetbotinserts
     \ifsomefloatwaiting
-       \doif\rootfloatparameter\c!cache\v!no\doflushfloats
+       \doif{\rootfloatparameter\c!cache}\v!no\doflushfloats
     \fi
   \fi}

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to