ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* context mkiv eats a table
@ 2010-05-26 16:26 Marius
  2010-05-26 19:07 ` Peter Münster
  0 siblings, 1 reply; 6+ messages in thread
From: Marius @ 2010-05-26 16:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: context mkiv eats a table
  2010-05-26 16:26 context mkiv eats a table Marius
@ 2010-05-26 19:07 ` Peter Münster
  2010-05-27  9:59   ` Marius
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2010-05-26 19:07 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: context mkiv eats a table
  2010-05-26 19:07 ` Peter Münster
@ 2010-05-27  9:59   ` Marius
  2010-05-27 18:56     ` Marius
  0 siblings, 1 reply; 6+ messages in thread
From: Marius @ 2010-05-27  9:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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 <pmlists@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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: context mkiv eats a table
  2010-05-27  9:59   ` Marius
@ 2010-05-27 18:56     ` Marius
  2010-05-27 20:41       ` Peter Münster
  0 siblings, 1 reply; 6+ messages in thread
From: Marius @ 2010-05-27 18:56 UTC (permalink / raw)
  To: mailing list for ConTeXt users

[-- Attachment #1: Type: text/plain, Size: 57 bytes --]

Here is the example.
ConTeXt  ver: 2010.05.24 13:05 MKIV

[-- Attachment #2: testbug.tex --]
[-- Type: application/x-tex, Size: 283 bytes --]

[-- Attachment #3: testbug.pdf --]
[-- Type: application/pdf, Size: 11462 bytes --]

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: context mkiv eats a table
  2010-05-27 18:56     ` Marius
@ 2010-05-27 20:41       ` Peter Münster
  2010-05-28  8:12         ` Hans Hagen
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Münster @ 2010-05-27 20:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: context mkiv eats a table
  2010-05-27 20:41       ` Peter Münster
@ 2010-05-28  8:12         ` Hans Hagen
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Hagen @ 2010-05-28  8:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-05-28  8:12 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-26 16:26 context mkiv eats a table Marius
2010-05-26 19:07 ` Peter Münster
2010-05-27  9:59   ` Marius
2010-05-27 18:56     ` Marius
2010-05-27 20:41       ` Peter Münster
2010-05-28  8:12         ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).