[NTG-context] \setupcolumnsetlines does not work again
I thought I understood the mechanism, but I found another instance where \setupcolumnsetlines does not give the desired result: %%% \definecolumnset[Two][n=2] \starttext Test %\page \setupcolumnsetlines[Two][1][1][9] \startcolumnset[Two] \input knuth \stopcolumnset \setupcolumnsetlines[Two][1][1][9] \startcolumnset[Two] \input knuth \stopcolumnset \stoptext %%% This setup gives indeed a balanced first page and an unbalanced second page. But if the fourth line (\page) is uncommented, the second output page is unbalanced and the third page is balanced. So the mechanism is therefore more complicated than > only if the first columnset extends to more than one page > the next \setupcolumnsetlines will work properly. What is the extended rule? If this intended behaviour, what is the reason behind it? Sytse > Op 17 augustus 2019 om 23:54 schreef Sytse Knypstra : > > > Wolfgang wrote: > > The settings for the second columnset work when the first columnset goes > > over of two or more pages. > > Thank you, now I understand the mechanism: only if the first columnset > extends to more than one page, the next \setupcolumnsetlines will work > properly. Is this a bug or a feature? If it is a feature, what is the idea > behind it? > > Sytse ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
Wolfgang wrote: > The settings for the second columnset work when the first columnset goes over > of two or more pages. Thank you, now I understand the mechanism: only if the first columnset extends to more than one page, the next \setupcolumnsetlines will work properly. Is this a bug or a feature? If it is a feature, what is the idea behind it? Sytse ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
Thank you, Denis and Wolfgang. Wolfgang, your sentence > No, you set relative numbers (I checked it) but the first columnset > environment ends on the third page because you leave just enough > space on the second page to fit the text which produces an empty > third page. is not clear to me. If \setupcolumnsetlines has to be specified before \starttext and if the second parameter denotes the absolute page number of the column to be limited, then the following example still does not work correctly for the second page (ouput consists of two pages). \definecolumnset[Two][n=2] \setupcolumnsetlines[Two][1][1][9] \setupcolumnsetlines[Two][2][1][9] \starttext \startcolumnset[Two] \input knuth \stopcolumnset \startcolumnset[Two] \input knuth \stopcolumnset \stoptext Sytse > Op 17 augustus 2019 om 15:14 schreef Denis Maier : > > > Ok, have tried it now. No change ... > > Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier : > > > Also, what about \setupcolumnsetlines[Two][2][1][9]? > > > > Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: > > > >> If I am remembering correctly, the documentation has \setupcolumnsetlines > >> before \starttext. > >> > >> Sytse Knypstra schrieb am Sa., 17. Aug. 2019, > >> 12:59: > >> > >>> In an effort to balance columns in a columnset layout, I found that in > >>> the following minimal example this effect is not obtained. > >>> After commenting out the first three lines after \starttext the result > >>> is ok. > >>> I am wondering what I overlooked this time. > >>> > >>> \definecolumnset[Two][n=2] > >>> \starttext > >>>\startcolumnset[Two] > >>> \input knuth > >>>\stopcolumnset > >>>\page > >>>\setupcolumnsetlines[Two][1][1][9] > >>>\startcolumnset[Two] > >>> \input knuth > >>>\stopcolumnset > >>> \stoptext > >>> > >>> Thank you for your suggestions, > >>> > >>> Sytse Knypstra > >>> > >>> ___ > >>> 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://context.aanhet.net > >>> archive : https://bitbucket.org/phg/context-mirror/commits/ > >>> wiki : http://contextgarden.net > >>> > >>> ___ > >>> > >> > Op 17 augustus 2019 om 15:50 schreef Denis Maier : > > > This here works for the first columnset, but not for the second one: > > = > \usemodule[newcolumnsets] > > \definecolumnset[One][n=2] > > \setupcolumnsetlines[One][1][1][9] > \setupcolumnsetlines[One][1][2][9] > \setupcolumnsetlines[One][2][1][9] > \setupcolumnsetlines[One][2][2][9] > > \definecolumnset[Two][n=2] > \setupcolumnsetlines[Two][1][1][9] > \setupcolumnsetlines[Two][1][2][9] > \setupcolumnsetlines[Two][2][1][9] > \setupcolumnsetlines[Two][2][2][9] > > \starttext >\startcolumnset[One] > \input knuth > > \input knuth > \stopcolumnset > > \startcolumnset[Two] > \input knuth > > \input knuth > \stopcolumnset > \stoptext > === > > Am Sa., 17. Aug. 2019 um 15:14 Uhr schrieb Denis Maier : > > > Ok, have tried it now. No change ... > > > > Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier > >: > > > >> Also, what about \setupcolumnsetlines[Two][2][1][9]? > >> > >> Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: > >> > >>> If I am remembering correctly, the documentation has > >>> \setupcolumnsetlines before \starttext. > >>> > >>> Sytse Knypstra schrieb am Sa., 17. Aug. 2019, > >>> 12:59: > >>> > In an effort to balance columns in a columnset layout, I found that in > the following minimal example this effect is not obtained. > After commenting out the first three lines after \starttext the result > is ok. > I am wondering what I overlooked this time. > > \definecolumnset[Two][n=2] > \starttext > \startcolumnset[Two] > \input knuth > \stopcolumnset > \page > \setupcolumnsetlines[Two][1][1][9] > \startcolumnset[Two] > \input knuth > \stopcolumnset > \stoptext > > Thank you for your suggestions, > > Sytse Knypstra > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > > ___
Re: [NTG-context] \setupcolumnsetlines does not work
Denis Maier schrieb am 17.08.2019 um 17:49: Ok. With this I don't get the empty page. But the setupcolumnsetlines has still no effecgt for the second environment. === \definecolumnset[One][n=2] \setupcolumnsetlines[One][1][1][9] \definecolumnset[Two][n=2] \setupcolumnsetlines[Two][1][1][5] \starttext \startcolumnset[One] \input knuth \stopcolumnset \startcolumnset[Two] \input knuth \stopcolumnset \stoptext The settings for the second columnset work when the first columnset goes over of two or more pages. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
Denis Maier schrieb am 17.08.2019 um 16:45: Ok. So no need to load the module first. Good. So the second argument is an absolute pagenumber, not relative to where to columnset starts... But then, this here should work: No, you set relative numbers (I checked it) but the first columnset environment ends on the third page because you leave just enough space on the second page to fit the text which produces an empty third page. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
Denis Maier schrieb am 17.08.2019 um 15:50: This here works for the first columnset, but not for the second one: = \usemodule[newcolumnsets] The new code base is used by default and you don't have to load the module. \definecolumnset[One][n=2] \setupcolumnsetlines[One][1][1][9] \setupcolumnsetlines[One][1][2][9] \setupcolumnsetlines[One][2][1][9] \setupcolumnsetlines[One][2][2][9] \definecolumnset[Two][n=2] \setupcolumnsetlines[Two][1][1][9] \setupcolumnsetlines[Two][1][2][9] \setupcolumnsetlines[Two][2][1][9] \setupcolumnsetlines[Two][2][2][9] The second argument expects the page number of the column where want to change the number of lines. In your example the second environment starts at page 3 but you change the lines only for the first and second page. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
This here works for the first columnset, but not for the second one: = \usemodule[newcolumnsets] \definecolumnset[One][n=2] \setupcolumnsetlines[One][1][1][9] \setupcolumnsetlines[One][1][2][9] \setupcolumnsetlines[One][2][1][9] \setupcolumnsetlines[One][2][2][9] \definecolumnset[Two][n=2] \setupcolumnsetlines[Two][1][1][9] \setupcolumnsetlines[Two][1][2][9] \setupcolumnsetlines[Two][2][1][9] \setupcolumnsetlines[Two][2][2][9] \starttext \startcolumnset[One] \input knuth \input knuth \stopcolumnset \startcolumnset[Two] \input knuth \input knuth \stopcolumnset \stoptext === Am Sa., 17. Aug. 2019 um 15:14 Uhr schrieb Denis Maier : > Ok, have tried it now. No change ... > > Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier >: > >> Also, what about \setupcolumnsetlines[Two][2][1][9]? >> >> Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: >> >>> If I am remembering correctly, the documentation has >>> \setupcolumnsetlines before \starttext. >>> >>> Sytse Knypstra schrieb am Sa., 17. Aug. 2019, >>> 12:59: >>> In an effort to balance columns in a columnset layout, I found that in the following minimal example this effect is not obtained. After commenting out the first three lines after \starttext the result is ok. I am wondering what I overlooked this time. \definecolumnset[Two][n=2] \starttext \startcolumnset[Two] \input knuth \stopcolumnset \page \setupcolumnsetlines[Two][1][1][9] \startcolumnset[Two] \input knuth \stopcolumnset \stoptext Thank you for your suggestions, Sytse Knypstra ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
Ok, have tried it now. No change ... Am Sa., 17. Aug. 2019 um 13:33 Uhr schrieb Denis Maier : > Also, what about \setupcolumnsetlines[Two][2][1][9]? > > Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: > >> If I am remembering correctly, the documentation has \setupcolumnsetlines >> before \starttext. >> >> Sytse Knypstra schrieb am Sa., 17. Aug. 2019, >> 12:59: >> >>> In an effort to balance columns in a columnset layout, I found that in >>> the following minimal example this effect is not obtained. >>> After commenting out the first three lines after \starttext the result >>> is ok. >>> I am wondering what I overlooked this time. >>> >>> \definecolumnset[Two][n=2] >>> \starttext >>>\startcolumnset[Two] >>> \input knuth >>>\stopcolumnset >>>\page >>>\setupcolumnsetlines[Two][1][1][9] >>>\startcolumnset[Two] >>> \input knuth >>>\stopcolumnset >>> \stoptext >>> >>> Thank you for your suggestions, >>> >>> Sytse Knypstra >>> >>> ___ >>> 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://context.aanhet.net >>> archive : https://bitbucket.org/phg/context-mirror/commits/ >>> 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
Also, what about \setupcolumnsetlines[Two][2][1][9]? Denis Maier schrieb am Sa., 17. Aug. 2019, 13:32: > If I am remembering correctly, the documentation has \setupcolumnsetlines > before \starttext. > > Sytse Knypstra schrieb am Sa., 17. Aug. 2019, > 12:59: > >> In an effort to balance columns in a columnset layout, I found that in >> the following minimal example this effect is not obtained. >> After commenting out the first three lines after \starttext the result is >> ok. >> I am wondering what I overlooked this time. >> >> \definecolumnset[Two][n=2] >> \starttext >>\startcolumnset[Two] >> \input knuth >>\stopcolumnset >>\page >>\setupcolumnsetlines[Two][1][1][9] >>\startcolumnset[Two] >> \input knuth >>\stopcolumnset >> \stoptext >> >> Thank you for your suggestions, >> >> Sytse Knypstra >> >> ___ >> 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://context.aanhet.net >> archive : https://bitbucket.org/phg/context-mirror/commits/ >> 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] \setupcolumnsetlines does not work
If I am remembering correctly, the documentation has \setupcolumnsetlines before \starttext. Sytse Knypstra schrieb am Sa., 17. Aug. 2019, 12:59: > In an effort to balance columns in a columnset layout, I found that in the > following minimal example this effect is not obtained. > After commenting out the first three lines after \starttext the result is > ok. > I am wondering what I overlooked this time. > > \definecolumnset[Two][n=2] > \starttext >\startcolumnset[Two] > \input knuth >\stopcolumnset >\page >\setupcolumnsetlines[Two][1][1][9] >\startcolumnset[Two] > \input knuth >\stopcolumnset > \stoptext > > Thank you for your suggestions, > > Sytse Knypstra > > ___ > 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://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] \setupcolumnsetlines does not work
In an effort to balance columns in a columnset layout, I found that in the following minimal example this effect is not obtained. After commenting out the first three lines after \starttext the result is ok. I am wondering what I overlooked this time. \definecolumnset[Two][n=2] \starttext \startcolumnset[Two] \input knuth \stopcolumnset \page \setupcolumnsetlines[Two][1][1][9] \startcolumnset[Two] \input knuth \stopcolumnset \stoptext Thank you for your suggestions, Sytse Knypstra ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___