On 27 Jan, 2007, at 5:54 PM, Uwe Stöhr wrote:
Declan O'Byrne schrieb:
I've been trying to get a way to insert some greek text into a
document.
Having installed the relevant bits from texlive, I tried putting
\usepackage[greek,british]{babel} into the preamble.
You don't need to do this manually.
Simply take your british document and use the textstyle dialog to mark
parts of the text as greek. LyX will then take care about the babel
options, character encoding and will set the \selectlanguage
correctly.
Attached is an example file.
In the upcoming LyX 1.5 it is possible that greek characters are also
displayed as such.
That's a great solution I didn't know of. But the attached file doesn't
work for me. LyX does pass greek and english to the documentclass
declaration, but it does not insert appropriate babel declarations. Is
this supposed to be done by the article class? The end result, on my
configuration, is that all the resulting text is in English, not Greek.
Looking at the exported LaTeX file, I noticed that when Greek text is
supposed to begin LyX inserts only:
\inputencoding{iso-8859-7}
Isn't supposed to insert also a
\textanguage{greek} ?
Cheers,
S.
regards Uwe
<newfile1.lyx>
__________________________________________________
Stefano Franchi
Department of Philosophy Ph: (64) 9 373-7599 x83940
University Of Auckland Fax: (64) 9 373-8768
Private Bag 92019 [EMAIL PROTECTED]
Auckland
New Zealand