Re: [NTG-context] Options for \column (was: Columns with non-equal width; nested columns)
> Am 2019-09-25 um 22:29 schrieb Procházka Lukáš Ing. : > > NB: I've noticed many changes on wiki > (https://wiki.contextgarden.net/Special:RecentChanges) in last days issued by > you, Hraban, so thank you for maintaining wiki. You’re welcome! I’m working on my ConTeXt book as well as two books typeset with ConTeXt, so I use the wiki a lot. If I see something’s wrong or missing, I change that – if it’s not too much work, that is: Therefore, columns are a big todo. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] poem as a sidefloat
> Am 2019-09-25 um 22:10 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 25.09.2019 um 21:37: >> The following works, except: >> - There’s too much space (2 lines?) within the frame before the poem. > Use the framedtext environment. Ah, I didn’t expect \startframedtext to behave differently than \framedtext. >> - I’d like to insert some space below the float, spaceafter doesn’t work. > You nee sidespacebefore/after but you can only set it for *all* floats. Not good, but I’ll just setup my special case in a group. Thank you again & all the best, Hraban ___ 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] Options for \column (was: Columns with non-equal width; nested columns)
Hello, I extended the "Description" section at https://wiki.contextgarden.net/Command/column#Description by an incomplete list of options. Please try it and report back, i.e. document it in the wiki. Someone has to do it… The only effect I can see is when I use \column (= go to next column) and \column[last] (go to last column); just guessing what other options mean; and no idea what [3*5] does. I only ever used plain \column. So did I. And I tried \column[last] this time, too. So - anyone with better knowledge to fill meaning of the unknown \column options? BTW, what effect has using \column more times than \startcolumns[n=...] predicts? Best, Lukas NB: I've noticed many changes on wiki (https://wiki.contextgarden.net/Special:RecentChanges) in last days issued by you, Hraban, so thank you for maintaining wiki. Maybe the source helps further: https://source.contextgarden.net/tex/context/base/mkiv/page-cst.mkiv Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 ___ 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] poem as a sidefloat
Henning Hraban Ramm schrieb am 25.09.2019 um 21:37: The following works, except: - There’s too much space (2 lines?) within the frame before the poem. Use the framedtext environment. - I’d like to insert some space below the float, spaceafter doesn’t work. You nee sidespacebefore/after but you can only set it for *all* floats. \definefloat [poem] % \setupfloat % [sidespacebefore=medium] \setupfloat [poem] [background=color, backgroundcolor=cyan] \setupcaption [poem] [number=none] \starttext \dorecurse{2}{\samplefile{knuth}} \startplacefloat [poem] [location=left] \startframedtext [frame=off,width=fit,offset=0.25ex] \startlines [style=mono] lichtung manche meinen lechts und rinks kann man nicht velwechsern. werch ein illtum! \wordright{ernst jandl} \stoplines \stopframedtext \stopplacefloat \dorecurse{2}{\samplefile{knuth}} \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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] poem as a sidefloat
> Am 2019-09-25 um 20:45 schrieb Wolfgang Schuster > : > > Henning Hraban Ramm schrieb am 25.09.2019 um 19:35: >> Hi, I’d like to have a small poem beside my text. >> My approach doesn’t work, with or without \framed: >> >> Since I need this only once, I thought I don’t need to define or setup my >> own float. >> >> \setupfloat inherits from \setupframed, but the parameters width, style and >> background(color) don’t work. >> Aren’t they supposed to work in \startplacefloat? >> >> How can I suppress the caption? ("none" is supposed to work with >> \placefloat, but at least doesn’t in \startplacefloat) > The first argument of \startplacefloat takes the name of the float instance, > e.g. figure (\startplacefloat [figure]) and the second argument a limited > list of keys. All other options like the background color have to be set with > \setupfloat and \setupcation. >> With or without framed, vbox and lines didn’t change much. (Of course >> \framed adds a frame, but the text isn’t within). > You have to put the poem in a framed or framedtext environment with the > setting width=fit. There is no way to to do this with the float environment > alone. Thank you! The following works, except: - There’s too much space (2 lines?) within the frame before the poem. - I’d like to insert some space below the float, spaceafter doesn’t work. \definefloat[poem] \setupfloat[poem][ location=left, % doesn’t work width=0.33\textwidth, background=color,backgroundcolor=cyan, spaceafter=1em, % doesn’t work ] \setupcaption[poem][ location=none, number=no, ] \starttext \dorecurse{2}{\input knuth} \startplacefloat[poem][location=left,]% \framedtext[ frame=off, width=fit, style=\tt, %background=color,backgroundcolor=yellow, ]{% \startlines% lichtung manche meinen lechts und rinks kann man nicht velwechsern. werch ein illtum! \wordright{ernst jandl} \stoplines } \stopplacefloat \dorecurse{2}{\input knuth} \stoptext Grüßlinge, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] poem as a sidefloat
Henning Hraban Ramm schrieb am 25.09.2019 um 19:35: Hi, I’d like to have a small poem beside my text. My approach doesn’t work, with or without \framed: Since I need this only once, I thought I don’t need to define or setup my own float. \setupfloat inherits from \setupframed, but the parameters width, style and background(color) don’t work. Aren’t they supposed to work in \startplacefloat? How can I suppress the caption? ("none" is supposed to work with \placefloat, but at least doesn’t in \startplacefloat) The first argument of \startplacefloat takes the name of the float instance, e.g. figure (\startplacefloat [figure]) and the second argument a limited list of keys. All other options like the background color have to be set with \setupfloat and \setupcation. With or without framed, vbox and lines didn’t change much. (Of course \framed adds a frame, but the text isn’t within). You have to put the poem in a framed or framedtext environment with the setting width=fit. There is no way to to do this with the float environment alone. 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 ___
[NTG-context] poem as a sidefloat
Hi, I’d like to have a small poem beside my text. My approach doesn’t work, with or without \framed: Since I need this only once, I thought I don’t need to define or setup my own float. \setupfloat inherits from \setupframed, but the parameters width, style and background(color) don’t work. Aren’t they supposed to work in \startplacefloat? How can I suppress the caption? ("none" is supposed to work with \placefloat, but at least doesn’t in \startplacefloat) With or without framed, vbox and lines didn’t change much. (Of course \framed adds a frame, but the text isn’t within). \starttext \dorecurse{2}{\input knuth} \startplacefloat[ title=none, % doesn’t work numbering=no, % wrong location=left, width=.33\textwidth, % doesn’t work style=\tt, % doesn’t work background=color,backgroundcolor=cyan, % doesn’t work ]% %\framed[ % width=.33\textwidth, % style=\tt, % background=color,backgroundcolor=yellow, %]{\vbox{% \startlines lichtung manche meinen lechts und rinks kann man nicht velwechsern. werch ein illtum! \wordright{ernst jandl} \stoplines %}} \stopplacefloat \dorecurse{2}{\input knuth} \stoptext Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] This mailing list is not DKIM (DMARC) compatible
> On 16 Sep 2019, at 15:34, Gerben Wierda wrote: > > In addition: Lists should keep the From address, the Subject, and the Message > totally unchanged. They should add a Sender header to indicate their relay > role, and set at least the List-Id and List-Unsubscribe headers for mailbox > rules and subscription management. Well, we leave From alone, add Sender, List-Id, and List-Unsubscribe. That leaves Subject and Body, but I agree with Hraban in that I like both those features. I could turn munging on and see what happens? 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Columns with non-equal width; nested columns
> Am 2019-09-25 um 13:48 schrieb Procházka Lukáš Ing. : > > BTW, following "columnsets.pdf", \column has many options, unfortunately not > so clear for me; so: > > \column-> go to next column? > \column[] -> = \column? > \column[yes] -> = \column? > \column[page] -> go to first column on the new page? > \column[3] -> go to 3rd column - or skip 3 columns? > \column[first] -> go to first column, also go to next page if currently on > 2+th column? > \column[last] -> go to last column? > \column[3*5] -> ??? > > Any explanation would be nice. Please try it and report back, i.e. document it in the wiki. Someone has to do it… I only ever used plain \column. Maybe the source helps further: https://source.contextgarden.net/tex/context/base/mkiv/page-cst.mkiv Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] Columns with non-equal width; nested columns
Hello Hraban, On Wed, 25 Sep 2019 13:07:50 +0200, Henning Hraban Ramm wrote: If your ConTeXt installation is quite recent, you have texmf-context/doc/context/documents/general/manuals/pagecolumns.pdf This is quite new and I don’t know how usable. useful, thanks. (Hint for everyone: the "manuals" directory is a tresure trove!) (I can confirm!) BTW, following "columnsets.pdf", \column has many options, unfortunately not so clear for me; so: \column-> go to next column? \column[] -> = \column? \column[yes] -> = \column? \column[page] -> go to first column on the new page? \column[3] -> go to 3rd column - or skip 3 columns? \column[first] -> go to first column, also go to next page if currently on 2+th column? \column[last] -> go to last column? \column[3*5] -> ??? Any explanation would be nice. Best regards, Lukas Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 ___ 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] Columns with non-equal width; nested columns
Am 2019-09-25 um 11:39 schrieb Procházka Lukáš Ing. : > > - Altough I found some wiki material about column sets (e.g. > https://wiki.contextgarden.net/Command/setupcolumnsetstart or columns.pdf), I > found nothing about "page columns" - can you give me a link? Sorry, the wiki is very outdated and confusing in this regard. I’m planning to research and document columns better (my talk in Bassenge covered only a few aspects of old/new columns and columnsets), but have a lot of other things at hand… If your ConTeXt installation is quite recent, you have texmf-context/doc/context/documents/general/manuals/pagecolumns.pdf This is quite new and I don’t know how usable. (Hint for everyone: the "manuals" directory is a tresure trove!) Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD ___ 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] Columns with non-equal width; nested columns
Hello, thanks for reaction - so I'm starting with column sets (@Wolfgang: text from column 2a may flow into 2b). My code so far: \definecolumnset[example][n=3,balancing=no] \definecolumnsetspan[wide][n=2,background=contrast] \setupexternalfigures[location=default] \setuphead[subsubsubsubsubject][style=bold] \starttext \startcolumnset[example] \startcolumnsetspan[wide] \externalfigure[hacker][width=95mm] \stopcolumnsetspan \dorecurse{2}{ \subsubsubsubsubject{Sub} \input ward } \column \column \darkred \starttabulate[|rB|lp|] \NC a \NC AA \NC\NR \NC aa \NC AAA \NC\NR \stoptabulate \stopcolumnset \stoptext produces overlapping lines at the end of the first column. - How to avoid this? - Being in a columnset environment, is there a way to tell context "go to third column" (regardless in which column I am currently typing)? - Altough I found some wiki material about column sets (e.g. https://wiki.contextgarden.net/Command/setupcolumnsetstart or columns.pdf), I found nothing about "page columns" - can you give me a link? - All wiki examples use "1" at the place of "nesting level": " \setupcolumnsetstart[...][...][...][...] [...] columnset name [...] nesting level [...] number of individual column in columnset [...] starting line (1 = start at the top) ... \setupcolumnsetstart[three][1][1][15] ^ | -- HERE " Is there a sample which would use an other number? - I'm asking as I guess my task has to do with nested column sets. Best regards, Lukas On Tue, 24 Sep 2019 18:47:18 +0200, Henning Hraban Ramm wrote: Am 2019-09-24 um 15:44 schrieb Procházka Lukáš Ing. : I need to get columns like this: | | 1b | | 1a || +-+| | 2a | 2b || | | || I tried the following: \starttext \startcolumns[n=2] % How to tell that ratio between columns should be 2:1? \input knuth % Be 1a Such a layout is not possible with simple old columns. Try columnsets or page columns (see manuals of the same name). Greetlings, Hraban -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 t4.mkiv Description: Binary data t4.pdf Description: Adobe PDF document ___ 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 ___