[XeTeX] \mathrm undefined

Shunichi Amano s-amano at jaist.ac.jp
Sat Jan 27 13:05:50 CET 2007

Hi all,

I recently upgraded xetex and fontspec, and tried to compile a  
document only to get the following error:

! LaTeX Error: Math alphabet identifier \mathrm is undefined in math  
version `n

When fontspec is not loaded, the file compiles fine, so I guess it  
causes the problem (in cooperation with my stupidity)

The other packages loaded are: amsmath, amsfont, amssymb, xunicode,  

Have any ideas for what to do?

Shunichi Amano

On 2007/01/26, at 21:11, Pablo Rodríguez wrote:

> Jonathan Kew wrote:
>> On 16 Jan 2007, at 5:18 pm, Pablo Rodríguez wrote:
>>> I get a segmentation fault. I know that the problem is in the font
>>> naming. ....
>> Naming looks OK....
>>> And the backtrace is the following:
>> This looks like a problem with a kerning table in the font. I can't
>> tell from the report here whether there's something wrong with the
>> font itself, or with the ICU library functions that interpret it. If
>> you can run MS Font Validator on the font, it would be interesting to
>> see what it reports.
> Sorry for not having answered before.
> I asked about naming because I had installed a previous version and it
> worked fine and the only thing I did for the new release was changing
> the TTF name. The previous version is affected by the same kind of
> problem. Since I have the Fontforge source, I investigated further.
> Checking all tables with spot tool from the Adobe Font Development Kit
> for OpenType, all is well, excepting the GPOS table, that makes  
> spot crash.
>> I'm not familiar with this font; is it a freely available font that I
>> could take a look at, or a commercial product?
> It is a font of mine that mixes glyphs released under different  
> licenses
> (GPL & OFL), whose copyleft provisions render them incompatible with
> each other. So I'm not allowed to distribute the font until one of  
> them
> is dual-licensed (or a newer OFL version allows this).
> I realized that I get the same result removing all characters in the
> Greek and Greek extended panes from the actual Junicode font. You cand
> download the FontForge source at http://ousia.f2o.org/juni.sfd.bz2 and
> the OpenType font at http://ousia.f2o.org/juni.sfd.bz2.
> I'm afraid it might be a bug in FontForge.
> Thanks for your help and sorry for the delayed answer,
> Pablo
> _______________________________________________
> XeTeX mailing list
> postmaster at tug.org
> http://tug.org/mailman/listinfo/xetex

More information about the XeTeX mailing list