[XeTeX] XeLaTex and Armenian
Fr. Michael Gilmary
FrMichaelGilmary at MaroniteMonks.org
Tue Jul 13 01:12:06 CEST 2010
Philip Taylor (Webmaster, Ret'd) wrote:
>
>
> Dear Adam --
>
>> I'm new to XeLaTex, but I've done some simple documents with Greek,
>> Arabic, and Hebrew. Today, however, I tried one with some Armenian text
>> but had no luck at all. Armenian seems not to be recognized. What am I
>> missing?
>
> I don't know ! I know next to nothing about XeTeX, Polyglossia
> and whatever, but using your file as a starting point, Jonathan's
> reply to another Armenian scholar (Tara Andrews) as reference [1],
> and finally using TeXdoc fontspec, I came up with the following :
Yes, that works. I think polyglossia (at least v 1.1.0 which is what we
have here) doesn't support Armenian. And I don't know So, to modify what
Philip has done, you might try something like this:
\documentclass {article}
\usepackage {xltxtra, polyglossia}
\setdefaultlanguage {english}
\newfontfamily\armfont[Script=Armenian]{Code2000}
\begin {document}
\title {Classical Armenian Sample Text}
\author {Adam C. McCollum}
\maketitle
{\armfont Եւ երկիր էր աներևոյթ և անպատրաստ. և խաւար ի վերայ անդնդոց. և
Հոգի Աստուծոյ շրջէր ի վերայ ջուրց: } and conclude with this.
\end{document}
HTH.
--
United in adoration of Jesus,
fr. michael gilmary, mma
Most Holy Trinity Monastery
67 Dugway Road
Petersham, MA 01366-9725
www.MaroniteMonks.org
More information about the XeTeX
mailing list