ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Pablo Rodriguez <oinos@gmx.es>
To: ntg-context@ntg.nl
Subject: Re: weird issue with xtable
Date: Thu, 13 Aug 2020 14:15:31 +0200	[thread overview]
Message-ID: <d8f22b9b-9baa-3aba-938b-bb698509c49f@gmx.es> (raw)
In-Reply-To: <8B7A3FBE-DE5D-41F0-965E-2BF9DB1F494B@elvenkind.com>

On 8/13/20 1:16 PM, Taco Hoekwater wrote:
>> On 13 Aug 2020, at 13:07, Pablo Rodriguez <oinos@gmx.es> wrote:
>> [...]
>> I get the following error message (that breaks compilation) when I add
>> \setupxtable[split=yes]:
>>
>>   You can't use '\prevdepth' in restricted horizontal mode
>> [...]
>> My questions are: what is the restricted horizontal mode (as different
>> from the horizontal mode)? Why might it be triggered with
>> \startxtable[split=yes] in the huge source, but not in the single file?
>
> At a wild guess, as I had a similar problem in my XML: try using \startembeddedxtable
> instead of \startxtable. In my case, what happened was that a row of the xtable
> ended up in the header/footer, generating the same error message you got.
>
> Not sure if it is actually the same problem, but switching is worth a shot.
> The \startxtable does not like to be wrapped into other environments,
> so \startembeddedxtable is much better for that.

Many thanks for your reply, Taco.

Sorry for not realizing that I was missing it: I already use
\startembeddedxtable to deal with XML.

The first time I tried to add table support to my environment for XML, I
cound’t make \startxtable work.

I wonder what triggers the error with a huge file.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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 12:15 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 [this message]
2020-08-13 12:33     ` Taco Hoekwater
2020-08-13 13:11       ` Wolfgang Schuster
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=d8f22b9b-9baa-3aba-938b-bb698509c49f@gmx.es \
    --to=oinos@gmx.es \
    --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).