ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Splitting natural table fails with xtable in footer
@ 2015-10-01 10:52 Andreas Schneider
  2015-10-06  8:19 ` Andreas Schneider
  2015-10-06 11:31 ` Wolfgang Schuster
  0 siblings, 2 replies; 4+ messages in thread
From: Andreas Schneider @ 2015-10-01 10:52 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Splitting natural table fails with xtable in footer
  2015-10-01 10:52 Splitting natural table fails with xtable in footer Andreas Schneider
@ 2015-10-06  8:19 ` Andreas Schneider
  2015-10-06 11:31 ` Wolfgang Schuster
  1 sibling, 0 replies; 4+ messages in thread
From: Andreas Schneider @ 2015-10-06  8:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users

No ideas? Nothing I can do about this? :-(


Am 2015-10-01 12:52, schrieb Andreas Schneider:
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Splitting natural table fails with xtable in footer
  2015-10-01 10:52 Splitting natural table fails with xtable in footer Andreas Schneider
  2015-10-06  8:19 ` Andreas Schneider
@ 2015-10-06 11:31 ` Wolfgang Schuster
  2015-10-06 14:29   ` Andreas Schneider
  1 sibling, 1 reply; 4+ messages in thread
From: Wolfgang Schuster @ 2015-10-06 11:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 606 bytes --]

> Andreas Schneider <mailto:aksdb@gmx.de>
> 1. Oktober 2015 um 12:52
> Hello,
>
> In the following minimal example, an error occurs when build the file 
> (with a recent context version):
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>
> \starttext
>
> \startsetups[s:footer]
\insidesplitfloatfalse
>   
> \startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch]
>     \startxrow
>       \startxcell Filename: \stopxcell
>       \startxcell[distance=1cm] \outputfilename.pdf \stopxcell
>     \stopxrow
>   \stopembeddedxtable
> \stopsetups
Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 2068 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Splitting natural table fails with xtable in footer
  2015-10-06 11:31 ` Wolfgang Schuster
@ 2015-10-06 14:29   ` Andreas Schneider
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Schneider @ 2015-10-06 14:29 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 741 bytes --]

 

Am 2015-10-06 13:31, schrieb Wolfgang Schuster: 

>> Andreas Schneider 
>> 1. Oktober 2015 um 12:52 
>> Hello, 
>> 
>> In the following minimal example, an error occurs when build the file (with a recent context version): 
>> 
>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
>> starttext 
>> 
>> startsetups[s:footer]
> insidesplitfloatfalse
> 
>> startembeddedxtable[frame=off,distance=5pt,bodyfont=6pt,option=stretch] 
>> startxrow 
>> startxcell Filename: stopxcell 
>> startxcell[distance=1cm] outputfilename.pdf stopxcell 
>> stopxrow 
>> stopembeddedxtable 
>> stopsetups
> Wolfgang

Nice! Even though I don't understand why, it does the job :-) 

Thank you very much! 

Best regards,
Andreas 
 

[-- Attachment #1.2: Type: text/html, Size: 2098 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-10-06 14:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-01 10:52 Splitting natural table fails with xtable in footer Andreas Schneider
2015-10-06  8:19 ` Andreas Schneider
2015-10-06 11:31 ` Wolfgang Schuster
2015-10-06 14:29   ` Andreas Schneider

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).