[NTG-context] weird issue with xtable

Wolfgang Schuster wolfgang.schuster.lists at gmail.com
Thu Aug 13 15:11:26 CEST 2020


Taco Hoekwater schrieb am 13.08.2020 um 14:33:
>> On 13 Aug 2020, at 14:15, Pablo Rodriguez <oinos at gmx.es> wrote:
>>
>>>> My questions are: what is the restricted horizontal mode (as different
>>>> from the horizontal mode)?
> I forgot to answer this. Simple explanation:
>
> * 'restricted horizontal mode' is inside an \hbox{} or something similar like a header/footer,
>    where line breaks are forbidden
> * ‘horizontal mode’ is inside a paragraph, where line breaks are possible
>
> But the ‘restricted’ part is not relevant to your problem, \prevdepth is forbidden in horizontal mode  regardless of restrictions; it is only allowed in vertical mode.
>
>
> Somehow your table ends up being typeset in a horizontal context, based on the error message (at least, if we assume that the error message was triggered by a table).
>
> But why that is? I do not have any other good ideas. And unfortunately lots of different things in ConTeXt can trigger an implicit horizontal context.

With the options "split=no" and "split=repeat" ConTeXt puts the table in 
a \vbox but with "split=yes" this doesn't happen.

To check is this is the problem he can put the table in a float 
environment and disable the caption and counter.

\startplacetable[location={force,none}]
   \startembeddedxtable
   ...
   \stopembeddedxtable
\stopplacetable

Wolfgang



More information about the ntg-context mailing list