![](https://secure.gravatar.com/avatar/8eec8a77912a23f0578117778e98ce7e.jpg?s=120&d=mm&r=g)
18 Jan
2016
18 Jan
'16
7:14 p.m.
It seems to be the issue with \setupheader[style=\righttoleft, state=normal] The style is righttoleft to accomodate the proper direction for arabic text. But it messes up the page number direction.