![](https://secure.gravatar.com/avatar/f31210c2a7f70c525213f6a68c5dab14.jpg?s=120&d=mm&r=g)
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 -- 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.
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/f31210c2a7f70c525213f6a68c5dab14.jpg?s=120&d=mm&r=g)
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.
participants (2)
-
Bill Meahan
-
Wolfgang Schuster