[XeTeX] sanhyph.tex

Daniel Stender uzstzm at uni-bonn.de
Fri Mar 14 18:14:05 CET 2008


Hi folks,

the Devanagari hyphenation patterns are not running.

Checklist:

1. ~/texmf/tex/generic/hyphen/sanhyph.tex

2. /var/lib/texmf/tex/generic/config/language.dat

<cut>
%%% From file: /etc/texmf/language.d/10sanhyph.cnf
sanskrit sanhyph.tex
%%% End of file: /etc/texmf/language.d/10sanhyph.cnf
</cut>

(Debian Lenny, Texlive 2007)

3. test.tex:

<cut>
\newfontinstance\devanagari[Script=Devanagari,Mapping=velthuis-sanskrit]{Sanskrit 2003}
\newcommand{\dev}[1]{{\language=\sanskrit \devanagari #1}}
</cut>

4. xelatex run:

<cut>
! Undefined control sequence.
\dev #1->{\language =\sanskrit
                               \devanagari #1}
</cut>

What's wrong?

greetings,
Daniel Stender



More information about the XeTeX mailing list