[XeTeX] polyglossia and ledpar conflict

Pablo Rodríguez oinos at web.de
Sun Jun 13 21:06:01 CEST 2010


On 06/13/2010 06:13 PM, Daron Wilson wrote:
> [...]
> I'm not sure if more information is needed, but if anyone could point me in the right direction for a solution, or let me know if this a "time to move on" problem, I would be grateful.  If there would be better/easier ways to get good Greek hyphenation with XeTeX that would be helpful also.

I'm not a (Xe)LaTeX expert, but this works for me:

\documentclass[10pt]{memoir}
\usepackage{xltxtra}
\usepackage{polyglossia}
     \setdefaultlanguage{english}
     \setotherlanguage[variant=ancient]{greek}
     \newfontinstance\greekfont[Scale=1.1]{Theano Didot}
\usepackage{ledmac}
\usepackage{ledpar}
\begin{document}
\selectlanguage{greek}
Καθὼς παρεκάλεσά σε προσμεῖναι ἐν Ἐφέσῳ πορευόμενος εἰς Μακεδονίαν
\end{document}

All you have to do replace the \begin{greek} ... \end{greek} environment 
with \selectlanguage{greek} or \selectotherlanguage{greek}.

And then switch back to English with \selectlanguage{english}.

I hope it helps,


Pablo


More information about the XeTeX mailing list