Guenter Milde | 21 Jun 2012 09:32

xetex fails to compile documents with language Russian with defaultfontfeatures set

On 19.06.12, Kirill Smelkov wrote:
> On Mon, Jun 18, 2012 at 09:24:44PM +0200, Guenter Milde wrote:
> > On 16.06.12, Kirill Smelkov wrote:
> > > On Mon, May 14, 2012 at 08:00:06AM +0900, Norbert Preining wrote:
> > > > On So, 13 Mai 2012, Arthur Reutenauer wrote:

There is a bug in Debians new TeXLive2012 packages (and maybe also in
TeXLive 2012 itself) that makes documents generated by ``rst2xetex
--language=ru`` fail when compiled with ``xelatex``. (The problem is an
incompatibility between the language support by package polyglossia and
the font selection package fontspec.)

> Original bug report and all responses are here:
>
> http://bugs.debian.org/672742

> > > P.S. Docutils xetex backend uses defaultfontfeatures in document
> > > preamble[1], so because of this bug also rst2xetex is broken too, at
> > > least with default settings (Cc'ing Günter Milde - docutils xetex
> > > backend maintainer).

I can confirm the problem for languages with Cyrillic and Greek
scripts. There is no problem for languages with Latin script.

The problem can be solved changing the template file:

Dir: /home/milde/Code/Python/docutils-svn/docutils/docutils/writers/latex2e/

Index: xelatex.tex
===================================================================
(Continue reading)


Gmane