[XeTeX] problems with hyperref \url box

Bruno Voisin bvoisin at mac.com
Wed Sep 6 00:19:18 CEST 2006

Le 4 sept. 06 à 10:47, Jonathan Kew a écrit :

> On 3 Sep 2006, at 11:50 pm, Pablo Rodríguez wrote:
>
>> And for some strange reason I get the following errors:
>>
>> ! Extended mathchar used as mathchar (2097151).
>> <to be read again>
>>                    <
>> l.6 \item[E-Mail] \url{user at domain.com}
>> ........
>
> Sorry, this is definitely a bug in xetex 0.995.
>
> The problem surfaces when a package does tricky stuff with active
> characters in math mode, so it's possible that it will affect other
> packages as well, and it may not always be feasible to work around
> the issue at the source document or macro level; it's strictly an
> internal xetex error (though happily it doesn't seem to show up very
> often).

Just got hit by this bug (v. 0.995 rev. D):

! Extended mathchar used as mathchar (2097151).
<to be read again>
\begingroup
l.277 where $\vec{u} _1 = (u_1,w)$ is the velocity of the fluid,
together wit...

where \vec had been redefined to use \bm from the bm package:

\renewcommand{\vec}[1]{\bm{#1}}

> I have just fixed the bug in the source code, for those who like to
> try the latest stuff; otherwise, the fix will be included in the next
> release. In the meantime, a possible workaround for the URL problem
> seems to be to load the fontspec package.

The above was with CM fonts in XeLaTeX, not using fontspec (just
xunicode). In any case, building XeTeX from the latest source code
(downloaded tonight from <http://scripts.sil.org/svn-view/xetex/
TRUNK.tar.gz?view=tar>) does indeed fix the issue.

Bruno Voisin


More information about the XeTeX mailing list