* Daron Wilson ([email protected]) wrote:
[....]
|>
|> ====== Doc Source ==========
|>
|> %!TEX TS-program = xelatex
|> %!TEX encoding = UTF-8 Unicode
|>
|> \documentclass[10pt]{memoir}
|> \usepackage{fontspec}
|> \usepackage{polyglossia}
|> \setdefaultlanguage[variant=american]{english}
|> \setotherlanguage[variant=ancient]{greek}
|> \newfontinstance\greekfont[Scale=1.1]{Lucida Grande}
|> \usepackage{ledmac}
|> \usepackage{ledpar}
|>
|> \begin{document}
|> \begin{greek}
|> Καθὼς παρεκάλεσά σε προσμεῖναι ἐν Ἐφέσῳ πορευόμενος εἰς Μακεδονίαν
|> \end{greek}
|> \end{document}
|>
|>
|>
|> A pdf file is actually created, but all it contains is the page number
and the following text on a single line:
|>
|> ]greek���� ���������� �� ���������� �� ����� ����������� ��� ���������
|>
I only use the parallel package, not the ledpar with which I'm unfamiliar. If
instead of using \begin{greek}...\end{greek} [not sure why this doesn't work
with ledpar and ledmac], I use \textgreek{} I get the Greek text to show and
hyphenate properly. My example below.
--gildas
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[10pt]{memoir}
\usepackage{fontspec}
\usepackage[english]{polyglossia}
\setotherlanguage[variant=ancient]{greek}
\newfontinstance\greekfont[Scale=1.1]{GraecaUBSU}
\usepackage{ledmac}
\usepackage{ledpar}
\begin{document}
\begin{pairs}
\begin{Leftside}
\beginnumbering
\pstart
text here, however long.
\pend
\endnumbering
\end{Leftside}
\begin{Rightside}
\beginnumbering
\pstart
\textgreek{\textsuperscript{3}~Καθὼς παρεκάλεσά σε
προσμεῖναι ἐν Ἐφέσῳ πορευόμενος εἰς Μακεδονίαν, ἵνα παραγγείλῃς τισὶν μὴ
ἑτεροδιδασκαλεῖν \textsuperscript{4}~μηδὲ προσέχειν μύθοις καὶ γενεαλογίαις
ἀπεράντοις, αἵτινες ἐκζητήσεις παρέχουσιν μᾶλλον ἢ οἰκονομίαν θεοῦ τὴν ἐν
πίστει· \textsuperscript{5}~τὸ δὲ τέλος τῆς παραγγελίας ἐστὶν ἀγάπη ἐκ καθαρᾶς
καρδίας καὶ συνειδήσεως ἀγαθῆς καὶ πίστεως ἀνυποκρίτου, \textsuperscript{6}~ὧν
τινες ἀστοχήσαντες ἐξετράπησαν εἰς ματαιολογίαν, \textsuperscript{7}~θέλοντες
εἶναι νομοδιδάσκαλοι, μὴ νοοῦντες μήτε ἃ λέγουσιν μήτε περὶ τίνων
διαβεβαιοῦνται.}
\pend
\endnumbering
\end{Rightside}
\Columns
\end{pairs}
\end{document}
--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
http://tug.org/mailman/listinfo/xetex