Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 356701

Summary: app-text/texlive-core-2010 on 64-bit: patch for making xetex usable with unicode-math
Product: Gentoo Linux Reporter: Faustus <orlovm>
Component: Current packagesAssignee: Alexis Ballier <aballier>
Status: RESOLVED FIXED    
Severity: normal CC: jmbsvicetto, tex
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Faustus 2011-02-27 15:50:20 UTC
There is a long-standing bug in 64-bit XeTeX, which makes it unusable with unicode-math (among other things). It's a serious issue which pops up a lot (e.g., search for "xetex unicode-math 64-bit). The reason was recently identified, see here: http://tug.org/pipermail/xetex/2011-January/019720.html

The fix is very simple: http://tug.org/pipermail/xetex/attachments/20110104/61000bdd/attachment.bin (addition of "#include <w2c/c-auto.h>" to texlive-20100722-source/texk/web2c/xetexdir/XeTeX_ext.h).

I suggest adding this patch to the ebuild. Waiting for upstream to catch up may take years... I tested on amd64 - the problems are gone.
Comment 1 Alexis Ballier gentoo-dev 2011-03-01 11:07:41 UTC
fixed, thanks