Table breaks incorrectly between pages
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Kind regards, Stefan
On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote:
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files.
Kind regards, Stefan
This seems to be a known issue for quite a while, see here: https://www.mail-archive.com/ntg-context@ntg.nl/msg69827.html As Wolfgang suggested there, you can use framed instead of TABLE in your header. I have modified your example file (see attached). With that you get the attached PDF. By the way, your example was missing a \bTABLEhead. Moreover, I believe cells in TABLE head entries should be enclosed by \bTH \eTH instead of \(b|e)TD. I have made these changes as well. [Also, I hope you are aware that you can use style=\tt, style=\bf per row/ column/cell with \setupTABLE; that will significantly reduce markup in your file] Best, Sreeram
Wow, thank you very, very much!
On Sun, 15 May 2022, 05:35 śrīrāma,
On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote:
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files.
Kind regards, Stefan
This seems to be a known issue for quite a while, see here: https://www.mail-archive.com/ntg-context@ntg.nl/msg69827.html
As Wolfgang suggested there, you can use framed instead of TABLE in your header. I have modified your example file (see attached). With that you get the attached PDF.
By the way, your example was missing a \bTABLEhead. Moreover, I believe cells in TABLE head entries should be enclosed by \bTH \eTH instead of \(b|e)TD. I have made these changes as well.
[Also, I hope you are aware that you can use style=\tt, style=\bf per row/ column/cell with \setupTABLE; that will significantly reduce markup in your file]
Best, Sreeram
Stefan Nedeljkovic via ntg-context schrieb am 13.05.2022 um 09:00:
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files.
Use the TABLEnested environment in your document header which was added to avoid problems like in your example. \startsetups headertext \bTABLEnested[setups=headertable,option=stretch] ... \eTABLEnested \stopsetups Wolfgang
On 5/15/22 2:20 PM Wolfgang Schuster via ntg-context wrote:
Use the TABLEnested environment in your document header which was added to avoid problems like in your example.
\startsetups headertext \bTABLEnested[setups=headertable,option=stretch] ... \eTABLEnested \stopsetups
Splendid (as always)! Definitely a better solution for Stefan's document. I added a section in the wiki making a note of this: https://wiki.contextgarden.net/TABLE#Headers_with_TABLEs Thanks Wolfgang! Until now, I did not even know of the 'nested' type for TABLE. Sreeram
Too slow!! I'd already added https://wiki.contextgarden.net/TABLE#Tables_in_page_headers.
On 15 May 2022, at 12:00, śrīrāma via ntg-context
wrote: On 5/15/22 2:20 PM Wolfgang Schuster via ntg-context wrote:
Use the TABLEnested environment in your document header which was added to avoid problems like in your example.
\startsetups headertext \bTABLEnested[setups=headertable,option=stretch] ... \eTABLEnested \stopsetups
Splendid (as always)! Definitely a better solution for Stefan's document.
I added a section in the wiki making a note of this: https://wiki.contextgarden.net/TABLE#Headers_with_TABLEs
Thanks Wolfgang! Until now, I did not even know of the 'nested' type for TABLE.
Sreeram
— Bruce Horrocks Hampshire, UK
On 5/15/22 6:18 PM Bruce Horrocks wrote:
Too slow!!
I'd already added https://wiki.contextgarden.net/ TABLE#Tables_in_page_headers.
Hmm. I searched the wiki for '\bTABLEnested' and this did not show up there. I just now checked the edit history now and you seemed to have added it just four minutes after I made the first edit to add it! Then, I wrote a more detailed example. Looks like we added it around the same time. Sorry if I created any confusion. Sreeram
participants (4)
-
Bruce Horrocks
-
Stefan Nedeljkovic
-
Wolfgang Schuster
-
śrīrāma