Nikos Chantziaras wrote:
> Hm, LyX generated this LaTeX code when exporting to "LaTeX (XeTeX)":
>
> [...]
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% User specified LaTeX commands.
> \renewcommand{\figurename}{Xaxa}%
>
> \makeatother
>
> \usepackage{xunicode}
> \usepackage{polyglossia}
> \setdefaultlanguage{greek}
> \setotherlanguage{english}
> \addto\captionsenglish{\renewcommand{\figurename}{Figure}}
> \addto\captionsgreek{\renewcommand{\figurename}{Figure}}
>
> \begin{document}
> [...]
>
> I'm confused. Why does LyX change \figurename to "Figure" on its own?
> It even does that after the preamble, so there's no hope of overriding it.
Can you post an example file?
Jürgen