Re: [NTG-context] misbehaving \column
Mojca Miklavec wrote: On Sat, Oct 4, 2008 at 10:24 AM, luigi scarso wrote: Every columnset starts a new page. Maybe I need to try simplecolumns now :) Or well ... \bTABLE ... \eTABLE. Aren't columnset powerful enought ? From the manual Probably they are, I just need to swap contents between more columns (content in first column, image in the second one, content in second column, image in the first one...), but I can treat text as figure and place it on the right. normal columns permit stopping and starting new columns in the middle of the page, while columnsets apparently don't. The simplecolumns are perhaps the best idea. \column has been broken since before the turn of the century. :-( 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://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Taco Hoekwater wrote: Mojca Miklavec wrote: On Sat, Oct 4, 2008 at 10:24 AM, luigi scarso wrote: Every columnset starts a new page. Maybe I need to try simplecolumns now :) Or well ... \bTABLE ... \eTABLE. Aren't columnset powerful enought ? From the manual Probably they are, I just need to swap contents between more columns (content in first column, image in the second one, content in second column, image in the first one...), but I can treat text as figure and place it on the right. normal columns permit stopping and starting new columns in the middle of the page, while columnsets apparently don't. The simplecolumns are perhaps the best idea. \column has been broken since before the turn of the century. :-( because ther eis no native column mechanism, \column comes in some variants and it depends on the circumstances what works best (esp related to grids and such) Hans - 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 - ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
On Sat, Oct 4, 2008 at 10:24 AM, luigi scarso wrote: Every columnset starts a new page. Maybe I need to try simplecolumns now :) Or well ... \bTABLE ... \eTABLE. Aren't columnset powerful enought ? From the manual Probably they are, I just need to swap contents between more columns (content in first column, image in the second one, content in second column, image in the first one...), but I can treat text as figure and place it on the right. normal columns permit stopping and starting new columns in the middle of the page, while columnsets apparently don't. It's just a bit confusing when bugs-strategy change start making the work more fun when you think that you are almost done :) :) :) [normal columns work in 95% of the document, so I'm not going to replace that part now just to hit another bug :) But I'll know for the next time.] Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Am 2008-10-03 um 18:40 schrieb Mojca Miklavec: The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \input tufte \stopcolumns \input tufte \stoptext I'm complaining since about 2002 that \column does nothing (at least not reliably) within \startcolums ... \stopcolumns. Finally I resorted to column sets, that works for me. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Am 04.10.2008 um 01:51 schrieb Mojca Miklavec: On Sat, Oct 4, 2008 at 12:54 AM, Wolfgang Schuster wrote: One more question: how can I say please keep this content together when typsetting in columns on grid? \vbox behaves a bit weird, but most important: it does not align baselines properly. \interlinepenalty=1 So like this: \long\def\startpleasekeepmetogether#1\stoppleasekeepmetogether {\hereshouldprobablybesomepenaltyfixtoallowcolumnbreak \bgroup\interlinepenalty=1#1\egroup} ? I alweays fear using such constructs since I have a feeling that ConTeXt has something better to offer, but colums seem a bit problematic anyway. \definestartstop [pleasekeepmetogether] [commands=\setups{pleasekeepmetogether}] \startsetups pleasekeepmetogether %\interlinepenalty\plustenthousand \setpenalties\interlinepenalties{100}\maxdimen \stopsetups \showframe \starttext \dorecurse{9}{\input ward\par} \startpleasekeepmetogether \input tufte\par \stoppleasekeepmetogether \dorecurse{3}{\input ward\par} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Every columnset starts a new page. Maybe I need to try simplecolumns now :) Or well ... \bTABLE ... \eTABLE. Aren't columnset powerful enought ? From the manual \usemodules[visual] %% \definecolumnset[example][n=4] %% \starttext %% \startbuffer %% \fakewords{100}{200} %% \placefigure{}{\externalfigure[placeholder][width=\One]} %% \fakewords{100}{200} %% \placefigure{}{\externalfigure[placeholder][width=\Two]} %% \fakewords{100}{200} %% \stopbuffer %% \startcolumnset[example] %%\definecolumnsethsize{example}{1}{1}\One %%\definecolumnsethsize{example}{1}{2}\Two %%\dorecurse{5}{\getbuffer} %%\dorecurse{10}{\fakewords{100}{200}\par} %% \stopcolumnset %% \stoptext \definecolumnset[example][n=4] \starttext \startbuffer \placefigure[tbrl]{tblr}{\externalfigure[fake][width=\One, lines=5]} \placefigure[fxtb:2*4]{fxtb}{\externalfigure[fake][width=\Two, lines=5]} \placefigure[btlr]{btlr}{\externalfigure[fake][width=\Two, lines=5]} \placefigure[btlr]{btlr}{\externalfigure[fake][width=\Three,lines=5]} \dorecurse{5}{\fakewords{100}{200}\par} \stopbuffer \startcolumnset[example] \definecolumnsethsize{example}{1}{1}\One \definecolumnsethsize{example}{1}{2}\Two \definecolumnsethsize{example}{1}{3}\Three \dorecurse{4}{\getbuffer} \stopcolumnset \stoptext %% \definecolumnset[example][n=4] %% \starttext %% \startcolumnset[example] %% \placefigure[btlr]{brlr}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[btlr]{brlr}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[btrl]{btrl}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[btrl]{btrl}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[tblr]{tblr}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[tblr]{tblr}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[tbrl]{tbrl}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[tbrl]{tbrl}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[lrbt]{lrbt}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[lrbt]{lrbt}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[lrtb]{lrtb}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[lrtb]{lrtb}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[rlbt]{rlbt}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[rlbt]{rlbt}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[rltb]{rltb}{\externalfigure[fake][width=\textwidth,lines=3]} %% \placefigure[rltb]{rltb}{\externalfigure[fake][width=\textwidth,lines=3]} %% \dorecurse{10}{\fakewords{50}{100}\par} %% \stopcolumnset %% \stoptext One more question: how can I say please keep this content together when typsetting in columns on grid? \vbox behaves a bit weird, but most important: it does not align baselines properly. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- luigi ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] misbehaving \column
Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \input tufte \stopcolumns \input tufte \stoptext Thanks a lot, Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Am 03.10.2008 um 18:40 schrieb Mojca Miklavec: Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] \input tufte \stopcolumns \input tufte \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
On Fri, Oct 3, 2008 at 6:40 PM, Mojca Miklavec wrote: Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. ... or, sometimes (rather often), the content after column stays on the same column and continues infinitely way below the bottom of the page. Mojca This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \input tufte \stopcolumns \input tufte \stoptext Thanks a lot, Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
On Fri, Oct 3, 2008 at 7:31 PM, Wolfgang Schuster wrote: Am 03.10.2008 um 18:40 schrieb Mojca Miklavec: Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] But I would need \column[verybigpreference] then. It doesn't make a columnt break at all. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Am 03.10.2008 um 21:46 schrieb Mojca Miklavec: On Fri, Oct 3, 2008 at 7:31 PM, Wolfgang Schuster wrote: Am 03.10.2008 um 18:40 schrieb Mojca Miklavec: Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] But I would need \column[verybigpreference] then. It doesn't make a columnt break at all. \installcolumnbreakhandler {MUL} \v!bigpreference {\vfill\penalty-} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
On Fri, Oct 3, 2008 at 10:12 PM, Wolfgang Schuster wrote: Am 03.10.2008 um 21:46 schrieb Mojca Miklavec: On Fri, Oct 3, 2008 at 7:31 PM, Wolfgang Schuster wrote: Am 03.10.2008 um 18:40 schrieb Mojca Miklavec: Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] But I would need \column[verybigpreference] then. It doesn't make a columnt break at all. \installcolumnbreakhandler {MUL} \v!bigpreference {\vfill\penalty-} \unprotect \installcolumnbreakhandler {MUL} \v!bigpreference {\vfill\penalty-} \protect \startcolumns ... \column[bigpreference] ... \stopcolumns} Still no break. Hans suggested me to use columnsets, but those are spinning as well. \definecolumnset[two][n=2] \starttext \startcolumnset[two] \input tufte \column \placefigure{none} {\rotate[rotation=15]{\externalfigure[dummy][width=.8\textwidth]}} \stopcolumnset \startcolumnset[two] \placefigure{none} {\rotate[rotation=-10]{\externalfigure[dummy][width=.8\textwidth]}} \column \input tufte \stopcolumnset \stoptext Every columnset starts a new page. Maybe I need to try simplecolumns now :) Or well ... \bTABLE ... \eTABLE. One more question: how can I say please keep this content together when typsetting in columns on grid? \vbox behaves a bit weird, but most important: it does not align baselines properly. Mojca ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
Am 03.10.2008 um 23:57 schrieb Mojca Miklavec: On Fri, Oct 3, 2008 at 10:12 PM, Wolfgang Schuster wrote: Am 03.10.2008 um 21:46 schrieb Mojca Miklavec: On Fri, Oct 3, 2008 at 7:31 PM, Wolfgang Schuster wrote: Am 03.10.2008 um 18:40 schrieb Mojca Miklavec: Hello, The \column command does not want to obey me ... The text following \column simply jumps to the next page. This time I cannot think of any workaround :( Well, in the worst case I can still insert a table. \starttext \section{first} \dorecurse{80}{dummy } \startcolumns \externalfigure[dummy][width=\textwidth] \input tufte \column \column[preference] or \testcolumn[0] But I would need \column[verybigpreference] then. It doesn't make a columnt break at all. \installcolumnbreakhandler {MUL} \v!bigpreference {\vfill\penalty-} \unprotect \installcolumnbreakhandler {MUL} \v!bigpreference {\vfill\penalty-} \protect \startcolumns ... \column[bigpreference] ... \stopcolumns} Still no break. Hans suggested me to use columnsets, but those are spinning as well. \definecolumnset[two][n=2] \starttext \startcolumnset[two] \input tufte \column \placefigure{none} {\rotate[rotation=15]{\externalfigure[dummy][width=.8\textwidth]}} \stopcolumnset \startcolumnset[two] \placefigure{none} {\rotate[rotation=-10]{\externalfigure[dummy][width=.8\textwidth]}} \column \input tufte \stopcolumnset \stoptext Every columnset starts a new page. Maybe I need to try simplecolumns now :) Or well ... \bTABLE ... \eTABLE. One more question: how can I say please keep this content together when typsetting in columns on grid? \vbox behaves a bit weird, but most important: it does not align baselines properly. \interlinepenalty=1 You could also redefine to prohibit a pagebreak/columnbreak between paragraphs but these things should be done in a local group. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] misbehaving \column
On Sat, Oct 4, 2008 at 12:54 AM, Wolfgang Schuster wrote: One more question: how can I say please keep this content together when typsetting in columns on grid? \vbox behaves a bit weird, but most important: it does not align baselines properly. \interlinepenalty=1 So like this: \long\def\startpleasekeepmetogether#1\stoppleasekeepmetogether {\hereshouldprobablybesomepenaltyfixtoallowcolumnbreak \bgroup\interlinepenalty=1#1\egroup} ? I alweays fear using such constructs since I have a feeling that ConTeXt has something better to offer, but colums seem a bit problematic anyway. You could also redefine to prohibit a pagebreak/columnbreak between paragraphs but these things should be done in a local group. It needs to be done locally anyway. I just need to keep some portions together. Mojca // My next project with Word Paint :) :) :) ___ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___