[tex-live] xetex and language.def

Jonathan Kew jonathan_kew at sil.org
Sun May 11 21:11:56 CEST 2008


On 11 May 2008, at 7:42 pm, Staszek Wawrykiewicz wrote:

> I changed in the master texmf/web2c/fmtutil.cnf
> xetex  xetex  -           -etex  xetex.ini
> to
> xetex  xetex language.def -etex xetex.ini
>
> since it loads language.def anyway and it is more close to TE spirit.

That sounds good, thanks.


> As for language.def, I'd like to add to it:
>
> %% == standard (pdf)eTeX
> %\addlanguage {german}        {dehypht.tex} {}{2}{3}
> %\addlanguage {ngerman}       {dehyphn.tex} {}{2}{3}
> %\addlanguage {french}        {frhyph.tex}  {}{2}{3}
> %\addlanguage {polish}        {plhyph.tex}  {}{2}{2}
> %\addlanguage {ukenglish}     {ukhyphen.tex}   {}{2}{3}
> %...
> %% == plain XeTeX
> %\addlanguage {german}        {xu-dehypht.tex} {}{2}{3}
> %\addlanguage {ngerman}       {xu-dehyphn.tex} {}{2}{3}
> %\addlanguage {french}        {xu-frhyph.tex}  {}{2}{3}
> %\addlanguage {polish}        {xu-plhyph.tex}  {}{2}{2}
> %\addlanguage {ukenglish}     {ukhyphen.tex}   {}{2}{3}
> %...etc.
> to make more easy manipulation for the user (all percented out).

The xu-* files are supposed to load correctly under both xetex and 8- 
bit (pdf)tex engines; at least that's how we use them in *latex  
formats, and I assume they'd work the same in plain-based formats. So  
it shouldn't be necessary to have two versions of these declarations.

The idea was that a single language.{def,dat} file should support  
both pdftex-based and xetex-based formats, avoiding the need to  
maintain parallel lang files for the different engines, or modify the  
file depending which format is about to be built.

(We may be revising the pattern-loading techniques in the next few  
weeks anyhow, as the current setup doesn't work to build these  
formats with the luatex engine.)

JK



More information about the tex-live mailing list