ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: weird issue with xtable
Date: Thu, 13 Aug 2020 15:11:26 +0200	[thread overview]
Message-ID: <ed07b412-5051-cfb2-c17a-c139901bf972@gmail.com> (raw)
In-Reply-To: <02982329-171A-4143-B8C8-46D9998E2F69@elvenkind.com>

Taco Hoekwater schrieb am 13.08.2020 um 14:33:
>> On 13 Aug 2020, at 14:15, Pablo Rodriguez <oinos@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

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

  reply	other threads:[~2020-08-13 13:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-13 11:07 Pablo Rodriguez
2020-08-13 11:16 ` Taco Hoekwater
2020-08-13 12:15   ` Pablo Rodriguez
2020-08-13 12:33     ` Taco Hoekwater
2020-08-13 13:11       ` Wolfgang Schuster [this message]
2020-08-13 14:18         ` Pablo Rodriguez
2020-08-13 16:06           ` Wolfgang Schuster
2020-08-13 18:30             ` Pablo Rodriguez
2020-08-13 18:47               ` Wolfgang Schuster
2020-08-13 20:11                 ` Wolfgang Schuster
2020-08-13 20:44                   ` Pablo Rodriguez
2020-08-13 13:33       ` Pablo Rodriguez

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ed07b412-5051-cfb2-c17a-c139901bf972@gmail.com \
    --to=wolfgang.schuster.lists@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).