yoyoimut wrote:...Because I don't need labeling so the \pageref is irrelevant in my situation...
gmedina wrote: You don't need it, but you might use it to solve your problem, so it doesn't seem to be irrelevant.
I need the value of the page counter to be passed to \isodd command to specify special layout for odd pages only.
So your method does not guarantees the page counter consistent.
Thank you.