[XeTeX] [tex-live] XeTeX/TeX Live : Setting the default language

Khaled Hosny khaledhosny at eglug.org
Thu Nov 3 19:04:11 CET 2011


On Thu, Nov 03, 2011 at 06:46:12PM +0100, Zdenek Wagner wrote:
> 2011/11/3 Arthur Reutenauer <arthur.reutenauer at normalesup.org>:
> >  Just edit your language.def file.  Actually, you can create a one-line
> > file that says "british loadhyph-en-gb.tex" (not hyph-en-gb.tex!) and
> > create the format with fmtutil.
> >
> The British hyphenation patterns are loaded in the XeLaTeX format so
> that you can just switch them using Polyglossia. They are also loaded
> in plain XeTeX (unless it was deselected at TL install time). You have
> to look into xetex.log, find the corresponding number and then assign
> it to \language, it is not necessary to build a format.

Even simpler (assuming the pattern is loaded in the format):

\input knuth
\uselanguage{british} % or ukenglish or UKenglish, all synonyms
\input knuth
\bye

Works for all etex based engines.

Regards,
 Khaled


More information about the XeTeX mailing list