[XeTeX] Problem with unicode-math and acronym packages

Khaled Hosny khaledhosny at eglug.org
Wed Jun 16 01:49:22 CEST 2010


On Wed, Jun 16, 2010 at 02:38:51AM +0300, Khaled Hosny wrote:
> On Wed, Jun 16, 2010 at 12:23:33AM +0100, Michael Lynch wrote:
> > Hello all,
> > 
> > I've come across a conflict between the unicode-math and acronym packages.
> > 
> > If I run xelatex on the test file I've attached, I get the expected
> > results (i.e. the acronyms work correctly). This is seen in
> > AcronymTest.pdf.
> > 
> > However, if I uncomment the lines relating to unicode-math (i.e.
> > \usepackage{…} and \setmathfont{…}) then I get the results of
> > AcronymTest2.pdf, and the acronyms do not work correctly.
> > 
> > Does anyone have any ideas as to where the problem's coming from?
> 
> Unicode-math defines a math symbol \ac, from unicode-math-table.tex:
> 
> \UnicodeMathSymbol{"0223E}{\ac}{\mathbin}{most positive [inverted lazy s]}
> 
> Something like \let\acronym\ac before loading unicode-math, and then
> using \acronym would solve the problem for now.

You also need to load acronym package before unicode-math, of course.

-- 
 Khaled Hosny
 Arabic localiser and member of Arabeyes.org team
 Free font developer


More information about the XeTeX mailing list