> -----Original Message----- > From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] > Sent: Tuesday, August 11, 2020 11:15 AM > To: mailing list for ConTeXt users > Cc: Mike Cooper > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section > > Mike Cooper schrieb am 11.08.2020 um 19:01: > > > > > >> > >> Ehm... Why don’t you just use \setuphead[section][page=right] ? > >> > >> Hraban > > > > > > Haha! Well... because I never found that approach in my searching. > > > > But now, I'm not using it because it doesn't work for me. I was in the > > middle of > > guessing I needed to set up doublesided or some such in order for it to > > work when > > Wolfgang's other solution came in. > > When you use "page=left" or "page=right" you need a doublesided document > but for a singlesided document you can use "page=even" or "page=odd". > > > There is also another layout method which combines both. The layout is > taken from a singlesided document which means the left and right margins > are the same on odd and even page but checks for left or right pages > work like in a doublesided document. > > You can test this with the example below when you uncomment the second > and third pagenumbering setup- > > \setuppagenumbering > [alternative={singlesided,doublesided}] > > %\setuppagenumbering > % [alternative=singlesided] > > %\setuppagenumbering > % [alternative=doublesided] > > \setuphead > [chapter] > [page=right] > > \showframe > > \starttext > > \dorecurse{3} > {\expanded{\chapter{Chapter \recurselevel}} > \dorecurse{4}{\samplefile{weisman}}} > > \stoptext > > Wolfgang
Interesting! Thank you! ___________________________________________________________________________________ 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 ___________________________________________________________________________________