[XeTeX] fontspec doesn't like [cm-default]

Roland Kuhn rkuhn at e18.physik.tu-muenchen.de
Wed Jan 31 14:25:08 CET 2007


Trying to get my Garamond math going I installed the latest XeTeX  
(from svn three days ago), I even got the current latex/base from  
CTAN (put it all into /sw/share/texmf-local, next to my fink teTeX),  
but still there's this annoying error in fontspec:

xelatex -output-driver='xdvipdfmx -r 1200 -V 4' test
This is XeTeX, Version 3.141592-2.2-0.997-dev (Web2C 7.5.6)
entering extended mode
LaTeX2e <2005/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german,  
ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch,  
esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar,  
norsk, polis
h, portuges, romanian, russian, slovak, slovene, spanish, swedish,  
turkish, noh
yphenation, loaded.
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
fontspec.cfg loaded.

! LaTeX Error: Option clash for package fontspec.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.


(./test.aux) (/sw/share/texmf-local/tex/latex/lm/omllmm.fd)
(/sw/share/texmf-local/tex/latex/lm/omxlmex.fd) [1] (./test.aux) )
stdin -> test.pdf
** NOTICE: This document contains a `Preview & Print only' licensed  
font **
** WARNING ** Glyph "(null)" missing in font "LMMathSymbols10-Italic".

7814 bytes written
Output written on test.pdf (1 page).
Transcript written on test.log.

The test.tex file is very basic:



hallo $af\mathrm{af}\rightarrow\mathit{af}$


If I copy the fontspec.sty locally into my current directory and  
modify its default to "cm-default" instead of "lm-default" (and leave  
out the option in test.tex) it works, I get a \rightarrow; otherwise  
that glyph is simply missing. So, there are at least two problems here:

- fontspec doesn't cope with options?!?
- lm-default has problems with math symbols (they're in fact all  

The second one is already kind of explained in the lm README on CTAN,  
which simply states that the OpenType fonts don't have math symbols.  
Can this be worked around by using e.g. Type1?


TU Muenchen, Physik-Department E18, James-Franck-Str., 85748 Garching
Telefon 089/289-12575; Telefax 089/289-12570
CERN office: 892-1-D23 phone: +41 22 7676540 mobile: +41 76 487 4482
Any society that would give up a little liberty to gain a little
security will deserve neither and lose both.  - Benjamin Franklin
Version: 3.12
GS/CS/M/MU d-(++) s:+ a-> C+++ UL++++ P+++ L+++ E(+) W+ !N K- w--- M 
+ !V Y+
PGP++ t+(++) 5 R+ tv-- b+ DI++ e+++>++++ h---- y+++

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4324 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20070131/bd74c512/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://tug.org/pipermail/xetex/attachments/20070131/bd74c512/attachment-0001.bin 

More information about the XeTeX mailing list