[XeTeX] Coptic typesetting backwards with polyglossia

Jonathan Harmon jonharmon at gmail.com
Fri Apr 1 02:31:35 CEST 2011


I was so pleased that the polyglossia package started supporting more
languages, including Coptic. But when I try to invoke it with \textcoptic{}
or the coptic environment, it typesets right-to-left, i.e. backwards.
Interestingly, the problem doesn't seem to exist if \textcoptic{} is not
invoked. Is there a reason for this, or was there a step I missed?

Here is the text of the example file:

\documentclass{article}
\usepackage{fontspec,xunicode,xltxtra}

\usepackage{polyglossia}

\setmainlanguage{english}

\setotherlanguage{coptic}

\setmainfont{Antinoou}

\newfontfamily\copticfont{Antinoou}

\begin{document}

Here is some English text.

\bigskip

And now for the Coptic:

ⲛⲁⲉⲓ ⲛⲉ ⲛ̅ϣⲁϫⲉ ⲉⲑⲏⲡ ⲉⲛⲧ-ⲁ-ⲓ̅ⲥ̅

\textcoptic{ⲛⲁⲉⲓ ⲛⲉ ⲛ̅ϣⲁϫⲉ ⲉⲑⲏⲡ ⲉⲛⲧ-ⲁ-ⲓ̅ⲥ̅}

\begin{coptic}

ⲛⲁⲉⲓ ⲛⲉ ⲛ̅ϣⲁϫⲉ ⲉⲑⲏⲡ ⲉⲛⲧ-ⲁ-ⲓ̅ⲥ̅

\end{coptic}

\end{document}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20110331/cc36ec77/attachment.html>


More information about the XeTeX mailing list