> On 13 Aug 2020, at 13:07, Pablo Rodriguez <oi...@gmx.es> wrote:
> 
> Dear list,
> 
> in order to avoid a problem already reported
> (https://mailman.ntg.nl/pipermail/dev-context/2020/003694.html), I added
> to an indiviual table \startxtable[split=yes] (being the default in the
> document \setupxtable[split=repeat, header=repeat]).
> 
> But I’m experiencing a weird issue with that approach.
> 
> I get the following error message (that breaks compilation) when I add
> \setupxtable[split=yes]:
> 
>   You can't use '\prevdepth' in restricted horizontal mode
> 
> The single document (actually, an XML file) compiles just fine, but when
> combined together to generate a PDF document over 1000 pages, I get the
> error above.
> 
> 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.


Best wishes,
Taco


___________________________________________________________________________________
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 via email to