Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: ... Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) This is (most probably) due to LyX's textgreek feature inserting %% LyX specific LaTeX commands. \DeclareRobustCommand{\greektext}{% \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}} \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}} \DeclareFontEncoding{LGR}{}{} \DeclareTextSymbol{\~}{LGR}{126} in the LaTeX source, even with ``\inputencoding utf8-plain``. (I.e. DocumentSettingsLanguageEncoding is set to Unicode (XeTeX) (utf8) or DocumentSettingsOutputUse XeTeX is active.) As utf8-plain bypasses LyX's Unicode-LaTeX conversion, the above (re)definition of \greektext is not necessary and interfers with babel or polyglossia loaded in the preamble. Can you report this as bug to track? Günter
Re: Greek+English documents show English words with Greek letters
Guenter Milde wrote: Can you report this as bug to track? Not necessary. In trunk, this should be fixed, and in branch, XeTeX is not supported. Jürgen
Re: Greek+English documents show English words with Greek letters
On 11/23/2010 12:56 PM, Pavel Sanda wrote: Nikos Chantziaras wrote: I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. try to compile and build from a completely new tree. pavel This turned out to be a problem with the Boost library (1.42.0) installed on my system. When configuring without using the --without-included-boost option it runs OK.
Re: Greek+English documents show English words with Greek letters
On 2010-11-26, Jürgen Spitzmüller wrote: Guenter Milde wrote: Can you report this as bug to track? Not necessary. In trunk, this should be fixed, and in branch, XeTeX is not supported. Branch (LyX 1.6.x) supports the Unicode (XeTeX) encoding. I don't know, whether it is worth the effort, but it would be nice to have it fixed there... Günter
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: ... Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) This is (most probably) due to LyX's textgreek feature inserting %% LyX specific LaTeX commands. \DeclareRobustCommand{\greektext}{% \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}} \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}} \DeclareFontEncoding{LGR}{}{} \DeclareTextSymbol{\~}{LGR}{126} in the LaTeX source, even with ``\inputencoding utf8-plain``. (I.e. DocumentSettingsLanguageEncoding is set to Unicode (XeTeX) (utf8) or DocumentSettingsOutputUse XeTeX is active.) As utf8-plain bypasses LyX's Unicode-LaTeX conversion, the above (re)definition of \greektext is not necessary and interfers with babel or polyglossia loaded in the preamble. Can you report this as bug to track? Günter
Re: Greek+English documents show English words with Greek letters
Guenter Milde wrote: Can you report this as bug to track? Not necessary. In trunk, this should be fixed, and in branch, XeTeX is not supported. Jürgen
Re: Greek+English documents show English words with Greek letters
On 11/23/2010 12:56 PM, Pavel Sanda wrote: Nikos Chantziaras wrote: I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. try to compile and build from a completely new tree. pavel This turned out to be a problem with the Boost library (1.42.0) installed on my system. When configuring without using the --without-included-boost option it runs OK.
Re: Greek+English documents show English words with Greek letters
On 2010-11-26, Jürgen Spitzmüller wrote: Guenter Milde wrote: Can you report this as bug to track? Not necessary. In trunk, this should be fixed, and in branch, XeTeX is not supported. Branch (LyX 1.6.x) supports the Unicode (XeTeX) encoding. I don't know, whether it is worth the effort, but it would be nice to have it fixed there... Günter
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: > On 11/22/2010 01:43 PM, Guenter Milde wrote: >> On 2010-11-22, Nikos Chantziaras wrote: ... > Also, this is needed to in the preamble: >\let\textgre...@undefined > otherwise xelatex can't process the file: >! LaTeX Error: Command \textgreek already defined. > (That one took me quite a bit of Googling to find out how to solve.) This is (most probably) due to LyX's "textgreek" feature inserting %% LyX specific LaTeX commands. \DeclareRobustCommand{\greektext}{% \fontencoding{LGR}\selectfont\def\encodingdefault{LGR}} \DeclareRobustCommand{\textgreek}[1]{\leavevmode{\greektext #1}} \DeclareFontEncoding{LGR}{}{} \DeclareTextSymbol{\~}{LGR}{126} in the LaTeX source, even with ``\inputencoding utf8-plain``. (I.e. Document>Settings>Language>Encoding is set to "Unicode (XeTeX) (utf8)" or Document>Settings>Outpu>tUse XeTeX is active.) As "utf8-plain" bypasses LyX's Unicode->LaTeX conversion, the above (re)definition of \greektext is not necessary and interfers with "babel" or "polyglossia" loaded in the preamble. Can you report this as bug to track? Günter
Re: Greek+English documents show English words with Greek letters
Guenter Milde wrote: > Can you report this as bug to track? Not necessary. In trunk, this should be fixed, and in branch, XeTeX is not supported. Jürgen
Re: Greek+English documents show English words with Greek letters
On 11/23/2010 12:56 PM, Pavel Sanda wrote: Nikos Chantziaras wrote: I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. try to compile and build from a completely new tree. pavel This turned out to be a problem with the Boost library (1.42.0) installed on my system. When configuring without using the "--without-included-boost" option it runs OK.
Re: Greek+English documents show English words with Greek letters
On 2010-11-26, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> Can you report this as bug to track? > Not necessary. In trunk, this should be fixed, and in branch, XeTeX is not > supported. Branch (LyX 1.6.x) supports the "Unicode (XeTeX)" encoding. I don't know, whether it is worth the effort, but it would be nice to have it fixed there... Günter
Re: Greek+English documents show English words with Greek letters
Nikos Chantziaras wrote: It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.) Since yesterday, the development version (2.0svn) automatically choses polyglossia with XeTeX and the problems described here should all be solved. Jürgen
Re: Greek+English documents show English words with Greek letters
On 11/23/2010 11:11 AM, Jürgen Spitzmüller wrote: Nikos Chantziaras wrote: It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.) Since yesterday, the development version (2.0svn) automatically choses polyglossia with XeTeX and the problems described here should all be solved. I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. I guess this kind of thing is sometimes to be expected when using building from SVN though.
Re: Greek+English documents show English words with Greek letters
Nikos Chantziaras wrote: I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. try to compile and build from a completely new tree. pavel
Re: Greek+English documents show English words with Greek letters
Nikos Chantziaras wrote: It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.) Since yesterday, the development version (2.0svn) automatically choses polyglossia with XeTeX and the problems described here should all be solved. Jürgen
Re: Greek+English documents show English words with Greek letters
On 11/23/2010 11:11 AM, Jürgen Spitzmüller wrote: Nikos Chantziaras wrote: It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.) Since yesterday, the development version (2.0svn) automatically choses polyglossia with XeTeX and the problems described here should all be solved. I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. I guess this kind of thing is sometimes to be expected when using building from SVN though.
Re: Greek+English documents show English words with Greek letters
Nikos Chantziaras wrote: I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. try to compile and build from a completely new tree. pavel
Re: Greek+English documents show English words with Greek letters
Nikos Chantziaras wrote: > It would be nice if the config dialog would have a > checkbox or another form of selection where one could enable XeTeX > globally and LyX would reconfigure itself automatically for XeTeX use > (and also change the default document settings for new documents to use > XeTeX so that manually adding stuff to the preamble shouldn't be > necessary.) > > I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX > support will become better in time, since to me it seems XeTeX is the > future of TeX in general, especially since it can use normal fonts (that > alone is a killer feature.) Since yesterday, the development version (2.0svn) automatically choses polyglossia with XeTeX and the problems described here should all be solved. Jürgen
Re: Greek+English documents show English words with Greek letters
On 11/23/2010 11:11 AM, Jürgen Spitzmüller wrote: Nikos Chantziaras wrote: It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.) Since yesterday, the development version (2.0svn) automatically choses polyglossia with XeTeX and the problems described here should all be solved. I actually compiled from SVN last night (36437) but it doesn't seem to like me much. It aborts at startup with a memory allocation exception. I guess this kind of thing is sometimes to be expected when using building from SVN though.
Re: Greek+English documents show English words with Greek letters
Nikos Chantziaras wrote: > I actually compiled from SVN last night (36437) but it doesn't seem to like > me much. It aborts at startup with a memory allocation exception. try to compile and build from a completely new tree. pavel
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Alternative --- I attach a file that provides Latin in Greek with the stable LyX 1.6 series and pdflatex. USAGE Either insert its content or \input{UniGreek.tex} in the DocumentSettingsLaTeX-preamble (for the second option, the file must reside in the working dir or the TEXPATH). Use this together with the languages Greek or Greek (polytonic) and the ASCII output encoding in DocumentSettingsLanguage. Converting this file into a LyX-Module is left as an exercise to the reader. Günter
Re: Greek+English documents show English words with Greek letters
On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Thanks for the hints, but there's a problem. That way, the command: \usepackage{polyglossia} comes too late (after the user defined preamble commands) in the generated .tex file resulting in \setmainlanguage not being defined yet. One has to put the above line in the preamble, not in the LyX settings. Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) Another thing that became apparent after reading the pdf was that in Language settings it might be a good idea to change the default Command start and Command end fields to: \begin{$$lang} \end{$$lang} respectively. It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.)
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Alternative --- I attach a file that provides Latin in Greek with the stable LyX 1.6 series and pdflatex. USAGE Either insert its content or \input{UniGreek.tex} in the DocumentSettingsLaTeX-preamble (for the second option, the file must reside in the working dir or the TEXPATH). Use this together with the languages Greek or Greek (polytonic) and the ASCII output encoding in DocumentSettingsLanguage. Converting this file into a LyX-Module is left as an exercise to the reader. Günter
Re: Greek+English documents show English words with Greek letters
On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the Babel package with XeTeX for Greek documents, as this would select a traditional LaTeX font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in ToolsPreferencesLanguage. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Thanks for the hints, but there's a problem. That way, the command: \usepackage{polyglossia} comes too late (after the user defined preamble commands) in the generated .tex file resulting in \setmainlanguage not being defined yet. One has to put the above line in the preamble, not in the LyX settings. Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) Another thing that became apparent after reading the pdf was that in Language settings it might be a good idea to change the default Command start and Command end fields to: \begin{$$lang} \end{$$lang} respectively. It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.)
Re: Greek+English documents show English words with Greek letters
On 2010-11-22, Nikos Chantziaras wrote: > (This is probably grave-digging :P) > I left LyX (and TeX) alone since that thread. Recently I was asked to > create a paper in LaTeX and therefore looked at the LyX site again. I > saw that LyX 2.0 beta supports "XeTeX", which presumably does exactly > what I described in this thread! > So after all, thanks LyX devs! I just tried it out and indeed it works > like a charm after enabling XeTeX in the Document Settings. I can write > Latin and Greek characters at the same time without being driven insane > by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the "Babel" package with XeTeX for Greek documents, as this would select a "traditional LaTeX" font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in Tools>Preferences>Language. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Alternative --- I attach a file that provides "Latin in Greek" with the stable LyX 1.6 series and pdflatex. USAGE Either insert its content or \input{UniGreek.tex} in the Document>Settings>LaTeX-preamble (for the second option, the file must reside in the working dir or the TEXPATH). Use this together with the languages Greek or Greek (polytonic) and the ASCII output encoding in Document>Settings>Language. Converting this file into a LyX-Module is left as an exercise to the reader. Günter
Re: Greek+English documents show English words with Greek letters
On 11/22/2010 01:43 PM, Guenter Milde wrote: On 2010-11-22, Nikos Chantziaras wrote: (This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports "XeTeX", which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) Good news. Beware, however that you must not use the "Babel" package with XeTeX for Greek documents, as this would select a "traditional LaTeX" font with Greek characters at the place of Latin ones. Currently, this can be solved by changing \usepackage{babel} with \usepackage{polyglossia} in Tools>Preferences>Language. You then need to set the document language in the LaTeX-preamble via e.g. \setmainlanguage{greek}. (See the documentation polyglossia.pdf for details.) Thanks for the hints, but there's a problem. That way, the command: \usepackage{polyglossia} comes too late (after the user defined preamble commands) in the generated .tex file resulting in \setmainlanguage not being defined yet. One has to put the above line in the preamble, not in the LyX settings. Also, this is needed to in the preamble: \let\textgre...@undefined otherwise xelatex can't process the file: ! LaTeX Error: Command \textgreek already defined. (That one took me quite a bit of Googling to find out how to solve.) Another thing that became apparent after reading the pdf was that in "Language settings" it might be a good idea to change the default "Command start" and "Command end" fields to: \begin{$$lang} \end{$$lang} respectively. It would be nice if the config dialog would have a checkbox or another form of selection where one could enable XeTeX globally and LyX would reconfigure itself automatically for XeTeX use (and also change the default document settings for new documents to use XeTeX so that manually adding stuff to the preamble shouldn't be necessary.) I must say that with XeTeX, LyX is very nice to work with! I hope XeTeX support will become better in time, since to me it seems XeTeX is the future of TeX in general, especially since it can use normal fonts (that alone is a killer feature.)
Re: Greek+English documents show English words with Greek letters
(This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) On 02/17/2009 05:46 PM, Guenter Milde wrote: On 2009-02-16, Nikos Chantziaras wrote: Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. ... You need to tell LyX which parts of the document are Greek and which are English ... This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized unicodesymbols file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 \textlatin{g} force # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to switch off. (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the -userdir ~/.lyx-greek option. It's not really an option to have to type two shortcuts to switch language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see HelpCustomization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can easily overcome. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * scientific, sportive or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a greek.kmap file that translates Latin input to Greek Unicodechars for LyX.
Re: Greek+English documents show English words with Greek letters
(This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports XeTeX, which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) On 02/17/2009 05:46 PM, Guenter Milde wrote: On 2009-02-16, Nikos Chantziaras wrote: Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. ... You need to tell LyX which parts of the document are Greek and which are English ... This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized unicodesymbols file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 \textlatin{g} force # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to switch off. (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the -userdir ~/.lyx-greek option. It's not really an option to have to type two shortcuts to switch language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see HelpCustomization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can easily overcome. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * scientific, sportive or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a greek.kmap file that translates Latin input to Greek Unicodechars for LyX.
Re: Greek+English documents show English words with Greek letters
(This is probably grave-digging :P) I left LyX (and TeX) alone since that thread. Recently I was asked to create a paper in LaTeX and therefore looked at the LyX site again. I saw that LyX 2.0 beta supports "XeTeX", which presumably does exactly what I described in this thread! So after all, thanks LyX devs! I just tried it out and indeed it works like a charm after enabling XeTeX in the Document Settings. I can write Latin and Greek characters at the same time without being driven insane by constantly selecting text and switching language. :-) On 02/17/2009 05:46 PM, Guenter Milde wrote: On 2009-02-16, Nikos Chantziaras wrote: Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the "article" class and selected "Greek" as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. ... You need to tell LyX which parts of the document are Greek and which are English ... This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized "unicodesymbols" file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 "\textlatin{g}""" "force" "" "" # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to "switch off". (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the "-userdir ~/.lyx-greek" option. It's not really an option to have to type two shortcuts to switch language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see Help>Customization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can "easily" overcome. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * "scientific", "sportive" or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a "greek.kmap" file that translates Latin input to Greek Unicodechars for LyX.
Re: Greek+English documents show English words with Greek letters
[...] Guenter Milde wrote: As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. I've tried to insert just two small greek sentences in a 200+ pages English document as Dictum (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the stopper here? Thanks, Nikos
Re: Greek+English documents show English words with Greek letters
On 2009-02-17, Nikos Alexandris wrote: I've tried to insert just two small greek sentences in a 200+ pages English document as Dictum (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the stopper here? Hard to say without a minimal example and any details about the errors you get. It could be a different encoding (utf8x vs. something else), just one character unknown to lyx (e.g. from the Greek extended Unicode block) or a whole bunch of other things. Günter
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-17 at 14:05 +, Guenter Milde wrote: On 2009-02-17, Nikos Alexandris wrote: I've tried to insert just two small greek sentences in a 200+ pages English document as Dictum (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the stopper here? Hard to say without a minimal example and any details about the errors you get. The minimal example works and there are no errors. It just does not react! It could be a different encoding (utf8x vs. something else), just one character unknown to lyx (e.g. from the Greek extended Unicode block) or a whole bunch of other things. Günter I'll try to trace it. Thanks, Nikos
Re: Greek+English documents show English words with Greek letters
On 2009-02-16, Nikos Chantziaras wrote: Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. ... You need to tell LyX which parts of the document are Greek and which are English ... This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized unicodesymbols file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 \textlatin{g} force # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to switch off. (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the -userdir ~/.lyx-greek option. It's not really an option to have to type two shortcuts to switch language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see HelpCustomization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can easily overcome. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * scientific, sportive or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a greek.kmap file that translates Latin input to Greek Unicodechars for LyX. Günter
Re: Greek+English documents show English words with Greek letters
[...] Guenter Milde wrote: As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. I've tried to insert just two small greek sentences in a 200+ pages English document as Dictum (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the stopper here? Thanks, Nikos
Re: Greek+English documents show English words with Greek letters
On 2009-02-17, Nikos Alexandris wrote: I've tried to insert just two small greek sentences in a 200+ pages English document as Dictum (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the stopper here? Hard to say without a minimal example and any details about the errors you get. It could be a different encoding (utf8x vs. something else), just one character unknown to lyx (e.g. from the Greek extended Unicode block) or a whole bunch of other things. Günter
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-17 at 14:05 +, Guenter Milde wrote: On 2009-02-17, Nikos Alexandris wrote: I've tried to insert just two small greek sentences in a 200+ pages English document as Dictum (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the stopper here? Hard to say without a minimal example and any details about the errors you get. The minimal example works and there are no errors. It just does not react! It could be a different encoding (utf8x vs. something else), just one character unknown to lyx (e.g. from the Greek extended Unicode block) or a whole bunch of other things. Günter I'll try to trace it. Thanks, Nikos
Re: Greek+English documents show English words with Greek letters
On 2009-02-16, Nikos Chantziaras wrote: Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. ... You need to tell LyX which parts of the document are Greek and which are English ... This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized unicodesymbols file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 \textlatin{g} force # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to switch off. (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the -userdir ~/.lyx-greek option. It's not really an option to have to type two shortcuts to switch language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see HelpCustomization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can easily overcome. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * scientific, sportive or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a greek.kmap file that translates Latin input to Greek Unicodechars for LyX. Günter
Re: Greek+English documents show English words with Greek letters
[...] Guenter Milde wrote: > > As the other way round (some Greek words in a non-Greek text) is the more > > common case (outside Greece), it works with recent LyX versions. I've tried to insert just two small greek sentences in a 200+ pages English document as "Dictum" (book/KOMA-Script) and the document does not get compiled. I use before and after the Dictum Ragged line breaks. When I try it in a new document with just some english text and the greek sentences it works. What could be the "stopper" here? Thanks, Nikos
Re: Greek+English documents show English words with Greek letters
On 2009-02-17, Nikos Alexandris wrote: > I've tried to insert just two small greek sentences in a 200+ pages > English document as "Dictum" (book/KOMA-Script) and the document does > not get compiled. I use before and after the Dictum Ragged line breaks. > When I try it in a new document with just some english text and the > greek sentences it works. > What could be the "stopper" here? Hard to say without a minimal example and any details about the errors you get. It could be a different encoding (utf8x vs. something else), just one character unknown to lyx (e.g. from the "Greek extended" Unicode block) or a whole bunch of other things. Günter
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-17 at 14:05 +, Guenter Milde wrote: > On 2009-02-17, Nikos Alexandris wrote: > > > I've tried to insert just two small greek sentences in a 200+ pages > > English document as "Dictum" (book/KOMA-Script) and the document does > > not get compiled. I use before and after the Dictum Ragged line breaks. > > > When I try it in a new document with just some english text and the > > greek sentences it works. > > > What could be the "stopper" here? > > Hard to say without a minimal example and any details about the errors > you get. The minimal example works and there are no errors. It just does not react! > It could be a different encoding (utf8x vs. something else), just one > character unknown to lyx (e.g. from the "Greek extended" Unicode block) > or a whole bunch of other things. > Günter I'll try to trace it. Thanks, Nikos
Re: Greek+English documents show English words with Greek letters
On 2009-02-16, Nikos Chantziaras wrote: > Guenter Milde wrote: >> On 2009-02-09, Nikos Chantziaras wrote: >>> I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). >>> I created a new document using the "article" class and selected "Greek" >>> as language. The document is a mix of English and Greek, but there's a >>> problem: even though English words appear correctly in LyX, the final >>> PDF output shows English using the Greek alphabet. ... >> You need to tell LyX which parts of the document are Greek and which are >> English ... > This is too slow, really, and in contrast with every other software out > there where you simply press Alt+Shift (or whatever combination you've > set up) and type away. However, this software will most probably not do correct hyphenation and spell-cheking... For single foreign words in Latin script, where this is not a problem, you can use a customized "unicodesymbols" file: * Copy it to your LyX directory (~/.lyx). * For all the latin Letters (and maybe also the question mark and other punktuation), you need to add lines like:: 0x0067 "\textlatin{g}""" "force" "" "" # LATIN SMALL LETTER G However, this will stand in your way, if you want to compile e.g. English or German documents, so it needs a way to "switch off". (one possibility is a to put the modified file into another userdir (say ~/.lyx-greek) and start LyX with the "-userdir ~/.lyx-greek" option. > It's not really an option to have to type two shortcuts to switch > language You need to switch two things: keyboard layout (in LyX or in the OS) and language (in LyX). To achieve both with one key-combo, you could: a) use the lyx-server and a script to let the shortcut switch the OS keyboard settings and send the lfun to LyX, or b) define a keymap in LyX (see Help>Customization) and define a shortcut in LyX to switch the language + the keymap. Option b) is preferable, if you wish to have a persistent keyboard mapping outside LyX (e.g. for Greek-ignorant applications). > But if this is a limitation of TeX or LaTeX then I guess LyX has to live > with it. No, It is one of the limitations that LyX (due to its consequent use of Unicode) can "easily" overcome. > As it stands, it's too painful to use LyX for multilingual > documents that way, where the second language does not use a Latin > alphabet. Actually, it's no problem in the (worldwide more common) case that the *second* language uses a non-Latin alphabet (like Greek words in German text). The other way round is the problem. > I suppose most people can't really comprehend the painfulness > of this because their language is based on the Latin alphabet and > Alt+Shift does the right thing for them. This might be one of the reasons for this feature still missing in LyX. After all, LyX is a project by volunteers that need to be interested in fixing this by one of * own need for the feature, * "scientific", "sportive" or some other interest in solving the problem, * financial stimulus. So, a first step towards a solution would be to file an enhancement report to bugzilla.lyx.org that gets the developers interested. A second step would be getting involved with the development and e.g. provide a patch for unicodesymbols or a "greek.kmap" file that translates Latin input to Greek Unicodechars for LyX. Günter
Re: Greek+English documents show English words with Greek letters
On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of executive, I see εξεςυτιε. Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose EditText styleCustomLanguage English (Subsequent parts can be changed easier by selecting and clicking the Font button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. (BTW: there is also planned/prepared support for polytonic Greek characters from the Greek extended Unicode block.) This is the base for the proposed workaround to set the document to English and re-defining the headings etc. in the preamble. However, this is only advisable for existing documents with lots of Greek/English changes and lack of time to fix them. Günter
Re: Greek+English documents show English words with Greek letters
On Mon, 2009-02-16 at 12:13 +, Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of executive, I see εξεςυτιε. Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose EditText styleCustomLanguage English (Subsequent parts can be changed easier by selecting and clicking the Font button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. (BTW: there is also planned/prepared support for polytonic Greek characters from the Greek extended Unicode block.) This is the base for the proposed workaround to set the document to English and re-defining the headings etc. in the preamble. However, this is only advisable for existing documents with lots of Greek/English changes and lack of time to fix them. Günter Guenter, there is also another problem with the workaround I propose: the bookmarks (when the user selects them to be created in a pdf exported document) are not greek, so you can't really read them. So, the keybinding solution is best currently [for _new_ documents... because it is an endless work to redefine the language for existing documents :-) ]. Kind regards, Nikos
Re: Greek+English documents show English words with Greek letters
On Wed, 2009-02-11 at 00:56 +0100, Pavel Sanda wrote: Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. there is http://wiki.lyx.org/LyX/Greek page which still waits for some brave soul to be filled... pavel Needs some brave time also :-) [Note to self: Add in the ToDo list] Regards, Nikos
Re: Greek+English documents show English words with Greek letters
Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of executive, I see εξεςυτιε. Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose EditText styleCustomLanguage English (Subsequent parts can be changed easier by selecting and clicking the Font button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. It's not really an option to have to type two shortcuts to switch language (one with Alt+Shift and on LyX specific) and trying to keep them in sync. But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them.
Re: Greek+English documents show English words with Greek letters
Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway. That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
Re: Greek+English documents show English words with Greek letters
Dotan Cohen wrote: Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway. That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! It is an option when you submit a list to GMane. Most lists show the email addresses in clear text. So this not to protect GMane but the list instead.
Re: Greek+English documents show English words with Greek letters
That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! It is an option when you submit a list to GMane. Most lists show the email addresses in clear text. So this not to protect GMane but the list instead. Interesting, thanks. I have never noticed unobscured addresses in gmane, and I have never submitted a list. But I have come to that conclusion based on the obscured addresses that I have seen. In any case, we are getting off-topic, I apologize for causing that! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
Re: Greek+English documents show English words with Greek letters
On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of executive, I see εξεςυτιε. Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose EditText styleCustomLanguage English (Subsequent parts can be changed easier by selecting and clicking the Font button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. (BTW: there is also planned/prepared support for polytonic Greek characters from the Greek extended Unicode block.) This is the base for the proposed workaround to set the document to English and re-defining the headings etc. in the preamble. However, this is only advisable for existing documents with lots of Greek/English changes and lack of time to fix them. Günter
Re: Greek+English documents show English words with Greek letters
On Mon, 2009-02-16 at 12:13 +, Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of executive, I see εξεςυτιε. Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose EditText styleCustomLanguage English (Subsequent parts can be changed easier by selecting and clicking the Font button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. (BTW: there is also planned/prepared support for polytonic Greek characters from the Greek extended Unicode block.) This is the base for the proposed workaround to set the document to English and re-defining the headings etc. in the preamble. However, this is only advisable for existing documents with lots of Greek/English changes and lack of time to fix them. Günter Guenter, there is also another problem with the workaround I propose: the bookmarks (when the user selects them to be created in a pdf exported document) are not greek, so you can't really read them. So, the keybinding solution is best currently [for _new_ documents... because it is an endless work to redefine the language for existing documents :-) ]. Kind regards, Nikos
Re: Greek+English documents show English words with Greek letters
On Wed, 2009-02-11 at 00:56 +0100, Pavel Sanda wrote: Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. there is http://wiki.lyx.org/LyX/Greek page which still waits for some brave soul to be filled... pavel Needs some brave time also :-) [Note to self: Add in the ToDo list] Regards, Nikos
Re: Greek+English documents show English words with Greek letters
Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the article class and selected Greek as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of executive, I see εξεςυτιε. Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose EditText styleCustomLanguage English (Subsequent parts can be changed easier by selecting and clicking the Font button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. It's not really an option to have to type two shortcuts to switch language (one with Alt+Shift and on LyX specific) and trying to keep them in sync. But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them.
Re: Greek+English documents show English words with Greek letters
Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway. That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
Re: Greek+English documents show English words with Greek letters
Dotan Cohen wrote: Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway. That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! It is an option when you submit a list to GMane. Most lists show the email addresses in clear text. So this not to protect GMane but the list instead.
Re: Greek+English documents show English words with Greek letters
That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! It is an option when you submit a list to GMane. Most lists show the email addresses in clear text. So this not to protect GMane but the list instead. Interesting, thanks. I have never noticed unobscured addresses in gmane, and I have never submitted a list. But I have come to that conclusion based on the obscured addresses that I have seen. In any case, we are getting off-topic, I apologize for causing that! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
Re: Greek+English documents show English words with Greek letters
On 2009-02-09, Nikos Chantziaras wrote: > I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). > I created a new document using the "article" class and selected "Greek" > as language. The document is a mix of English and Greek, but there's a > problem: even though English words appear correctly in LyX, the final > PDF output shows English using the Greek alphabet. For example, instead > of "executive", I see "εξεςυτιε". Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose Edit>Text style>Custom>Language English (Subsequent parts can be changed easier by selecting and clicking the "Font" button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. As the other way round (some Greek words in a non-Greek text) is the more common case (outside Greece), it works with recent LyX versions. (BTW: there is also planned/prepared support for polytonic Greek characters from the "Greek extended" Unicode block.) This is the base for the proposed workaround to set the document to English and re-defining the headings etc. in the preamble. However, this is only advisable for existing documents with lots of Greek/English changes and lack of time to fix them. Günter
Re: Greek+English documents show English words with Greek letters
On Mon, 2009-02-16 at 12:13 +, Guenter Milde wrote: > On 2009-02-09, Nikos Chantziaras wrote: > > I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). > > > I created a new document using the "article" class and selected "Greek" > > as language. The document is a mix of English and Greek, but there's a > > problem: even though English words appear correctly in LyX, the final > > PDF output shows English using the Greek alphabet. For example, instead > > of "executive", I see "εξεςυτιε". > > Greek text can be input either with the correct unicode chars or with a > Latin transcription (this is a feature to help people without a Greek > keyboard and pre-dates Unicode). This is why LaTeX will typeset English > text with Greek letters if it believes it to bee Greek text. > > You need to tell LyX which parts of the document are Greek and which are > English: > > Select the English text and choose Edit>Text style>Custom>Language English > > (Subsequent parts can be changed easier by selecting and clicking the > "Font" button right of the Emphasis and Small-Caps button or with Alt-x > textstyle-apply) > > If you happen to need this feature regularely, define a keybinding for > setting the text language to English or Greek. > > As the other way round (some Greek words in a non-Greek text) is the more > common case (outside Greece), it works with recent LyX versions. (BTW: > there is also planned/prepared support for polytonic Greek characters > from the "Greek extended" Unicode block.) > > This is the base for the proposed workaround to set the document to > English and re-defining the headings etc. in the preamble. However, this > is only advisable for existing documents with lots of Greek/English > changes and lack of time to fix them. > > Günter Guenter, there is also another problem with the "workaround" I propose: the bookmarks (when the user selects them to be created in a pdf exported document) are not "greek", so you can't really read them. So, the keybinding solution is best currently [for _new_ documents... because it is an endless work to redefine the language for existing documents :-) ]. Kind regards, Nikos
Re: Greek+English documents show English words with Greek letters
On Wed, 2009-02-11 at 00:56 +0100, Pavel Sanda wrote: > Nikos Alexandris wrote: > > On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: > > > Nikos Alexandris wrote: > > > > Hi Niko! > > > > > > [...] > > > So the current behavior is neither a bug nor a configuration problem? > > > > Yep! Guenter Milde kindly explained the problem (off-list). If you speak > > German I can send you more about the "problem". > > there is http://wiki.lyx.org/LyX/Greek page which still waits for some brave > soul to be filled... > > pavel Needs some "brave" time also :-) [Note to self: Add in the ToDo list] Regards, Nikos
Re: Greek+English documents show English words with Greek letters
Guenter Milde wrote: On 2009-02-09, Nikos Chantziaras wrote: I'm using LyX 1.6.1 with TeXLive 2007 on Linux (Gentoo). I created a new document using the "article" class and selected "Greek" as language. The document is a mix of English and Greek, but there's a problem: even though English words appear correctly in LyX, the final PDF output shows English using the Greek alphabet. For example, instead of "executive", I see "εξεςυτιε". Greek text can be input either with the correct unicode chars or with a Latin transcription (this is a feature to help people without a Greek keyboard and pre-dates Unicode). This is why LaTeX will typeset English text with Greek letters if it believes it to bee Greek text. You need to tell LyX which parts of the document are Greek and which are English: Select the English text and choose Edit>Text style>Custom>Language English (Subsequent parts can be changed easier by selecting and clicking the "Font" button right of the Emphasis and Small-Caps button or with Alt-x textstyle-apply) If you happen to need this feature regularely, define a keybinding for setting the text language to English or Greek. This is too slow, really, and in contrast with every other software out there where you simply press Alt+Shift (or whatever combination you've set up) and type away. It's not really an option to have to type two shortcuts to switch language (one with Alt+Shift and on LyX specific) and trying to keep them in sync. But if this is a limitation of TeX or LaTeX then I guess LyX has to live with it. As it stands, it's too painful to use LyX for multilingual documents that way, where the second language does not use a Latin alphabet. I suppose most people can't really comprehend the painfulness of this because their language is based on the Latin alphabet and Alt+Shift does the right thing for them.
Re: Greek+English documents show English words with Greek letters
> Ah, I see what's wrong. I'm posting through GMane and whoever has submitted > this list there, chose the option to garble email addresses, so your links > show up like this: > > http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html > > If the one who did this is reading this, it might be a good idea to undo > this option since email harvesters are able to get the emails from the other > archives (mail-archive.com for example) anyway. > > That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
Re: Greek+English documents show English words with Greek letters
Dotan Cohen wrote: Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway. That's _why_ they obscure the email addresses. It keeps the scrapers off their site. Those things eat more bandwidth than a good slashdotting. It is done to protect gmane, not to protect your email address! It is an option when you submit a list to GMane. Most lists show the email addresses in clear text. So this not to protect GMane but the list instead.
Re: Greek+English documents show English words with Greek letters
>> That's _why_ they obscure the email addresses. It keeps the scrapers >> off their site. Those things eat more bandwidth than a good >> slashdotting. It is done to protect gmane, not to protect your email >> address! > > It is an option when you submit a list to GMane. Most lists show the email > addresses in clear text. So this not to protect GMane but the list instead. > > Interesting, thanks. I have never noticed unobscured addresses in gmane, and I have never submitted a list. But I have come to that conclusion based on the obscured addresses that I have seen. In any case, we are getting off-topic, I apologize for causing that! -- Dotan Cohen http://what-is-what.com http://gibberish.co.il א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه-و-ي А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я ä-ö-ü-ß-Ä-Ö-Ü
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. there is http://wiki.lyx.org/LyX/Greek page which still waits for some brave soul to be filled... pavel
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. there is http://wiki.lyx.org/LyX/Greek page which still waits for some brave soul to be filled... pavel
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: > On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: > > Nikos Alexandris wrote: > > > Hi Niko! > > > > [...] > > So the current behavior is neither a bug nor a configuration problem? > > Yep! Guenter Milde kindly explained the problem (off-list). If you speak > German I can send you more about the "problem". there is http://wiki.lyx.org/LyX/Greek page which still waits for some brave soul to be filled... pavel
Re: Greek+English documents show English words with Greek letters
Hi Niko! You could also follow another thread [1] in which, among others, I describe the same problem. I use LyX with the language set to English. For the Περιεχόμενα, Eικόνα, Πίνακας, ..., Αναφορές Ι use the following on the preamble: == \usepackage{kerkis} \usepackage{paralist} \date{} \numberwithin{footnote}{chapter} %\setcounter{footnote}{0}% % no end-periods! \KOMAoptions{numbers=noendperiod} \KOMAoptions{listof=toc} % multiple footnotes \KOMAoptions{footnotes=multiple} \renewcommand*{\multfootsep}{,\nobreakspace} %part \AtBeginDocument{% \renewcommand\partname{\textgreek{M\char232roc}}% } % abstract \AtBeginDocument{% \renewcommand\abstractname{\textgreek{Per\char208lhyh}}% } % contents \AtBeginDocument{% \renewcommand{\contentsname}{\textgreek{Perieq\char236mena}}% } % indexname \renewcommand\indexname{\textgreek{Euret\char160rio}} % list of figure and figure floats \AtBeginDocument{% \renewcommand\listfigurename{\textgreek{Euret\char160rio} \textgreek{eik \char236nwn}}% } \renewcommand{\f...@figure}{\textgreek{eik\char236na}~\thefigure} % list of tables and table floats \AtBeginDocument{% \renewcommand\listtablename{\textgreek{Euret\char160rio} \textgreek{pin \char136kwn}}% } \renewcommand{\f...@table}{\textgreek{p\char208nakac}~\thetable} % bibliography \AtBeginDocument{% \renewcommand{\bibname}{\textgreek{Anafor\char232c}}% } % references \AtBeginDocument{% \renewcommand{\refname}{\textgreek{Anafor\char232c}}% alternatively: {\textgreek{Phg\char232c} } % appendix \AtBeginDocument{% \renewcommand\appendixname{\textgreek{Par\char136rthma}}% } === Cheers, Nikos --- [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: Hi Niko! You could also follow another thread [1] in which, among others, I describe the same problem. I use LyX with the language set to English. For the Περιεχόμενα, Eικόνα, Πίνακας, ..., Αναφορές Ι use the following on the preamble: [...] So the current behavior is neither a bug nor a configuration problem? I'm afraid I have no idea what all those commands you posted are doing or how they work. I thought I don't have to deal with TeX when using LyX (which is why I thought I'll try out LyX in the first place; usually I use Open Office even though I'm not really happy with it with math and document structure, but at least it gets English+Greek correctly in the PDF export.) Anyway, I'll try them out. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. I'm afraid I have no idea what all those commands you posted are doing or how they work. I did not understand a thing in the beginning as well :-). But sometimes it's, fortunately or unfortunately, necessary to mess with some TeX. So, I'll try to clarify it: - When you set the language to English you will have NO more the *greeklish* problem (e.g. you type grass and you get γρασσ). - The *new* problem you will face is that the Table of Contents, Figure and all other titles (if I may call them so) will be printed in English. In order to get those in Greek you can use the commands I've posted. I thought I don't have to deal with TeX when using LyX (which is why I thought I'll try out LyX in the first place; usually I use Open Office even though I'm not really happy with it with math and document structure, but at least it gets English+Greek correctly in the PDF export.) Anyway, I'll try them out. IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work. It works for me. The threads is the following: Adjust the \appendix to match kerkis fonts Nikos Alexandris Sat, 17 Jan 2009 09:01:20 -0800 --- [2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html Strategies for Writing Co-operation with Non-LyX Users? Peter Baumgartner Sun, 25 Jan 2009 11:03:00 -0800
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. Yes, I do speak German too, so feel free to forward it to rea...@arcor.de if you want. - The *new* problem you will face is that the Table of Contents, Figure and all other titles (if I may call them so) will be printed in English. In order to get those in Greek you can use the commands I've posted. I hope hyphenation with Greek works correctly with this? IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] Fortunately, that's not an issue (yet?) [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work. It works for me. The threads is the following: Adjust the \appendix to match kerkis fonts Nikos Alexandris Sat, 17 Jan 2009 09:01:20 -0800 Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 02:07 +0100, Nikos Alexandris wrote: Hi Niko! [...] Sorry for the incomplete answer before. You need to copy-paste the commands in the LaTeX preamble. In LyX: Document Settings... LaTeX Preamble. * Also, I've removed (in this post) some commands I pasted in my first post which I use with the book(KOMA-Script) document class for multiple footnotes. == \usepackage{kerkis} \date{} %part \AtBeginDocument{% \renewcommand\partname{\textgreek{M\char232roc}}% } % abstract \AtBeginDocument{% \renewcommand\abstractname{\textgreek{Per\char208lhyh}}% } % contents \AtBeginDocument{% \renewcommand{\contentsname}{\textgreek{Perieq\char236mena}}% } % indexname \renewcommand\indexname{\textgreek{Euret\char160rio}} % list of figure and figure floats \AtBeginDocument{% \renewcommand\listfigurename{\textgreek{Euret\char160rio} \textgreek{eik \char236nwn}}% } \renewcommand{\f...@figure}{\textgreek{eik\char236na}~\thefigure} % list of tables and table floats \AtBeginDocument{% \renewcommand\listtablename{\textgreek{Euret\char160rio} \textgreek{pin \char136kwn}}% } \renewcommand{\f...@table}{\textgreek{p\char208nakac}~\thetable} % bibliography \AtBeginDocument{% \renewcommand{\bibname}{\textgreek{Anafor\char232c}}% } % references \AtBeginDocument{% \renewcommand{\refname}{\textgreek{Anafor\char232c}}% alternatively: {\textgreek{Phg\char232c} } % appendix \AtBeginDocument{% \renewcommand\appendixname{\textgreek{Par\char136rthma}}% } === If I can be of any further help please let me know although I am also new in LyX/LaTeX. Χαιρετίσματα, Νίκος Υ.Γ. Τώρα μόλις είδα το arcor.de. Όποτε θελήσεις μπορώ να σου στείλω περισσότερα.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 04:09 +0200, Nikos Chantziaras wrote: I hope hyphenation with Greek works correctly with this? It does more or less. You need to (re-)view the pdf (or whatever you export) and then manually correct a few lines which extend beyond the column width limit. This can be done with Alt+- there where you want to break a word. IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] Fortunately, that's not an issue (yet?) Sooner or later you would probably like to give something to a friend or another person for corrections, recommendations etc. Then you'll experience the gap :-p
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 04:09 +0200, Nikos Chantziaras wrote: I hope hyphenation with Greek works correctly with this? It does more or less. You need to (re-)view the pdf (or whatever you export) and then manually correct a few lines which extend beyond the column width limit. This can be done with Alt+- there where you want to break a word. Hmm, that's not... good :P And now it doesn't want to export to PDF anymore. When I try to export, the screen flashes and nothing happens. Anyway, I appreciate your efforts for help, but, at least for Greek, I don't think LyX is good enough for me. But, thanks again nevertheless.
Re: Greek+English documents show English words with Greek letters
Hi Niko! You could also follow another thread [1] in which, among others, I describe the same problem. I use LyX with the language set to English. For the Περιεχόμενα, Eικόνα, Πίνακας, ..., Αναφορές Ι use the following on the preamble: == \usepackage{kerkis} \usepackage{paralist} \date{} \numberwithin{footnote}{chapter} %\setcounter{footnote}{0}% % no end-periods! \KOMAoptions{numbers=noendperiod} \KOMAoptions{listof=toc} % multiple footnotes \KOMAoptions{footnotes=multiple} \renewcommand*{\multfootsep}{,\nobreakspace} %part \AtBeginDocument{% \renewcommand\partname{\textgreek{M\char232roc}}% } % abstract \AtBeginDocument{% \renewcommand\abstractname{\textgreek{Per\char208lhyh}}% } % contents \AtBeginDocument{% \renewcommand{\contentsname}{\textgreek{Perieq\char236mena}}% } % indexname \renewcommand\indexname{\textgreek{Euret\char160rio}} % list of figure and figure floats \AtBeginDocument{% \renewcommand\listfigurename{\textgreek{Euret\char160rio} \textgreek{eik \char236nwn}}% } \renewcommand{\f...@figure}{\textgreek{eik\char236na}~\thefigure} % list of tables and table floats \AtBeginDocument{% \renewcommand\listtablename{\textgreek{Euret\char160rio} \textgreek{pin \char136kwn}}% } \renewcommand{\f...@table}{\textgreek{p\char208nakac}~\thetable} % bibliography \AtBeginDocument{% \renewcommand{\bibname}{\textgreek{Anafor\char232c}}% } % references \AtBeginDocument{% \renewcommand{\refname}{\textgreek{Anafor\char232c}}% alternatively: {\textgreek{Phg\char232c} } % appendix \AtBeginDocument{% \renewcommand\appendixname{\textgreek{Par\char136rthma}}% } === Cheers, Nikos --- [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: Hi Niko! You could also follow another thread [1] in which, among others, I describe the same problem. I use LyX with the language set to English. For the Περιεχόμενα, Eικόνα, Πίνακας, ..., Αναφορές Ι use the following on the preamble: [...] So the current behavior is neither a bug nor a configuration problem? I'm afraid I have no idea what all those commands you posted are doing or how they work. I thought I don't have to deal with TeX when using LyX (which is why I thought I'll try out LyX in the first place; usually I use Open Office even though I'm not really happy with it with math and document structure, but at least it gets English+Greek correctly in the PDF export.) Anyway, I'll try them out. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. I'm afraid I have no idea what all those commands you posted are doing or how they work. I did not understand a thing in the beginning as well :-). But sometimes it's, fortunately or unfortunately, necessary to mess with some TeX. So, I'll try to clarify it: - When you set the language to English you will have NO more the *greeklish* problem (e.g. you type grass and you get γρασσ). - The *new* problem you will face is that the Table of Contents, Figure and all other titles (if I may call them so) will be printed in English. In order to get those in Greek you can use the commands I've posted. I thought I don't have to deal with TeX when using LyX (which is why I thought I'll try out LyX in the first place; usually I use Open Office even though I'm not really happy with it with math and document structure, but at least it gets English+Greek correctly in the PDF export.) Anyway, I'll try them out. IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work. It works for me. The threads is the following: Adjust the \appendix to match kerkis fonts Nikos Alexandris Sat, 17 Jan 2009 09:01:20 -0800 --- [2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html Strategies for Writing Co-operation with Non-LyX Users? Peter Baumgartner Sun, 25 Jan 2009 11:03:00 -0800
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the problem. Yes, I do speak German too, so feel free to forward it to rea...@arcor.de if you want. - The *new* problem you will face is that the Table of Contents, Figure and all other titles (if I may call them so) will be printed in English. In order to get those in Greek you can use the commands I've posted. I hope hyphenation with Greek works correctly with this? IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] Fortunately, that's not an issue (yet?) [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work. It works for me. The threads is the following: Adjust the \appendix to match kerkis fonts Nikos Alexandris Sat, 17 Jan 2009 09:01:20 -0800 Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 02:07 +0100, Nikos Alexandris wrote: Hi Niko! [...] Sorry for the incomplete answer before. You need to copy-paste the commands in the LaTeX preamble. In LyX: Document Settings... LaTeX Preamble. * Also, I've removed (in this post) some commands I pasted in my first post which I use with the book(KOMA-Script) document class for multiple footnotes. == \usepackage{kerkis} \date{} %part \AtBeginDocument{% \renewcommand\partname{\textgreek{M\char232roc}}% } % abstract \AtBeginDocument{% \renewcommand\abstractname{\textgreek{Per\char208lhyh}}% } % contents \AtBeginDocument{% \renewcommand{\contentsname}{\textgreek{Perieq\char236mena}}% } % indexname \renewcommand\indexname{\textgreek{Euret\char160rio}} % list of figure and figure floats \AtBeginDocument{% \renewcommand\listfigurename{\textgreek{Euret\char160rio} \textgreek{eik \char236nwn}}% } \renewcommand{\f...@figure}{\textgreek{eik\char236na}~\thefigure} % list of tables and table floats \AtBeginDocument{% \renewcommand\listtablename{\textgreek{Euret\char160rio} \textgreek{pin \char136kwn}}% } \renewcommand{\f...@table}{\textgreek{p\char208nakac}~\thetable} % bibliography \AtBeginDocument{% \renewcommand{\bibname}{\textgreek{Anafor\char232c}}% } % references \AtBeginDocument{% \renewcommand{\refname}{\textgreek{Anafor\char232c}}% alternatively: {\textgreek{Phg\char232c} } % appendix \AtBeginDocument{% \renewcommand\appendixname{\textgreek{Par\char136rthma}}% } === If I can be of any further help please let me know although I am also new in LyX/LaTeX. Χαιρετίσματα, Νίκος Υ.Γ. Τώρα μόλις είδα το arcor.de. Όποτε θελήσεις μπορώ να σου στείλω περισσότερα.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 04:09 +0200, Nikos Chantziaras wrote: I hope hyphenation with Greek works correctly with this? It does more or less. You need to (re-)view the pdf (or whatever you export) and then manually correct a few lines which extend beyond the column width limit. This can be done with Alt+- there where you want to break a word. IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] Fortunately, that's not an issue (yet?) Sooner or later you would probably like to give something to a friend or another person for corrections, recommendations etc. Then you'll experience the gap :-p
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 04:09 +0200, Nikos Chantziaras wrote: I hope hyphenation with Greek works correctly with this? It does more or less. You need to (re-)view the pdf (or whatever you export) and then manually correct a few lines which extend beyond the column width limit. This can be done with Alt+- there where you want to break a word. Hmm, that's not... good :P And now it doesn't want to export to PDF anymore. When I try to export, the screen flashes and nothing happens. Anyway, I appreciate your efforts for help, but, at least for Greek, I don't think LyX is good enough for me. But, thanks again nevertheless.
Re: Greek+English documents show English words with Greek letters
Hi Niko! You could also follow another thread [1] in which, among others, I describe the same problem. I use LyX with the language set to English. For the "Περιεχόμενα", "Eικόνα", "Πίνακας", ..., "Αναφορές" Ι use the following on the preamble: == \usepackage{kerkis} \usepackage{paralist} \date{} \numberwithin{footnote}{chapter} %\setcounter{footnote}{0}% % no end-periods! \KOMAoptions{numbers=noendperiod} \KOMAoptions{listof=toc} % multiple footnotes \KOMAoptions{footnotes=multiple} \renewcommand*{\multfootsep}{,\nobreakspace} %part \AtBeginDocument{% \renewcommand\partname{\textgreek{M\char232roc}}% } % abstract \AtBeginDocument{% \renewcommand\abstractname{\textgreek{Per\char208lhyh}}% } % contents \AtBeginDocument{% \renewcommand{\contentsname}{\textgreek{Perieq\char236mena}}% } % indexname \renewcommand\indexname{\textgreek{Euret\char160rio}} % list of figure and figure floats \AtBeginDocument{% \renewcommand\listfigurename{\textgreek{Euret\char160rio} \textgreek{eik \char236nwn}}% } \renewcommand{\f...@figure}{\textgreek{eik\char236na}~\thefigure} % list of tables and table floats \AtBeginDocument{% \renewcommand\listtablename{\textgreek{Euret\char160rio} \textgreek{pin \char136kwn}}% } \renewcommand{\f...@table}{\textgreek{p\char208nakac}~\thetable} % bibliography \AtBeginDocument{% \renewcommand{\bibname}{\textgreek{Anafor\char232c}}% } % references \AtBeginDocument{% \renewcommand{\refname}{\textgreek{Anafor\char232c}}% alternatively: {\textgreek{Phg\char232c} } % appendix \AtBeginDocument{% \renewcommand\appendixname{\textgreek{Par\char136rthma}}% } === Cheers, Nikos --- [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: Hi Niko! You could also follow another thread [1] in which, among others, I describe the same problem. I use LyX with the language set to English. For the "Περιεχόμενα", "Eικόνα", "Πίνακας", ..., "Αναφορές" Ι use the following on the preamble: [...] So the current behavior is neither a bug nor a configuration problem? I'm afraid I have no idea what all those commands you posted are doing or how they work. I thought I don't have to deal with TeX when using LyX (which is why I thought I'll try out LyX in the first place; usually I use Open Office even though I'm not really happy with it with math and document structure, but at least it gets English+Greek correctly in the PDF export.) Anyway, I'll try them out. [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: > Nikos Alexandris wrote: > > Hi Niko! > > [...] > So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the "problem". > I'm afraid I have no idea what all those commands you posted are doing > or how they work. I did not understand a thing in the beginning as well :-). But sometimes it's, fortunately or unfortunately, necessary to mess with some TeX. So, I'll try to clarify it: - When you set the language to English you will have NO more the *greeklish* problem (e.g. you type "grass" and you get "γρασσ"). - The *new* problem you will face is that the "Table of Contents", "Figure" and all other titles (if I may call them so) will be printed in English. In order to get those in Greek you can use the commands I've posted. > I thought I don't have to deal with TeX when using > LyX (which is why I thought I'll try out LyX in the first place; usually > I use Open Office even though I'm not really happy with it with math and > document structure, but at least it gets English+Greek correctly in the > PDF export.) > > Anyway, I'll try them out. IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] > > > [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html > > This link doesn't work. It works for me. The threads is the following: Adjust the \appendix to match "kerkis" fonts Nikos Alexandris Sat, 17 Jan 2009 09:01:20 -0800 --- [2] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html Strategies for Writing Co-operation with Non-LyX Users? Peter Baumgartner Sun, 25 Jan 2009 11:03:00 -0800
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 03:29 +0200, Nikos Chantziaras wrote: Nikos Alexandris wrote: Hi Niko! [...] So the current behavior is neither a bug nor a configuration problem? Yep! Guenter Milde kindly explained the problem (off-list). If you speak German I can send you more about the "problem". Yes, I do speak German too, so feel free to forward it to rea...@arcor.de if you want. - The *new* problem you will face is that the "Table of Contents", "Figure" and all other titles (if I may call them so) will be printed in English. In order to get those in Greek you can use the commands I've posted. I hope hyphenation with Greek works correctly with this? IMHO, if you stick with LyX you'll be paid back for your time. Of course, I have to admit, there are some problems especially when you want to co-operate with non-LyX users to exchange documents. See this *LONG* thread [2] Fortunately, that's not an issue (yet?) [1] http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70445.html This link doesn't work. It works for me. The threads is the following: Adjust the \appendix to match "kerkis" fonts Nikos Alexandris Sat, 17 Jan 2009 09:01:20 -0800 Ah, I see what's wrong. I'm posting through GMane and whoever has submitted this list there, chose the option to garble email addresses, so your links show up like this: http://www.mail-archive.com/lyx-users@lists.lyx.org/msg70618.html If the one who did this is reading this, it might be a good idea to undo this option since email harvesters are able to get the emails from the other archives (mail-archive.com for example) anyway.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 02:07 +0100, Nikos Alexandris wrote: > Hi Niko! [...] Sorry for the incomplete answer before. You need to copy-paste the commands in the LaTeX preamble. In LyX: Document > Settings... > LaTeX Preamble. * Also, I've removed (in this post) some commands I pasted in my first post which I use with the book(KOMA-Script) document class for multiple footnotes. > == > \usepackage{kerkis} > \date{} > %part > \AtBeginDocument{% > \renewcommand\partname{\textgreek{M\char232roc}}% > } > > > % abstract > \AtBeginDocument{% > \renewcommand\abstractname{\textgreek{Per\char208lhyh}}% > } > > > % contents > \AtBeginDocument{% > \renewcommand{\contentsname}{\textgreek{Perieq\char236mena}}% > } > > > % indexname > \renewcommand\indexname{\textgreek{Euret\char160rio}} > > > % list of figure and figure floats > \AtBeginDocument{% > \renewcommand\listfigurename{\textgreek{Euret\char160rio} > \textgreek{eik > \char236nwn}}% > } > \renewcommand{\f...@figure}{\textgreek{eik\char236na}~\thefigure} > > > % list of tables and table floats > \AtBeginDocument{% > \renewcommand\listtablename{\textgreek{Euret\char160rio} > \textgreek{pin > \char136kwn}}% > } > \renewcommand{\f...@table}{\textgreek{p\char208nakac}~\thetable} > > > % bibliography > \AtBeginDocument{% > \renewcommand{\bibname}{\textgreek{Anafor\char232c}}% > } > > > % references > \AtBeginDocument{% > \renewcommand{\refname}{\textgreek{Anafor\char232c}}% alternatively: > {\textgreek{Phg\char232c} > } > > > % appendix > \AtBeginDocument{% > \renewcommand\appendixname{\textgreek{Par\char136rthma}}% > } > === If I can be of any further help please let me know although I am also new in LyX/LaTeX. Χαιρετίσματα, Νίκος Υ.Γ. Τώρα μόλις είδα το arcor.de. Όποτε θελήσεις μπορώ να σου στείλω περισσότερα.
Re: Greek+English documents show English words with Greek letters
On Tue, 2009-02-10 at 04:09 +0200, Nikos Chantziaras wrote: > I hope hyphenation with Greek works correctly with this? It does more or less. You need to (re-)view the pdf (or whatever you export) and then manually correct a few lines which extend beyond the column width limit. This can be done with "Alt+-" there where you want to break a word. > > IMHO, if you stick with LyX you'll be paid back for your time. Of > > course, I have to admit, there are some problems especially when you > > want to co-operate with non-LyX users to exchange documents. See > this > > *LONG* thread [2] > > Fortunately, that's not an issue (yet?) Sooner or later you would probably like to give something to a friend or another person for corrections, recommendations etc. Then you'll experience the "gap" :-p
Re: Greek+English documents show English words with Greek letters
Nikos Alexandris wrote: On Tue, 2009-02-10 at 04:09 +0200, Nikos Chantziaras wrote: I hope hyphenation with Greek works correctly with this? It does more or less. You need to (re-)view the pdf (or whatever you export) and then manually correct a few lines which extend beyond the column width limit. This can be done with "Alt+-" there where you want to break a word. Hmm, that's not... good :P And now it doesn't want to export to PDF anymore. When I try to export, the screen flashes and nothing happens. Anyway, I appreciate your efforts for help, but, at least for Greek, I don't think LyX is good enough for me. But, thanks again nevertheless.