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 10000) detected at line 1

[]

 

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

 

<to be read again>

{

\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 <wolfgang.schuster.lists@gmail.com>
Gesendet: Samstag, 24. November 2018 10:59
An: mailing list for ConTeXt users <ntg-context@ntg.nl>; Christopher Bock <mailinglist.context@christopher-bock.de>
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