[XeTeX] XeTeX for Linux (first experiencies)

Yves Codet ycodet at club-internet.fr
Tue Jun 6 14:11:12 CEST 2006


Hello.

If you only need Latin and Greek scripts and use a font containing 
both, the preamble can be a little simpler. This works well for me:

\documentclass[12pt,a4paper]{book}
\usepackage{fontspec}
\setromanfont[Script=Greek]{Gentium}
\language=\greek % this is for hyphenation

\setcounter{secnumdepth}{-2}

\title{}
\author{}
\date{}

\begin{document}
\maketitle

\part{LIVRE PREMIER}

Ἐν Λέσβῳ θηρῶν ἐν ἄλσει Νυμφῶν θέαμα εἶδον κάλλιστον ὧν εἶδον· εἰκόνα 
γραπτήν, ἱστορίαν ἔρωτος.

\end{document}

Kind regards,

Yves

Le 5 juin 06, à 01:31, Gildas HAMEL a écrit :

> Hi,
> I use XeLateX to handle Hebrew, accented Greek, and so forth,
> in my documents:
>
> %!TEX TS-program = xelatex
> %!TEX encoding = UTF-8 Unicode
>
> \TeXXeTstate=1
> \documentclass[b5paper,draft,article]{memoir}
> \usepackage{fontspec}
> \setromanfont[Mapping=tex-text,
> 		Ligatures=Common,
> 		VerticalPosition=Ordinal]
> 					{Hoefler Text}
> \newfontinstance\heb[Script=Hebrew]{NewJerusalemU}% or Gentium, etc.
> \newfontinstance\syr[Script=Syriac,Scale=1.2]{Serto Jerusalem}% or
> other fonts
> \newfontinstance\gk{Vusillus}  % or New Athena Unicode etc.
>
> \begin{document}
>
> In Hebrew {\beginR\heb בראשׁית ברא אלהים את
> השׁמים ואת הארץ\endR}\newline
> now in fake Syriac (Serto Jerusalem):
> {\beginR\syr ܐܒܐ ܘܒܬ ܫܠܘ ܗܠܟܘ\endR} .
> and finally in accented Greek:
> {\gk Ἐν ἀρχῇ ἦν ὁ λόγος}
>
> \end{document}
>
>
> --Gildas Hamel
>
>
> On Jun 4, 2006, at 4:07 PM, Will Robertson wrote:
>
>> On 05/06/2006, at 7:53 , Pablo Rodríguez wrote:
>>
>>> After some playing with my own dissertation, I have discovered the
>>> following issues:
>>>
>>> XeTeX does not work with babel and polutonikogreek.
>>
>> Unfortunately, very little work has been spent on multilingual LaTeX
>> capabilities using XeTeX. The babel package uses many assumptions
>> that are no longer true, so it doesn't exactly make sense to use it
>> with XeTeX.
>>
>> Others may be able to supply a method to get it working, though.
>>
>> I suspect collaboration with Javier Bezos on his mem package is the
>> way to go for XeTeX in the future. (mem has been written currently
>> for Omega/Aleph.)
>>
>> If I had a spare 6 months...
>>
>>> I have also problems with fontspec. Using GFS Didot (available at
>>> http://www.greekfontsociety.org/pages/en_typefaces.html), smallcaps
>>> work, but they work for all capitals also.
>>
>> This is a bug in the font, not in fontspec. I can verify this using
>> another OpenType-aware application.
>>
>> Cheers,
>>
>> Will
>> _______________________________________________
>> XeTeX mailing list
>> postmaster at tug.org
>> http://tug.org/mailman/listinfo/xetex
>
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex



More information about the XeTeX mailing list