Re: [NTG-context] context mkiv eats a table

2010-05-28 Thread Hans Hagen

On 27-5-2010 10:41, Peter Münster wrote:

On Thu, May 27 2010, Marius wrote:


Here is the example.
[...]


Or even smaller:

\starttext
\dorecurse{700}{text }
\placefigure[top][]{Figure}{bla}
\dorecurse{40}{text }
\placetable[top][]{Table}{bla}
\stoptext


hack: (you can add it to cont-new.mkiv)

\newbox\savedfloatbox

\appendtoks
\global\setbox\savedfloatbox\box\floatbox
\to \everybeforeoutput
\appendtoks
\global\setbox\floatbox\box\savedfloatbox
\to \everyafteroutput


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] context mkiv eats a table

2010-05-27 Thread Marius
Sometimes I get the error given below, maybe this is related to this
problem. As soon as I will have more free time, I will try once again
to make a minimal example.

!pages  : flushing realpage 14, userpage 14
floatblocks : 6 moved
floatblocks : 11 moved
floatblocks : 7 moved
floatblocks : 12 moved
! LuaTeX error ...text/tex/texmf-context/tex/context/base/page-flt.lua:89:
attempt to index local 'b' (a nil value)
stack traceback:
...text/tex/texmf-context/tex/context/base/page-flt.lua:89: in function 
'save'
main ctx instance:1: in main chunk.
\dofloatssave #1-\ctxlua {floats.save(#1)}
 \the \everyfloatscheck
\dosavefloat -\dofloatssave {text}
   \nonoindentation
argument ...hod ,bottom,top] \else \dosavefloat
  \fi
\thirdofthreearguments #1#2#3-#3

\dogetfloatbox ...\floatmethod }[\floatmethod ,#1]
  \fi
\docompletefloat ...er }{\thecurrentfloatcaption }
  \global \insidefloatfalse
...
l.503 ...alfigure[2_1012_9][width=0.49\textwidth]}

?

On Wed, May 26, 2010 at 10:07 PM, Peter Münster pmli...@free.fr wrote:
 On Wed, May 26 2010, Marius wrote:

 does somebody experience a situation then a table disappear in the
 document? This is an ugly bug, but I can't narrow it to a simple case.

 When you need a lot of text, pages, floats and whatever to trigger this
 problem, then you can use commands like \dorecurse{100}{\input tufte} and
 so on. But in most cases you can end up with a minimal example of just 1-3
 pages.

 Of course, it can take some time to reduce a complex document to a minimal
 example, but it's the best you can do, if you want a solution.

 Cheers, Peter

 --
 Contact information: http://pmrb.free.fr/contact/

___
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
___


Re: [NTG-context] context mkiv eats a table

2010-05-27 Thread Marius
Here is the example.
ConTeXt  ver: 2010.05.24 13:05 MKIV


testbug.tex
Description: TeX document


testbug.pdf
Description: Adobe PDF document
___
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
___


Re: [NTG-context] context mkiv eats a table

2010-05-27 Thread Peter Münster
On Thu, May 27 2010, Marius wrote:

 Here is the example.
 [...]

Or even smaller:

\starttext
\dorecurse{700}{text }
\placefigure[top][]{Figure}{bla}
\dorecurse{40}{text }
\placetable[top][]{Table}{bla}
\stoptext

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___


[NTG-context] context mkiv eats a table

2010-05-26 Thread Marius
Hello,

does somebody experience a situation then a table disappear in the
document? This is an ugly bug, but I can't narrow it to a simple case.

Best Regards,
Marius
___
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
___


Re: [NTG-context] context mkiv eats a table

2010-05-26 Thread Peter Münster
On Wed, May 26 2010, Marius wrote:
 
 does somebody experience a situation then a table disappear in the
 document? This is an ugly bug, but I can't narrow it to a simple case.

When you need a lot of text, pages, floats and whatever to trigger this
problem, then you can use commands like \dorecurse{100}{\input tufte} and
so on. But in most cases you can end up with a minimal example of just 1-3
pages.

Of course, it can take some time to reduce a complex document to a minimal
example, but it's the best you can do, if you want a solution.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___
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
___