Re: [NTG-context] xtable First row missing in document

2018-11-24 Thread Christopher Bock
When I remove the split from the xtable the file is compiling anymore. 

See attached MWE.

 

I narrowed the problem down to the command "\setupinteraction[state=start]".
Without it, there is no error shown.

 

Error Log:   I have no idea what the error message means. 


--

Underfull \hbox (badness 1) detected at line 1

[]

 

tex error   > tex error on line 1 in file Z:/asdf/mwe.tex: ! Missing
number, treated as zero

 



{

\strc_floats_place_packaged_boxes_indeed ...bute {

  \doifelsemainfloatbody
\cu...

\strc_floats_finish_placement ...e_packaged_boxes

  \dotagregisterfloat
\asked...

\syst_boxes_with_next_box ...mand {\box \nextbox }

  \egroup \ifconditional
\so...

\tabl_split_direct_loop_body ...splitafterresult }

  \global \settrue
\usesamef...

\syst_helpers_loop_yes ...helpers_recurse_content

  \endofloop

...

l.137 \stopxtable

 

 

1 >>  \setupexternalfigures[location={local,global,default}]

2

3 \setupinteraction[state=start]

4

5 \setuplayout

6 [edge=1mm,

7 edgedistance=1mm,

8 margin=15mm,

9 margindistance=1mm,

10 top=6mm,

11 topdistance=1mm,

 

 

? mtx-context | fatal error: return code: 100

 

 

Thanks

Chris

 

Von: Wolfgang Schuster  
Gesendet: Samstag, 24. November 2018 10:59
An: mailing list for ConTeXt users ; Christopher Bock

Betreff: Re: [NTG-context] xtable First row missing in document

 

Christopher Bock schrieb am 23.11.18 um 16:14:



Hi all,

 

I think I found another bug in xtable (or placetable). 

 

The last table in the MWE is not showing the first row (the header row).


Remove the split setting (\startxtable[split=yes]) from the tables because
the "split" keyword
(\placetable[split]) from the float is enough to beak your tables across
pages.

What happens with \startxtable[split=yes] is that ConTeXt changes the number
of lines
it reserves on the current page before the break which isn't enough to fit
the first line
of the table together with the caption and the header.

Wolfgang



mwe.tex
Description: Binary data
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] xtable First row missing in document

2018-11-24 Thread Wolfgang Schuster

Christopher Bock schrieb am 23.11.18 um 16:14:


Hi all,

I think I found another bug in xtable (or placetable).

The last table in the MWE is not showing the first row (the header row).



Remove the split setting (\startxtable[split=yes]) from the tables 
because the "split" keyword
(\placetable[split]) from the float is enough to beak your tables across 
pages.


What happens with \startxtable[split=yes] is that ConTeXt changes the 
number of lines
it reserves on the current page before the break which isn’t enough to 
fit the first line

of the table together with the caption and the header.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] xtable First row missing in document

2018-11-23 Thread Christopher Bock
Hi all,

 

I think I found another bug in xtable (or placetable). 

 

The last table in the MWE is not showing the first row (the header row).

 

Thanks,

Chris



mwe.pdf
Description: Adobe PDF document


mwe.tex
Description: Binary data
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___