[XeTeX] Problems with polyglossia

Bert Trüger xulxer at gmail.com
Wed Jan 30 18:16:01 CET 2008


Hi,


i am using texlive on Debian Sid. Polyglossia is installed to my user
directory ~/.texmf/tex/xelatex/polgylossia. I regenerated the
hyphenfiles for xelatex with: xetex -ini -etex -jobname=xelatex
latex.ltx and copied xelatex.fmt to ~/.texmf-var/web2c. Now i get
ancient greek hyphenation with the xgreek-package, but not with
polyglossia.

When i try to compile this minimal example:

\documentclass[a4paper,12pt]{article}
\usepackage[no-math]{fontspec}
\usepackage{polyglossia}
\background{german}
\load[variant=ancient]{greek} % <-- note the change
\setmainfont[Mapping=tex-text]{Linux Libertine O} % or Gentium
\newfontfamily\greekfont[Mapping=tex-text,Script=Greek]{Linux Libertine O}

\begin{document}

\begin{greek}
Μῆνιν ἄειδε, θεά...
\end{greek}

Singe den Zorn, o Göttin

\end{document}


i get lots of errors:

[XeLaTeX] GreekHyphen.tex (xelatex)
[XeLaTeX] finished with exit status 1
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:0: No
hyphenation patterns were loaded for `English'(polyglossia) I will use
the patterns loaded for \language=0(polyglossia) instead.
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:8:Undefined
control sequence. \adddialect
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:8:Undefined
control sequence. \adddialect\l at english
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:8:Missing
\begin{document}. \adddialect\l at english0
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:21:Undefined
control sequence. \adddialect
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:21:Undefined
control sequence. \adddialect\l at british
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-english.ldf:21:Undefined
control sequence. \adddialect\l at british\l at english
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:0: No
hyphenation patterns were loaded for `Greek'(polyglossia) I will use
the patterns loaded for \language=0(polyglossia) instead.
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:10:Undefined
control sequence. \adddialect
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:10:Undefined
control sequence. \adddialect\l at greek
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:10:Missing
\begin{document}. \adddialect\l at greek0
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:0: No
hyphenation patterns were loaded for MonotonicGreek(polyglossia) I
will use the patterns loaded for \l at greekinstead.
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:19:Undefined
control sequence. \adddialect
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:19:Undefined
control sequence. \adddialect\l at monogreek
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:19:Undefined
control sequence. \adddialect\l at monogreek\l at greek
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:0: No
hyphenation patterns were loaded for Ancient Greek(polyglossia) I will
use the patterns loaded for \l at greekinstead.
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:25:Undefined
control sequence. \adddialect
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:25:Undefined
control sequence. \adddialect\l at ancientgreek
/home/sirch/.texmf/tex/xelatex/polyglossia/gloss-greek.ldf:25:Undefined
control sequence. \adddialect\l at ancientgreek\l at greek
./GreekHyphen.aux:6:Undefined control sequence. \select at language {greek}
./GreekHyphen.aux:6:Missing \begin{document}. \select at language {greek}
./GreekHyphen.tex:24:Undefined control sequence. \begin{document}
./GreekHyphen.tex:27:Undefined control sequence. Μ
./GreekHyphen.tex:28:Undefined control sequence. \end{greek}
./GreekHyphen.aux:2:Undefined control sequence. \select at language {english}
./GreekHyphen.aux:6:Undefined control sequence. \select at language {greek}
./GreekHyphen.aux:10:Undefined control sequence. \select at language {english}
[XeLaTeX] 23 errors, 4 warnings, 0 badboxes

What am i doing wrong?

With xgreek i get ancient greek hyphenation but no longer german oder
english hyphenation. What do i have to do to change the language to
english or german or french?

Kind regards

Chris


More information about the XeTeX mailing list