Re: [NTG-context] columnsets messed up
> Am 02.07.2021 um 14:49 schrieb Henning Hraban Ramm : > In several articles I get a problem, and I can’t (yet) reproduce it in a MWE: > > The text in a two-column columnset suddenly breaks at the end of a left > column, the end is missing. > > Here’s an example PDF: > https://sedna.fiee.net/f/24d54a952b0243a98775/?dl=1 > > What could case that? Even curioser: If there isn’t a \page after \stopcolumnset, the second-to-last section (subject) disappears and the last one is typeset completely. (Later:) Ok, found it: \def\stopArticle{% \par\signArticle \doif{\getvariable{CG-Journal}{NOFColumns}}{>1} {\stopcolumnset} \page } --> \stopcolumnset is never executed, since \doif can’t handle ">1". – Did it ever or is this a regression? 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 ___
Re: [NTG-context] columnsets messed up
On 7/2/2021 11:03 AM, Henning Hraban Ramm wrote: Am 02.07.2021 um 08:51 schrieb Hans Hagen : On 7/1/2021 8:04 PM, Henning Hraban Ramm wrote: Hi, I’m working at the current CG journal whose layout uses columnsets. They aren’t usable any more. Same in current LMTX and MkIV. - the first line can start one or more lines lower - then the same number of lines is printed over each other at the bottom - it gets worse with footnotes (looks like their space isn’t considered at all) - if the column set doesn’t start at the top of the page, the second column does Hraban \definecolumnset[cgjcolset][n=2] \starttext \chapter{This is a chapter about column sets} \startcolumnset[cgjcolset] \dorecurse{20}{ \samplefile{sapolsky}\par } \stopcolumnset \stoptext Personally I'd never use columnsets for anything else than very controlled situations because that's what they were made for. Not to be mixed with the normal pagebuilder. So, first of all you need to operate on the grid (i can probably get rid of some side effects and maigt even force that but not now). Then, \chapter itself flushes pages so that should be disabled. Thank you, I got it mostly working now. The CGJ layout doesn’t actually use \chapter but its own convoluted \startArticle. Until last issue it tried to be flexible and setup three different column modes. Now I eliminated the last leftovers of that. I still struggle to understand some pecularities... What I did wrong: * \setuplayout[grid=yes] is important * you can’t start a columnsetspan before the columnset leter this year i will into the several column mechanisms (maybe also some mechanism to warn for mixed usage or use of features that interfere .. doing columns is hairy in tex) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] columnsets messed up
> Am 02.07.2021 um 08:51 schrieb Hans Hagen : > > On 7/1/2021 8:04 PM, Henning Hraban Ramm wrote: >> Hi, >> I’m working at the current CG journal whose layout uses columnsets. They >> aren’t usable any more. Same in current LMTX and MkIV. >> - the first line can start one or more lines lower >> - then the same number of lines is printed over each other at the bottom >> - it gets worse with footnotes (looks like their space isn’t considered at >> all) >> - if the column set doesn’t start at the top of the page, the second column >> does >> Hraban >> \definecolumnset[cgjcolset][n=2] >> \starttext >> \chapter{This is a chapter about column sets} >> \startcolumnset[cgjcolset] >> \dorecurse{20}{ >> \samplefile{sapolsky}\par >> } >> \stopcolumnset >> \stoptext > Personally I'd never use columnsets for anything else than very controlled > situations because that's what they were made for. Not to be mixed with the > normal pagebuilder. So, first of all you need to operate on the grid (i can > probably get rid of some side effects and maigt even force that but not now). > Then, \chapter itself flushes pages so that should be disabled. Thank you, I got it mostly working now. The CGJ layout doesn’t actually use \chapter but its own convoluted \startArticle. Until last issue it tried to be flexible and setup three different column modes. Now I eliminated the last leftovers of that. I still struggle to understand some pecularities... What I did wrong: * \setuplayout[grid=yes] is important * you can’t start a columnsetspan before the columnset 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 ___
Re: [NTG-context] columnsets messed up
On 7/1/2021 8:04 PM, Henning Hraban Ramm wrote: Hi, I’m working at the current CG journal whose layout uses columnsets. They aren’t usable any more. Same in current LMTX and MkIV. - the first line can start one or more lines lower - then the same number of lines is printed over each other at the bottom - it gets worse with footnotes (looks like their space isn’t considered at all) - if the column set doesn’t start at the top of the page, the second column does Hraban \definecolumnset[cgjcolset][n=2] \starttext \chapter{This is a chapter about column sets} \startcolumnset[cgjcolset] \dorecurse{20}{ \samplefile{sapolsky}\par } \stopcolumnset \stoptext Personally I'd never use columnsets for anything else than very controlled situations because that's what they were made for. Not to be mixed with the normal pagebuilder. So, first of all you need to operate on the grid (i can probably get rid of some side effects and maigt even force that but not now). Then, \chapter itself flushes pages so that should be disabled. Here is a simple example: \setuplayout[lines=40,grid=yes] \definecolumnset[cgjcolset][n=2] \starttext \definecolumnsetspan [chapter] [background=color, backgroundcolor=red] \setuphead[chapter][page=no,after=,before=] \startcolumnset[cgjcolset] \startcolumnsetspan[chapter] \chapter{This is a chapter about column sets} \stopcolumnsetspan \dorecurse{20}{ \samplefile{sapolsky}\par } \stopcolumnset \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Columnsets not balanced
Sytse knyps...@home.nl schrieb am 15.07.2019 um 13:09: Dear list, In the following example I would like to have the two columns balanced, i.e. with equal number of lines in both columns. But contrary to the option in the definition, all text is put in the leftmost column and the right-hand column remains empty. \definecolumnset[Two][balance=yes] \starttext \startcolumnset[Two] \input knuth \stopcolumnset \stoptext How can I automatically obtain balanced columns? Columnsets have no support for balanced columns. 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] columnsets
On Tue, 9 Feb 2016 20:05:01 +0100 Hans Hagenwrote: > I'm currently reimplementing columnsets and I'm wondering how many > users there are of this mechanism. How bad is it if the more obscure > features go away and others show up. I have used and liked columnsets, so I vote for their improvement. I find them particularly useful when composing A0 (scientific) posters. I will gladly adapt to their evolution. Alan ___ 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] columnsets
Am 2016-02-10 um 05:58 schrieb Alan BRASLAU: > On Tue, 9 Feb 2016 20:05:01 +0100 > Hans Hagen wrote: > >> I'm currently reimplementing columnsets and I'm wondering how many >> users there are of this mechanism. How bad is it if the more obscure >> features go away and others show up. > > I have used and liked columnsets, so I vote for their improvement. I > find them particularly useful when composing A0 (scientific) posters. I > will gladly adapt to their evolution. The same. I need to adapt my ConTeXt sources anyway every time I try to use them... Greetlings, Hraban --- http://www.fiee.net 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columnsets error in 2.08 beta
On 2012-02-15 09:52, Peter Park Nelson wrote: BTW, is it possible to revert the Context standalone installation to an earlier beta (without going all the way back to the last stable)? Hi Peter, there is a git mirror at http://repo.or.cz/w/context.git/shortlog/refs/heads/origin If you don’t want to clone the whole thing, just pick one snapshot of your liking from the web interface and download it. Then, untar it and replace the contents of the directory tex/texmf-context/ of your minimals/standalone installation with the files from the snapshot. (Just to be safe you should not merely copy everything but delete the old files first.) Finally, rebuild the format and file database: context --generate context --make and check if it worked: context --version If the string “current version: .mm.dd HH:MM” shows the date of the snapshot you chose, you have successfully reverted to an earlier beta. Hth, Philipp Error below: (K2.tex ConTeXt ver: 2012.02.08 21:58 MKIV fmt: 2012.2.15 int: english/english system cont-new.mkiv loaded (/home/peter/contextbeta/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system K2.top loaded system options start used options used options % runtime options files (command line driven) used options \unprotect used options % feedback and basic job control used options % handy for special styles used options \startluacode used options document = document or { } used options document.arguments={ used options } used options document.files={ used options K2.tex, used options } used options \stopluacode used options % process info used options \setupsystem[inputfile=K2.tex] used options \setupsystem[\c!n=1,\c!m=1] used options % modes used options % options (not that important) used options \startsetups *runtime:options used options \stopsetups used options % styles and modules used options \startsetups *runtime:modules used options \stopsetups used options % done used options \protect \endinput system options stop used options (K2.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/home/peter/contextbeta/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) fontstypescripts unknown: library 'loc' {/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded ! Undefined control sequence. system tex error on line 6 in file K2.tex: Undefined control sequence ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext \154columnset:page_otr_command_routine ...outine \page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... inserted text ...cess {page_otr_command_routine} \page_otr_commands_process... inserted text ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... to be read again \doifelsenothing ... l.6 \input tufte\par ? ! Interruption. system tex error on line 6 in file K2.tex: Interruption ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext \page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... inserted text ...cess {page_otr_command_routine} \page_otr_commands_process... inserted text ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... to be read again \doifelsenothing \dostartcolumnset ...!columnset ]\doifelsenothing {#1} {\globallet \OTRSETli... ... l.6 \input tufte\par ? ! Emergency stop. system tex error on line 6 in file K2.tex: Emergency stop ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input
Re: [NTG-context] columnsets error in 2.08 beta
Columnset error is gone in 2.16 beta -- Thanks, Hans. But there still seems to be a problem in the output routine: if I place a font switch like \bf or \ss at the beginning of a paragraph that falls in the first column of my columnset, that column is suppressed and only the second column is typeset. If the switch is in the second column, both columns are output, but there is extra vertical space at the beginning of the first column. %%- START -%% \definecolumnset[body][n=2] \setupbodyfont[10pt] \starttext \showframe \startcolumnset[body] Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus scelerisque sapien in tellus mattis sodales. Sed condimentum, arcu sit amet condimentum adipiscing, eros justo condimentum odio, et dapibus nisl dolor nec urna. Maecenas ut orci dolor. Fusce non nisl dolor. Pellentesque non nunc metus, in vehicula nibh. Sed quis tortor purus. Proin hendrerit posuere nunc, in gravida libero semper ac. Donec aliquam lorem {\bf non sapien pellentesque volutpat sed ut mauris. Nulla felis odio, consequat at interdum id, aliquet dictum lacus. Praesent cursus eros at eros dictum porta. In hendrerit diam sodales tellus porttitor sit amet fringilla orci posuere. Nunc et ante eget massa feugiat iaculis eu id nisi.} Ut ac risus sit amet diam tempor mattis eget sit amet felis. Vestibulum ligula nunc, elementum ut tincidunt sed, {\ss commodo at dui}. %\column % TEST: FORCE COLUMN BREAK %\dorecurse{4}{\input tufte\par} % TEST: PUSH NEXT PARAGRAPH TO SECOND COLUMN \ss \input tufte\par \stopcolumnset \stoptext %%---STOP%% On Wed, Feb 15, 2012 at 9:52 AM, Peter Park Nelson peter.park.nel...@gmail.com wrote: Hans, it still does not work. BTW, is it possible to revert the Context standalone installation to an earlier beta (without going all the way back to the last stable)? Error below: (K2.tex ConTeXt ver: 2012.02.08 21:58 MKIV fmt: 2012.2.15 int: english/english system cont-new.mkiv loaded (/home/peter/contextbeta/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system K2.top loaded system options start used options used options % runtime options files (command line driven) used options \unprotect used options % feedback and basic job control used options % handy for special styles used options \startluacode used options document = document or { } used options document.arguments={ used options } used options document.files={ used options K2.tex, used options } used options \stopluacode used options % process info used options \setupsystem[inputfile=K2.tex] used options \setupsystem[\c!n=1,\c!m=1] used options % modes used options % options (not that important) used options \startsetups *runtime:options used options \stopsetups used options % styles and modules used options \startsetups *runtime:modules used options \stopsetups used options % done used options \protect \endinput system options stop used options (K2.top) fonts latin modern fonts are not preloaded languages language en is active {/home/peter/contextbeta/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fonts preloading latin modern fonts (second stage) fonts typescripts unknown: library 'loc' {/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fonts virtual math unable to resolve name mapsfromchar fonts fallback modern rm 12pt is loaded ! Undefined control sequence. system tex error on line 6 in file K2.tex: Undefined control sequence ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext \154columnset:page_otr_command_routine ...outine \page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... inserted text ...cess {page_otr_command_routine} \page_otr_commands_process... inserted text ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... to be read again \doifelsenothing ... l.6 \input tufte\par ? ! Interruption. system tex error on line 6 in file K2.tex: Interruption ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext
Re: [NTG-context] columnsets error in 2.08 beta
On 15-2-2012 06:56, Peter Park Nelson wrote: Updated to Feb. 8 beta, now none of my documents with columnsets will compile. Without the columnset, the example below works fine: \definecolumnset[body][n=2] \starttext \startcolumnset[body] \input tufte\par \stopcolumnset \stoptext you can try the following patch in page-set.mkiv \page_otr_set_routine - \page_otr_set_command_routine \s!page_otr_command_set_hsize=\page_one_command_set_hsize, - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columnsets error in 2.08 beta
Hans, it still does not work. BTW, is it possible to revert the Context standalone installation to an earlier beta (without going all the way back to the last stable)? Error below: (K2.tex ConTeXt ver: 2012.02.08 21:58 MKIV fmt: 2012.2.15 int: english/english system cont-new.mkiv loaded (/home/peter/contextbeta/tex/texmf-context/tex/context/base/cont-new.mkiv system beware: some patches loaded from cont-new.mkiv ) system K2.top loaded system options start used options used options % runtime options files (command line driven) used options \unprotect used options % feedback and basic job control used options % handy for special styles used options \startluacode used options document = document or { } used options document.arguments={ used options } used options document.files={ used options K2.tex, used options } used options \stopluacode used options % process info used options \setupsystem[inputfile=K2.tex] used options \setupsystem[\c!n=1,\c!m=1] used options % modes used options % options (not that important) used options \startsetups *runtime:options used options \stopsetups used options % styles and modules used options \startsetups *runtime:modules used options \stopsetups used options % done used options \protect \endinput system options stop used options (K2.top) fontslatin modern fonts are not preloaded languageslanguage en is active {/home/peter/contextbeta/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) fontstypescripts unknown: library 'loc' {/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/home/peter/contextbeta/tex/texmf/fonts/map/dvips/lm/lm-rm.map} fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded ! Undefined control sequence. system tex error on line 6 in file K2.tex: Undefined control sequence ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext \154columnset:page_otr_command_routine ...outine \page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... inserted text ...cess {page_otr_command_routine} \page_otr_commands_process... inserted text ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... to be read again \doifelsenothing ... l.6 \input tufte\par ? ! Interruption. system tex error on line 6 in file K2.tex: Interruption ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext \page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... inserted text ...cess {page_otr_command_routine} \page_otr_commands_process... inserted text ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... to be read again \doifelsenothing \dostartcolumnset ...!columnset ]\doifelsenothing {#1} {\globallet \OTRSETli... ... l.6 \input tufte\par ? ! Emergency stop. system tex error on line 6 in file K2.tex: Emergency stop ... 1 2 \definecolumnset[body][n=2] 3 4 \starttext 5 \startcolumnset[body] 6 \input tufte\par 7 \stopcolumnset 8 9 \stoptext \page_otr_commands_process ...outineparameter {#1} }\ifx \page_otr_specifics_... inserted text ...cess {page_otr_command_routine} \page_otr_commands_process... inserted text ...eset \the \t_page_otr_commands \let \page_otr_commands_pr... \setup_outputroutine ...\everyswitchoutputroutine \fi \else \let \previousou... to be read again \doifelsenothing \dostartcolumnset ...!columnset ]\doifelsenothing {#1} {\globallet \OTRSETli... ... l.6 \input tufte\par End of file on the terminal! ! == Fatal error occurred, no output PDF file produced! On Wed, Feb 15, 2012 at 3:40 AM, Hans Hagen
Re: [NTG-context] Columnsets: bug in current beta?
On 27-11-2011 19:58, Jaroslav Hajtmar wrote: Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure[btrl,none]{}{...}) then everything works fine. I deal this with emergency so that the caption I incorporate into the PDF picture and then place figure without caption. I'm not sure when/how this was introduced (too many changes in the mkiv code). I have a patch but it needs checking with the normal (one column) mode so some patience is needed. Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Columnsets: bug in current beta?
Hello Peter. I have a similar experience. If image width is greater than the width of one column and at the same time is a picture with the caption then text does not wrap around the image. If the picture is without caption (for example \placefigure[btrl,none]{}{...}) then everything works fine. I deal this with emergency so that the caption I incorporate into the PDF picture and then place figure without caption. Jaroslav Dne 26.11.2011 22:29, Peter Park Nelson napsal(a): Hello, Following the example in the Columns manual, the following works with TeXLive 2011 but not with the current context suite beta (25 nov 2011): \definecolumnset[body][n=2] \definecolumnsethsize{body}{1}{1}\One \definecolumnsethsize{body}{1}{2}\Two \starttext \startcolumnset[body] \dorecurse{5}{\input tufte\par} \startbuffer \placefigure[btlr]{A placeholder figure.}{\externalfigure[widefigure][width=\Two]} \stopbuffer \dorecurse{5}{\input tufte\par} \getbuffer \stopcolumnset \stoptext Using the current beta, the figure only cleanly spans one column -- vertical space for the graphic and caption is reserved in one column; in the other column, text flows on beneath the graphic, which is superimposed. Using TeXLive 2011, the wide figure spans both columns correctly. Thanks, PPN -- Peter Park Nelson peter.park.nel...@gmail.com mailto:peter.park.nel...@gmail.com ___ 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 ___ ___ 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] Columnsets and placement of figures
Hi Wolfgang, On 12 May 2011, at 18:12, Wolfgang Schuster wrote: Am 12.05.2011 um 10:11 schrieb Willi Egger: In columnsets bottom has no effect. When I use “bottom” in our example context reserves space for the figure at the bottom but the figure itself doesn’t appear. hm, Indeed lrbt does place the figure at the bottom. The struggle is, that I have to be able to place the figure as well left as right aligned. So the option rlbt should do this, but doesn't. All together I came then to the conclusion that one should place the float at the bottom with 'bots' and add an offset. But maybe I miss something... Th solution I have now is \startcolumnset \placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}} % for moving the float to the right \stopcolumnset \startcolumnset \placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]} % for a left aligned float. \stopcolumnset Why don’t you stretch the figure the whole width of the two columns and the distance between them. I saw in the manual a example where Hans defined a command \Two which does this. Unfortunately the graphics to be place are not of the double-column-width. So I need to be able to place them either left of right aligned relative to the left/right margin... Thanks for your comments Willi 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 ___ ___ 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] Columnsets and placement of figures
Hi Wolfgang, The option 'bots' is described in the Columns manual (page 18). Yes I was looking in the source, but was unable to understand what I found. I saw, that there are commented lines in page-ini.mkiv (lines 230 and ff). In columnsets bottom has no effect. Indeed lrbt does place the figure at the bottom. The struggle is, that I have to be able to place the figure as well left as right aligned. So the option rlbt should do this, but doesn't. All together I came then to the conclusion that one should place the float at the bottom with 'bots' and add an offset. But maybe I miss something... Th solution I have now is \startcolumnset \placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}} % for moving the float to the right \stopcolumnset \startcolumnset \placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]} % for a left aligned float. \stopcolumnset Kind regards Willi On 9 May 2011, at 18:34, Wolfgang Schuster wrote: Am 09.05.2011 um 13:32 schrieb Willi Egger: Dear list, In a document with a columnsets there are many directives to place figures on certain spots (see columns-manual). I deal with a two-columns layout. Now I would need to place a figure in the first column at the lower left edge. Here the command \placefigure[bots][]{none}{\externalfigure[fake][width=\textwidth,height=3cm]} will not result in the figure at the bottom of the page, instead turns up at the top. As i can’t find any reference to a “bots” keyword it isn’t a valid option. Why don’t you use “bottom” or “lrbt” to place your picture. 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 ___ ___ 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] Columnsets and placement of figures
Am 12.05.2011 um 10:11 schrieb Willi Egger: In columnsets bottom has no effect. When I use “bottom” in our example context reserves space for the figure at the bottom but the figure itself doesn’t appear. Indeed lrbt does place the figure at the bottom. The struggle is, that I have to be able to place the figure as well left as right aligned. So the option rlbt should do this, but doesn't. All together I came then to the conclusion that one should place the float at the bottom with 'bots' and add an offset. But maybe I miss something... Th solution I have now is \startcolumnset \placefigure[lrbt][]{none}{\offset[x=1cm]{\externalfigure[fake][width=2\textwidth,height=3cm]}} % for moving the float to the right \stopcolumnset \startcolumnset \placefigure[lrbt][]{none}{\externalfigure[fake][width=2\textwidth,height=3cm]} % for a left aligned float. \stopcolumnset Why don’t you stretch the figure the whole width of the two columns and the distance between them. I saw in the manual a example where Hans defined a command \Two which does this. 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] Columnsets and placement of figures
Am 09.05.2011 um 13:32 schrieb Willi Egger: Dear list, In a document with a columnsets there are many directives to place figures on certain spots (see columns-manual). I deal with a two-columns layout. Now I would need to place a figure in the first column at the lower left edge. Here the command \placefigure[bots][]{none}{\externalfigure[fake][width=\textwidth,height=3cm]} will not result in the figure at the bottom of the page, instead turns up at the top. As i can’t find any reference to a “bots” keyword it isn’t a valid option. Why don’t you use “bottom” or “lrbt” to place your picture. 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] columnsets and footnotes
On Sun, 10 Jun 2007, Aditya Mahajan wrote: Hi, What do I need to get footnotes to work with columnsets. Somehow footntes have the wrong width. \definecolumnset [two] [n=2,balancing=yes,distance=0.2in] \starttext \startcolumnset[two] \dorecurse{10}{ \input tufte\footnote{\input zapf \endgraf} \endgraf} \stopcolumnset \stoptext Adding \setupfootnotes[width=\textwidth] works but it seems a bit strange that I have to do that. Should columnsets redefine \makeupwidth to the width of the column? Aditya ___ 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] columnsets and footnotes (minimal example)
Steffen Wolfrum wrote: ... and here is an example that shows the problem: Oops, that doesn't look right at all. Do you really need column sets, or is normal columns mode ok as well? \startcolumns[n=2] \dorecurse{10}{\input tufte\footnote{\input ward \relax}} \stopcolumns Looks about right. Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] columnsets and footnotes (minimal example)
Taco Hoekwater wrote: Steffen Wolfrum wrote: ... and here is an example that shows the problem: Oops, that doesn't look right at all. you need to set widths \setupfootnotes[n=1,width=\hsize] Hans ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] columnsets and footnotes (minimal example)
Am 09.01.2006 um 11:06 schrieb Taco Hoekwater: Steffen Wolfrum wrote: ... and here is an example that shows the problem: Oops, that doesn't look right at all. Do you really need column sets, or is normal columns mode ok as well? 1) Yes, column sets would be better. \startcolumns[n=2] \dorecurse{10}{\input tufte\footnote{\input ward \relax}} \stopcolumns Looks about right. Cheers, Taco 2) When I try ... \setupfootnotes[n=3] \starttext \startcolumns[n=2] \dorecurse{10}{\input tufte\footnote{\input ward \relax}} \stopcolumns \stoptext at the bottom of page 1 there is a lot of white space before the footnote text of footnote 1-4 (the footnotemarkers 1 to 4 come up the next page). So in this example it doesn't seem to be possible to keep footnote markers and text at the same page: Wouldn't it be better in this case to fill page 1 also with the footnote text of the following footnotes? In this way the pages would look much better. Is there a way (penalty?) to express how *urgent* footnote markers and text need to be forced to the same page? Or - in other words - to loosen the connection? Thanks, Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Columnsets problems
Hello, Hans Hagen a écrit le mercredi 23 mars 2005 19:33 : Gilles Pérez-Lambert wrote: below is another way of doing it (OTRSET patch) Thanks. 6 The right column continues in the footer. 10 Same problem. 17 a line from the left column is reported on the right column even if there is room for it on the left column. dunno, have to look into it (quite tricky to sync things in column sets; stretching tex to the limit) I know. I didn't even think it was possible at all with TeX. It's a minor problem: I'll do manual edits. By the way, always in a columnsets context, is there a way to completely forbid floats on certain pages? no, should be doabla (so remind me later) I will. :-) I didn't find a way to tell placefigure not to allow figures to be renumbered during the placement. In other words, is there a possibility the follow the order in which I declare the figure, even if a page is less optimal like this... see patch below Thanks! Just a thing: I had to delete the '%' in the '\null}%' line below to make it compile. \def\OTRSETskipstart {\scratchcounter\executeifdefined{\??mc\OTRSETidentifier\c!start}\zerocount \ifcase\scratchcounter\else \advance\scratchcounter\plusone \doOTRSETsetgridcells {\copy\placeholderboxe} \plusone\plusone\nofcolumns\scratchcounter \null}% \fi} Thanks again, Gilles. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Columnsets problems
Gilles Pérez-Lambert wrote: Hello, Following Hans's presentation on ConTeXt in EuroTeX 2005, I started to use columnsets. I'm really really impressed. Columnsets are easy to set up and wonderfully powerful. Nevertheless, I have some problems with columnsets... On the page: http://typo.free.fr/context/ you'll find the source file (Bogues.tex) and the output (Bogues.pdf) or a zip file of them. Some info on my config: texexec : TeXExec 5.2.5 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004 tex : pdfeTeX, 3.141592-1.21a-2.2 (Web2C 7.5.4) context : ver: 2005.03.16 cont-en : ver: 2005.03.16 fmt: 2005.3.19 mes: english cont-nl : ver: 2005.01.31 fmt: 2005.3.19 mes: dutch Pages on the Bogues.pdf Description -- 1 When a title (here: \Article{Le titre}) is inside a columnsetspan, header=empty doesn't work. you probably means 'high' well, that's kind of tricky and i need to look into that carefully below is another way of doing it (OTRSET patch) 6 The right column continues in the footer. 10 Same problem. 17 a line from the left column is reported on the right column even if there is room for it on the left column. dunno, have to look into it (quite tricky to sync things in column sets; stretching tex to the limit) By the way, always in a columnsets context, is there a way to completely forbid floats on certain pages? no, should be doabla (so remind me later) I didn't find a way to tell placefigure not to allow figures to be renumbered during the placement. In other words, is there a possibility the follow the order in which I declare the figure, even if a page is less optimal like this... see patch below \unprotect % % % % \setupfloats [\c!numbering=\v!yes] \def\dofloatreference {\doifnot\@@bknumbering\v!nocheck {\doglobal\increment\numberedfloat \expanded{\writeutilitycommand {\noexpand\twopassentry {\s!float}% {\numberedfloat}% {\hetnummer} \def\redofloatorder#1% {\doifnot\@@bknumbering\v!nocheck {\doglobal\increment\nofplacedfloats\relax \gettwopassdata\s!float \iftwopassdatafound \doifnot\hetnummer\twopassdata {\edef\oldhetnummer{\hetnummer}% \xdef\hetnummer{\twopassdata}% \showmessage\m!floatblocks1{\nofplacedfloats,#1 \oldhetnummer,\hetnummer}}% \fi}} % % % % \def\OTRSETskipstart {\scratchcounter\executeifdefined{\??mc\OTRSETidentifier\c!start}\zerocount \ifcase\scratchcounter\else \advance\scratchcounter\plusone \doOTRSETsetgridcells {\copy\placeholderboxe} \plusone\plusone\nofcolumns\scratchcounter \null}% \fi} \def\OTRSETsetvsize % snap per sectie (gap here?) {\ifcollectingcontent \else % can be assigndimen \OTRSETskipstart \OTRSETcheckinsert % added \OTRSETsetfreecells\mofcolumns\columnfirstcell \ifsomefreecolumncells \global\vsize\columnfreecells\lineheight \ifinotr % else problems with floats, see extreme \global\pagegoal\vsize % niet nodig, tenzij binnen otr \fi \synchronizeoutput % fails on example % \allowbreak % hm \fi \synchronizenotes \fi} \def\OTRSETdoflushfloats {\bgroup \def\OTRSETsavebox##1{\!!doneafalse}% \doloop {\ifsomefloatwaiting \OTRSETskipstart \dogetfloat \ifdim\wd\floatbox\zeropoint \!!doneatrue \dp\floatbox\zeropoint \OTRSETstoreincolumnslot{TBLR}\floatbox \if!!donea %\message{[flu]}% \else \OTRSETresavebox\floatbox \exitloop \fi \else %\message{[err]}% happens but why? \fi \else \exitloop \fi} \egroup} \protect \setuplayout [grid=yes, header=0pt, height=middle, width=middle] \showgrid \setupfloats[numbering=nocheck] \definecolumnset [first] [n=2,start=0] \definecolumnset [next] [n=2,start=3] \setuptexttexts[\vbox to \textheight{\topskipcorrection \hsize\makeupwidth left \hfill right\vfill}] \setuphead[chapter][text=empty] \starttext \startcolumnset[first,next] \placefigure[btrl]{}{} \placefigure[tblr]{}{} \chapter{thuan} \dorecurse{25}{\recurselevel: \input thuan \endgraf} \stopcolumnset \startcolumnset[first,next] \chapter{thuan} \dorecurse{25}{\recurselevel: \input thuan \endgraf} \stopcolumnset \startcolumnset[first,next] \chapter{thuan} \dorecurse{25}{\input thuan \endgraf\placefigure{}{}} \stopcolumnset \stoptext - 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