[NTG-context] split natural table
I use a natural table to format my page header. I have another natural table in the body. When the body's table is split onto the second page it interferes with the formatting of the header's table, but only the header-table on the first page. I've included an example. Run as-is, the header has the correct format. Uncomment the last row of the body table to see the incorrect header formatting. This behavior also occurs using live.contextgarden.net (today, 2013-05-21). The incorrect header table format occurs with split=yes and split=repeat for the body table. If split=no then the header table keeps the correct format. TexLive 2012 (updated 2013-05-20 to frozen version) LuaTeX beta-0.70.2-2012052410 ConTeXt: 2012.05.30 11:26 MkIV fmt: 2012.9.13 \setuppapersize[letter][letter] \setuplayout[topspace=0pt, header=42pt, headerdistance=6pt, ] \setuppagenumbering[location=] \setupwhitespace[none] \define\syllabusheader{% \vskip0.1mm \bTABLE[frame=off,width=\textwidth] \setupTABLE[c][1][width=fit, align=raggedright,style={\bfb\ss}] \setupTABLE[c][2][width=broad,align=center, style={\bfd\ss}] \setupTABLE[c][3][width=fit, align=raggedleft, style={\bfb\ss}] \bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR \eTABLE } \setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% {\syllabusheader}}] \starttext \bTABLE[split=repeat] \setupTABLE[c][1][width=10em,align={center,lohi},style={\bfx}] \setupTABLE[r][1][align={hilo,center},style={\bfx}] \setupTABLE[c][2][width=20em,style={\tfx}] \bTABLEhead \bTR\bTH Row number \eTH\bTH Content \eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTC 1 \eTC\bTC \input{knuth} \eTC\eTR \bTR\bTC 2 \eTC\bTC \input{knuth} \eTC\eTR \bTR\bTC 3 \eTC\bTC \input{knuth} \eTC\eTR % \bTR\bTC 4 \eTC\bTC \input{knuth} \eTC\eTR % Uncomment this line to see wrong behavior \eTABLEbody \eTABLE \stoptext ___ 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 ___
Re: [NTG-context] split natural table
Am 21.05.2013 um 18:55 schrieb Stephens, Kenny ksteph...@hsutx.edu: I use a natural table to format my page header. I have another natural table in the body. When the body’s table is split onto the second page it interferes with the formatting of the header’s table, but only the header-table on the first page. I’ve included an example. Run as-is, the header has the correct format. Uncomment the last row of the body table to see the incorrect header formatting. This behavior also occurs using live.contextgarden.net (today, 2013-05-21). The incorrect header table format occurs with “split=yes” and “split=repeat” for the body table. If “split=no” then the header table keeps the correct format. TexLive 2012 (updated 2013-05-20 to frozen version) LuaTeX beta-0.70.2-2012052410 ConTeXt: 2012.05.30 11:26 MkIV fmt: 2012.9.13 \setuppapersize[letter][letter] \setuplayout[topspace=0pt, header=42pt, headerdistance=6pt, ] \setuppagenumbering[location=] \setupwhitespace[none] \define\syllabusheader{% \vskip0.1mm \bTABLE[frame=off,width=\textwidth] \setupTABLE[c][1][width=fit, align=raggedright,style={\bfb\ss}] \setupTABLE[c][2][width=broad,align=center, style={\bfd\ss}] \setupTABLE[c][3][width=fit, align=raggedleft, style={\bfb\ss}] \bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR \eTABLE } \setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% {\syllabusheader}}] This is a known problem when you use the same table environment in the body and for the header, you can use \framed to get the same result without these problems (it’s also faster). \startsetups[header] \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \stopframed \stopsetups \setupheadertexts[\texsetup{header}] Wolfgang ___ 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 ___
Re: [NTG-context] split natural table
From: ntg-context-boun...@ntg.nl [ntg-context-boun...@ntg.nl] on behalf of Wolfgang Schuster [schuster.wolfg...@gmail.com] Sent: Tuesday, May 21, 2013 12:20 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] split natural table Am 21.05.2013 um 18:55 schrieb Stephens, Kenny ksteph...@hsutx.edumailto:ksteph...@hsutx.edu: I use a natural table to format my page header. I have another natural table in the body. When the body’s table is split onto the second page it interferes with the formatting of the header’s table, but only the header-table on the first page. I’ve included an example. Run as-is, the header has the correct format. Uncomment the last row of the body table to see the incorrect header formatting. This behavior also occurs using live.contextgarden.nethttp://live.contextgarden.net (today, 2013-05-21). The incorrect header table format occurs with “split=yes” and “split=repeat” for the body table. If “split=no” then the header table keeps the correct format. TexLive 2012 (updated 2013-05-20 to frozen version) LuaTeX beta-0.70.2-2012052410 ConTeXt: 2012.05.30 11:26 MkIV fmt: 2012.9.13 \setuppapersize[letter][letter] \setuplayout[topspace=0pt, header=42pt, headerdistance=6pt, ] \setuppagenumbering[location=] \setupwhitespace[none] \define\syllabusheader{% \vskip0.1mm \bTABLE[frame=off,width=\textwidth] \setupTABLE[c][1][width=fit, align=raggedright,style={\bfb\ss}] \setupTABLE[c][2][width=broad,align=center, style={\bfd\ss}] \setupTABLE[c][3][width=fit, align=raggedleft, style={\bfb\ss}] \bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR \eTABLE } \setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% {\syllabusheader}}] This is a known problem when you use the same table environment in the body and for the header, you can use \framed to get the same result without these problems (it’s also faster). \startsetups[header] \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \stopframed \stopsetups \setupheadertexts[\texsetup{header}] Wolfgang -- This fails for me. I commented my approach and replaced it with yours. Here is what that section of the file now looks like: %\define\syllabusheader{% % \vskip0.1mm % \bTABLE[frame=off,width=\textwidth] % \setupTABLE[c][1][width=fit, align=raggedright,style={\bfb\ss}] % \setupTABLE[c][2][width=broad,align=center, style={\bfd\ss}] % \setupTABLE[c][3][width=fit, align=raggedleft, style={\bfb\ss}] % \bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR % \eTABLE % } %\setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% % {\syllabusheader}}] \startsetups[header] \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \stopframed \stopsetups \setupheadertexts[\texsetup{header}] But I get the error: ! Undefined control sequence. argument \texsetup {header}{}{}{} \firstoftwoarguments #1#2-#1 \doattributes ...sname #1#2\@EA \endcsname \fi {#4 }\dostopattributes \dosingletexts ...atetexts {#1#2#5}{#6{}{}{}}} \egroup argument ...tk \v!header \v!text \c!middletext } \hss }\hskip -\makeupwidth... \dododoplacelayouttextline ...#2 #3}\hbox to #1{#4 }\stoplayoutcomponent \get... ... l.46 \eTABLE But I like your idea. It is definitely cleaner and faster is always nice. Kenny ___ 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 ___
Re: [NTG-context] split natural table
Am 22.05.2013 um 04:58 schrieb Stephens, Kenny ksteph...@hsutx.edu: This fails for me. I commented my approach and replaced it with yours. Here is what that section of the file now looks like: %\define\syllabusheader{% % \vskip0.1mm % \bTABLE[frame=off,width=\textwidth] % \setupTABLE[c][1][width=fit, align=raggedright,style={\bfb\ss}] % \setupTABLE[c][2][width=broad,align=center, style={\bfd\ss}] % \setupTABLE[c][3][width=fit, align=raggedleft, style={\bfb\ss}] % \bTR \bTD Left \eTD \bTD Center \eTD \bTD Right \eTD \eTR % \eTABLE % } %\setupheadertexts[{\framed[corner=09,width=broad,align=center,height=\headerheight]% % {\syllabusheader}}] \startsetups[header] \startframed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex] \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \stopframed \stopsetups \setupheadertexts[\texsetup{header}] Use the normal \framed command and replace \texsetup with \setups in \setupheadertexts and it will also work with your older version of context. \startsetups[header] \framed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]\bgroup \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \egroup \stopsetups \setupheadertexts[\setups{header}] When you have a longer text for all three fields you need a different solution because \startoverlay … \stopoverlay can only position texts which fit in a single line. \startsetups[header] \framed[corner=09,width=max,height=max,foregroundstyle=\ss\bfb,offset=1ex]\bgroup \framed[frame=off,height=\vsize,width=.33\hsize,align={low,flushleft}] {Left} \framed[frame=off,height=\vsize,width=.33\hsize,align={low,middle}]{Middle} \framed[frame=off,height=\vsize,width=.33\hsize,align={low,flushright}]{Right} \egroup \stopsetups \setupheadertexts[\setups{header}] Wolfgang ___ 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 ___
Re: [NTG-context] split natural table
Use the normal \framed command and replace \texsetup with \setups in \setupheadertexts and it will also work with your older version of context. \startsetups[header] \framed[corner=09,width=max,height=max,align={middle,low},foregroundstyle=\ss\bfb,offset=1ex]\bgroup \startoverlay {\leftaligned {Left}} {\midaligned {Middle}} {\rightaligned{Right}} \stopoverlay \egroup \stopsetups \setupheadertexts[\setups{header}] When you have a longer text for all three fields you need a different solution because \startoverlay … \stopoverlay can only position texts which fit in a single line. \startsetups[header] \framed[corner=09,width=max,height=max,foregroundstyle=\ss\bfb,offset=1ex]\bgroup \framed[frame=off,height=\vsize,width=.33\hsize,align={low,flushleft}] {Left} \framed[frame=off,height=\vsize,width=.33\hsize,align={low,middle}]{Middle} \framed[frame=off,height=\vsize,width=.33\hsize,align={low,flushright}]{Right} \egroup \stopsetups \setupheadertexts[\setups{header}] Wolfgang ___ I could not use \framed[corner=09,width=MAX,height=MAX,foregroundstyle=\ss\bfb,offset=1ex]\bgroup but \framed[corner=09,width=broad,height=\headerheight,foregroundstyle=\ss\bfb,offset=1ex]\bgroup worked perfectly. Many thanks. Keep up the good work on ConTeXt---it's becoming my favorite tool for creating materials for my courses, reports, letters, etc. Kenny ___ 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 ___
Re: [NTG-context] split natural table over columns
Johan Sandblom wrote: What is missing from the example that started the thread? Nothing, but I think it would be a waste of time. Instead of a one column table (of this size) I would use \startitemize[n,columns,three] or simply change the orientation of the table and use column spanning (columns.pdf). In my eyes a one column table is the wrong approach to present such content. Peter Johan 2006/9/26, Peter Rolf [EMAIL PROTECTED]: Hi Johan, Johan Sandblom wrote: Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table line is horizontally aligned inside of columns (and pages)? Sounds like overkill to me ;) I don't understand how you mean with offsets or empty columns, do you have an example? I wanted the functionality for a very narrow table in a booklet where paper economy is a great concern. It does not matter if it is horizontally aligned, a hole at the end (though ugly) might still save an entire page for other useful information. Of course it is overkill, but since every strange request on this list usually leads to a pointer to functionality implemented several years back, I figured it couldn't hurt to ask ... Sorry, I have missed that your test table has only one column (really narrow). So offset and empty column are pretty useless. :) I thought there were 9 table columns, that should be split over the three page columns. So all depends on the exact size of your table. Can you make a minimal example? Greetings, Peter Johan Peter For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Good point, in the actual case there were two columns, a name and a number. The reason for using the table is align the name to the left and the number to the right. So a more realistic example is something like \starttext \bTABLE \setupTABLE[c][1][align=right] \setupTABLE[c][2][align=left] \dorecurse{10}{ \bTR\bTD foo\eTD\bTD 123\eTD\eTR \bTR\bTD b \eTD\bTD 123456\eTD\eTR} \eTABLE \stoptext Thank you for your interest. Regards, Johan 2006/9/27, Peter Rolf [EMAIL PROTECTED]: Johan Sandblom wrote: What is missing from the example that started the thread? Nothing, but I think it would be a waste of time. Instead of a one column table (of this size) I would use \startitemize[n,columns,three] or simply change the orientation of the table and use column spanning (columns.pdf). In my eyes a one column table is the wrong approach to present such content. Peter Johan 2006/9/26, Peter Rolf [EMAIL PROTECTED]: Hi Johan, Johan Sandblom wrote: Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table line is horizontally aligned inside of columns (and pages)? Sounds like overkill to me ;) I don't understand how you mean with offsets or empty columns, do you have an example? I wanted the functionality for a very narrow table in a booklet where paper economy is a great concern. It does not matter if it is horizontally aligned, a hole at the end (though ugly) might still save an entire page for other useful information. Of course it is overkill, but since every strange request on this list usually leads to a pointer to functionality implemented several years back, I figured it couldn't hurt to ask ... Sorry, I have missed that your test table has only one column (really narrow). So offset and empty column are pretty useless. :) I thought there were 9 table columns, that should be split over the three page columns. So all depends on the exact size of your table. Can you make a minimal example? Greetings, Peter Johan Peter For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Johan Sandblom wrote: Good point, in the actual case there were two columns, a name and a number. The reason for using the table is align the name to the left and the number to the right. So a more realistic example is something like \starttext \bTABLE \setupTABLE[c][1][align=right] \setupTABLE[c][2][align=left] \dorecurse{10}{ \bTR\bTD foo\eTD\bTD 123\eTD\eTR \bTR\bTD b \eTD\bTD 123456\eTD\eTR} \eTABLE \stoptext So there is no need to split that table. I would suggest to only rearrange it a bit for your column layout. Also TABLE is not the best choise here (I'm no table expert, but I think table is better here). %\SetTableToWidth\hsize \starttable[|l|r|l|r|] \dorecurse{10}{% \VL foo \NC 123 \VL[2] b \NC 12345 \VL\AR} \stoptable For more details about table see http://wiki.contextgarden.net/Table HTH, Peter Thank you for your interest. Regards, Johan 2006/9/27, Peter Rolf [EMAIL PROTECTED]: Johan Sandblom wrote: What is missing from the example that started the thread? Nothing, but I think it would be a waste of time. Instead of a one column table (of this size) I would use \startitemize[n,columns,three] or simply change the orientation of the table and use column spanning (columns.pdf). In my eyes a one column table is the wrong approach to present such content. Peter Johan 2006/9/26, Peter Rolf [EMAIL PROTECTED]: Hi Johan, Johan Sandblom wrote: Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table line is horizontally aligned inside of columns (and pages)? Sounds like overkill to me ;) I don't understand how you mean with offsets or empty columns, do you have an example? I wanted the functionality for a very narrow table in a booklet where paper economy is a great concern. It does not matter if it is horizontally aligned, a hole at the end (though ugly) might still save an entire page for other useful information. Of course it is overkill, but since every strange request on this list usually leads to a pointer to functionality implemented several years back, I figured it couldn't hurt to ask ... Sorry, I have missed that your test table has only one column (really narrow). So offset and empty column are pretty useless. :) I thought there were 9 table columns, that should be split over the three page columns. So all depends on the exact size of your table. Can you make a minimal example? Greetings, Peter Johan Peter For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Peter Rolf wrote: Johan Sandblom wrote: Good point, in the actual case there were two columns, a name and a number. The reason for using the table is align the name to the left and the number to the right. So a more realistic example is something like \starttext \bTABLE \setupTABLE[c][1][align=right] \setupTABLE[c][2][align=left] \dorecurse{10}{ \bTR\bTD foo\eTD\bTD 123\eTD\eTR \bTR\bTD b \eTD\bTD 123456\eTD\eTR} \eTABLE \stoptext So there is no need to split that table. I would suggest to only rearrange it a bit for your column layout. Also TABLE is not the best choise here (I'm no table expert, but I think table is better here). %\SetTableToWidth\hsize \starttable[|l|r|l|r|] \HL \dorecurse{10}{% \VL foo \NC 123 \VL[2] b \NC 12345 \VL\AR} \HL \stoptable For more details about table see http://wiki.contextgarden.net/Table HTH, Peter I missed the horizontal ones :D ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] split natural table over columns
Is it possible to make a natural table split over columns or columnsets? For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Johan Sandblom wrote: Is it possible to make a natural table split over columns or columnsets? For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext pretty complex: balancing and afterwards splitting graphics and such; beyond my current ambitions -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Hi Johan, Johan Sandblom wrote: Is it possible to make a natural table split over columns or columnsets? see http://wiki.contextgarden.net/Tables_Overview what is possible and what is not. Currently only *linetable* is supporting horizontal splitting. The syntax looks similar to TABLE, but I don't know the details (never used it). Anyhow worth a try... http://wiki.contextgarden.net/Linetable But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table line is horizontally aligned inside of columns (and pages)? Sounds like overkill to me ;) Peter For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table line is horizontally aligned inside of columns (and pages)? Sounds like overkill to me ;) I don't understand how you mean with offsets or empty columns, do you have an example? I wanted the functionality for a very narrow table in a booklet where paper economy is a great concern. It does not matter if it is horizontally aligned, a hole at the end (though ugly) might still save an entire page for other useful information. Of course it is overkill, but since every strange request on this list usually leads to a pointer to functionality implemented several years back, I figured it couldn't hurt to ask ... Johan Peter For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context -- Johan Sandblom N8, MRC, Karolinska sjh t +46851776108 17176 Stockholm m +46735521477 Sweden What is wanted is not the will to believe, but the will to find out, which is the exact opposite - Bertrand Russell ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split natural table over columns
Hi Johan, Johan Sandblom wrote: Hi But I don't understand why you want to split a table over columns. You can reach this effect by using offsets (or empty columns if you use backgrounds or frames), beside from the (in my eyes) strange look. And how will you guarantee that a complete table line is horizontally aligned inside of columns (and pages)? Sounds like overkill to me ;) I don't understand how you mean with offsets or empty columns, do you have an example? I wanted the functionality for a very narrow table in a booklet where paper economy is a great concern. It does not matter if it is horizontally aligned, a hole at the end (though ugly) might still save an entire page for other useful information. Of course it is overkill, but since every strange request on this list usually leads to a pointer to functionality implemented several years back, I figured it couldn't hurt to ask ... Sorry, I have missed that your test table has only one column (really narrow). So offset and empty column are pretty useless. :) I thought there were 9 table columns, that should be split over the three page columns. So all depends on the exact size of your table. Can you make a minimal example? Greetings, Peter Johan Peter For instance below I would like three cells in each column \starttext \startcolumns{3} \placetable{}{ \bTABLE[split=repeat] \dorecurse{9}{\bTR\bTD ha \eTD\eTR} \eTABLE} \stopcolumns \stoptext ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context