Greetings all,

I forgot to send this last time with UTF-8 encoding... sorry.

I'm currently looking to switch to LyX from TexShop in order to work
on my thesis.  I use a lot of Ancient Greek in my documents, so the
first step is to make sure I can correctly import my current files
into .lyx format.

I've figured out how to make it work, *mostly*.  Unfortunately, I've
run into a weird problem with how the tex2lyx program handles
polytonic Greek in utf8.  For instance, the following document snippet
shows part of my original chapter in LaTeX:

-------------------- begin snip ------------------------
\documentclass[12pt,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[a4paper]{geometry}
...
\begin{quote}
\gkq{...ὡς οὔσης τῆς φύσεως ἀρχῆς τινὸς καὶ αἰτίας τοῦ κινεῖσθαι καὶ ἠρεμεῖ, ἐν ᾧ ὑπάρχει πρώτως καθ᾿ αὑτὸ καὶ μὴ κατὰ συμβεβηκός.}\footnote{\emph{Physics, 192b20-23}.}
\end{quote}

-------------------- end snip ------------------------

In Lyx, this becomes the following (taken from LyX's source view):

-------------------- begin snip ------------------------
\begin{quote}
\gkq{...ὡ\textgreek{c} οὔ\textgreek{svηc} τῆ\textgreek{c} φύ\textgreek{svεωc} ἀρχῆ\textgreek{c} τινὸ\textgreek{c} καὶ αἰτία\textgreek{c} τοῦ κινεῖ\textgreek{svθαι} καὶ ἠρεμεῖ, ἐν ᾧ ὑπάρχει πρώτω\textgreek{c} καθ᾿ αὑτὸ καὶ μὴ κατὰ
\textgreek{svυμβεβηκόc}}%
\footnote{\emph{Physics, 192b20-23}.%
}
\end{quote}

%-------------------- end snip ------------------------

Note the insertion of a bunch of \textgreek{} commands and the "translation" of letters like "σ" into \textgreek{sv}. The Greek *looks* OK in the LyX GUI, but doesn't process properly when I export to XeTeX and run xdvipdfmx on the resulting file.

Does anyone know what causes this, and what I could do to prevent
tex2lyx from attempting to "translate" my Greek?

Thanks in advance for any help you can offer,
Erik Norvelle

Reply via email to