From: Andreas Schneider <aksdb@gmx.de>
To: ntg-context@ntg.nl
Subject: Splitting natural table fails with xtable in footer
Date: Thu, 01 Oct 2015 12:52:26 +0200 [thread overview]
Message-ID: <0aea98ea3f8b8550bce2acb718ce41a9@localhost> (raw)
Hello,
In the following minimal example, an error occurs when build the file
(with a recent context version):
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
\starttext
\startsetups[s:footer]
\startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch]
\startxrow
\startxcell Filename: \stopxcell
\startxcell[distance=1cm] \outputfilename.pdf \stopxcell
\stopxrow
\stopembeddedxtable
\stopsetups
\setupheader[style=\tx]
\setupfooter[style=\tx]
\setupfootertexts[\setups{s:footer}][][][\setups{s:footer}]
\startchapter[title={Test}]
\placetable[split]{Test}{
\bTABLE[split=repeat]
\bTABLEhead
\bTR \bTD Col1 \eTD \bTD Col2 \eTD \eTR
\eTABLEhead
\bTABLEbody
\dorecurse{50}{\bTR \bTD Value1 \eTD \bTD Value2 \eTD \eTR}
\eTABLEbody
\eTABLE}
\stopchapter
\stoptext
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The error is as follows:
>>>>>>>>>>>>>>>>>>>>
This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
ConTeXt ver: 2015.09.13 13:31 MKIV beta fmt: 2015.10.1 int:
english/english
...
tex error > tex error on line 25 in file
/Users/aese/Temp/ctx/split.tex: ! You can't use `\prevdepth' in
restricted horizontal mode
...
tex error > tex error on line 25 in file
/Users/aese/Temp/ctx/split.tex: ! Illegal unit of measure (pt inserted)
>>>>>>>>>>>>>>>>>>>>
In reality my footer is lot more complex (huge table :-)) and I see no
better way to handle this.
Is there a way to fix this situation? (Preferable without rolling out a
new ConTeXt version?)
Best regards,
Andreas
___________________________________________________________________________________
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2015-10-01 10:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-01 10:52 Andreas Schneider [this message]
2015-10-06 8:19 ` Andreas Schneider
2015-10-06 11:31 ` Wolfgang Schuster
2015-10-06 14:29 ` Andreas Schneider
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=0aea98ea3f8b8550bce2acb718ce41a9@localhost \
--to=aksdb@gmx.de \
--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).