Jürgen Spitzmüller
2011-03-19 17:56:44 UTC
[...]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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?
This is indeed not necessary. We can safely assume that babel and polyglossia%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 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?
translate the builtin floats and thus skip them in getTClassI18nPreamble.
The attached patch does this.
Georg, do you object?
JÃŒrgen