Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-20 Thread Jürgen Spitzmüller
Nikos Chantziaras wrote: > On 03/19/2011 07:32 PM, Jürgen Spitzmüller wrote: > > Nikos Chantziaras wrote: > >> I found the problem. If I remove all English-marked text from the > >> document, then the problem goes away. > >> > >> Here's a LyX file: > >> > >> http://pastebin.com/raw.php?i=CsWzeg0v

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-20 Thread Jürgen Spitzmüller
Nikos Chantziaras wrote: > > \addto\captionsenglish{\renewcommand{\figurename}{Figure}} > > \addto\captionsgreek{\renewcommand{\figurename}{Εικόνα}} > > > > I wonder why you get the English figurename in captionsgreek. > > Could be a bug that was fixed along the way, I don't know. I started > th

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-19 Thread Nikos Chantziaras
On 03/19/2011 07:32 PM, Jürgen Spitzmüller wrote: Nikos Chantziaras wrote: I found the problem. If I remove all English-marked text from the document, then the problem goes away. Here's a LyX file: http://pastebin.com/raw.php?i=CsWzeg0v Hm. Your test file produces the correct output for me.

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-19 Thread Jürgen Spitzmüller
Nikos Chantziaras wrote: > I found the problem. If I remove all English-marked text from the > document, then the problem goes away. > > Here's a LyX file: > > http://pastebin.com/raw.php?i=CsWzeg0v Hm. Your test file produces the correct output for me. Most importantly, it correcty outputs \

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-19 Thread Nikos Chantziaras
On 03/19/2011 09:55 AM, Jürgen Spitzmüller wrote: Nikos Chantziaras wrote: Hm, LyX generated this LaTeX code when exporting to "LaTeX (XeTeX)": [...] %% User specified LaTeX commands. \renewcommand{\figurename}{Xaxa}% \makeatother \usepackage{xu

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-19 Thread Jürgen Spitzmüller
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} >

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-18 Thread Nikos Chantziaras
On 03/18/2011 09:34 PM, Nikos Chantziaras wrote: On 03/18/2011 11:21 AM, Guenter Milde wrote: On 2011-03-16, Nikos Chantziaras wrote: I'm using LyX from SVN on Linux and on top of TeX Live 2010. I'm using XeTeX and have selected "Greek" as the language in the document's settings. Everything is

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-18 Thread Nikos Chantziaras
On 03/18/2011 11:21 AM, Guenter Milde wrote: On 2011-03-16, Nikos Chantziaras wrote: I'm using LyX from SVN on Linux and on top of TeX Live 2010. I'm using XeTeX and have selected "Greek" as the language in the document's settings. Everything is translated correctly except for floats. For exam

Re: LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-18 Thread Guenter Milde
On 2011-03-16, Nikos Chantziaras wrote: > I'm using LyX from SVN on Linux and on top of TeX Live 2010. I'm using > XeTeX and have selected "Greek" as the language in the document's > settings. Everything is translated correctly except for floats. For > example, using a float figure results in

LyX 2.0 and XeTeX: Floats (figures, etc) are not translated

2011-03-16 Thread Nikos Chantziaras
I'm using LyX from SVN on Linux and on top of TeX Live 2010. I'm using XeTeX and have selected "Greek" as the language in the document's settings. Everything is translated correctly except for floats. For example, using a float figure results in a float that is labeled (for example) "Figure 1