I haven't changed anything in fancy headers. It happens with "plain", "fancy" and "headings" page styles (though with "headings" it is the page number on the top of the page that is changed, i.e. - not within the environment itself).
How do I redefine the way page numbers are printed? On Thu, Sep 12, 2013 at 4:11 PM, Richard Heck <rgh...@lyx.org> wrote: > On 09/12/2013 04:52 AM, Itai Shaked wrote: > >> Hello, >> I'm having a problem, which I'm not sure is due to LyX, but I would >> appreciate it if any one here could help me. >> >> When writing a document in LyX and using XeTeX and polyglossia I have >> noticed some of the page numbers were in different font than others. Upon >> further investigation I have found out that whenever an environment (e.g. >> Theorem, Lemma, etc.) spans a page break, the page number within would use >> the font used in that environment (so - the specific number would be >> italic, like a text of a Theorem environment). >> >> This only happens when using non-English language. >> >> Would this be a bug in LyX or polyglossia? >> How would you go further investigating or repairing it? >> > > That is very strange. It is definitely not a LyX bug. > > I guess the thing to do is to redefine how the page number is being > printed. What page style are you using? Did you do anything with the fancy > headers business? > > Richard > >