[XeTeX] XeTeX for Linux (first experiencies)

Jonathan Kew jonathan_kew at sil.org
Tue Jun 6 18:02:22 CEST 2006


On 6 Jun 2006, at 4:56 pm, Ralf Stubner wrote:

> Yves Codet <ycodet at club-internet.fr> writes:
>
>> \documentclass[12pt,a4paper]{book}
>> \usepackage{fontspec}
>> \setromanfont[Script=Greek]{Gentium}
>> \language=\greek % this is for hyphenation
>
> Strange, I get the follwoing message here:
>
> Package fontspec Warning: Font 'Gentium' does not contain script  
> 'Greek' on input line 4.

Gentium has no OpenType Greek support, so the [Script=Greek] option  
here doesn't actually achieve anything.

> ! Undefined control sequence.
> l.5 \language=\greek
>                      % this is for hyphenation
> ?
>
> I can understand the warning from fontspec, but it seems that the
> '\language' command isn't known.

No, that's \greek that is unknown. I suspect Yves is using a custom  
format file with extra hyphenation patterns loaded and \greek defined  
as a language number.

JK



More information about the XeTeX mailing list