Re: [NTG-context] On an odd page?
On 06/12/2012 12:53, Wolfgang Schuster wrote: \define\MyCommand {\signalrightpage\doifrightpageelse{{\tttf RIGHT PAGE!}}{{\tttf LEFT Page!}}} \setuppagenumbering[alternative=doublesided] \starttext \dorecurse{10}{\MyCommand\page} \stoptext Wolfgang Many thanks, Wolfgang! -- Bill Meahan K8QN "The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails." -- William Arthur Ward This message is digitally signed with an X.509 certificate to prove it is from me and has not been altered since it was sent. smime.p7s Description: S/MIME Cryptographic Signature ___ 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] On an odd page?
Am 12.06.2012 um 18:49 schrieb Bill Meahan: > I must be having a bad day since I can't find the answer to this simple > question on the wiki. I'm sure it's me but... > > How do I test if I am on an odd or even page? I need the equivalent of: > PSUEDO COMMAND > \doifoddpageelse{what to do on oddpage)(what to do on even page} > > This is _not_ in a header, BTW \define\MyCommand {\signalrightpage\doifrightpageelse{{\tttf RIGHT PAGE!}}{{\tttf LEFT Page!}}} \setuppagenumbering[alternative=doublesided] \starttext \dorecurse{10}{\MyCommand\page} \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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___