Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: > Here is a example which shows how you can change the background color > of a empty page before the chapter title. > > \setuppagenumbering > [alternative=doublesided] > > \startsetups [chapter:before] > \doifoddpageelse > {} > {\pushbackground[page] > \setupbackgrounds[page][background=color,backgroundcolor=black] > \page[empty,right] > \popbackground} > \stopsetups > > \setuphead > [chapter] > [page=yes, > before=\directsetup{chapter:before}] > > \starttext > > \startchapter[title={Knuth}] > \dorecurse{10}{\samplefile{knuth}} > \stopchapter > > \startchapter[title={Zapf}] > \dorecurse{10}{\samplefile{zapf}} > \stopchapter > > \startchapter[title={Ward}] > \dorecurse{10}{\samplefile{ward}} > \stopchapter > > \stoptext Thanks a lot Wolfgang! This was just the thing I was looking for. These setups seems to be the golden bullet in ConTeXt but I often have difficulties to understand the mechanism. I'll try to wikify this later this week. The push-pop-background pair is mentionend in x-setups-overview together with some other push-pop-pairs or push single commands. Are they documented somewhere? juh ___ 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] Footnotes in float combinations missing in output
Lars schrieb am 09.01.19 um 23:01: Hi there, hi Hans, I just want to let you know that footnotes insterted in float-combinations don't get rendered properly, i. e. only the last footnote is placed in the output. MWE: \starttext \startplacefigure[title={OuterCap\footnote{Outer footnote}}] \startfloatcombination[nx=3] \placefigure{Fnote1\footnote{Hello}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote2\footnote{small}}{\externalfigure[cow][width={.2\textwidth}]} \placefigure{Fnote3\footnote{world}}{\externalfigure[cow][width={.2\textwidth}]} \stopfloatcombination \stopplacefigure \stoptext Not very nice but the following works. You would have less problems with local footnotes which are placed in the float block. \starttext \startpostponingnotes \startplacefigure[title={...}] ... \stopplacefigure \stoppostponingnotes \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] Manipulating the left blank page when chapter starts on the right page
Jan U. Hasecke schrieb am 12.01.19 um 22:08: Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: On Sat, 12 Jan 2019, Jan U. Hasecke wrote: Hi all, in my document \startchapter and \starttitle starts a new chapter on the right (odd) page. So sometimes, there is a blank even page just before a new chapter. I would like to manipulate this blank even page. There are several things I would like to do, eg. having no headers and footers, setting the background color to a named color, placing an image or some graphics on the page. Is there a way to define such a page, name it and call it in \startchapter so that it is placed on the left side. See https://tex.stackexchange.com/q/457428/323 Thanks a lot, but I wasn't looking for a way to just delete page numbers but to style the empty page in arbitrary ways. Maybe it is better to do this manually. I would let chapter open on even pages too and just insert a styled page by hand. Here is a example which shows how you can change the background color of a empty page before the chapter title. \setuppagenumbering [alternative=doublesided] \startsetups [chapter:before] \doifoddpageelse {} {\pushbackground[page] \setupbackgrounds[page][background=color,backgroundcolor=black] \page[empty,right] \popbackground} \stopsetups \setuphead [chapter] [page=yes, before=\directsetup{chapter:before}] \starttext \startchapter[title={Knuth}] \dorecurse{10}{\samplefile{knuth}} \stopchapter \startchapter[title={Zapf}] \dorecurse{10}{\samplefile{zapf}} \stopchapter \startchapter[title={Ward}] \dorecurse{10}{\samplefile{ward}} \stopchapter \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 ___