[XeTeX] unicode-math (I think) redefines \slash

Will Robertson wspr81 at gmail.com
Wed Aug 18 07:07:03 CEST 2010


On 2010-08-12 04:54:45 +0930, "Joel C. Salomon" 
<joelcsalomon at gmail.com> said:

> Using all packages as of TL ’10 pretest.
> 
> At one point in my document I needed an optional line-break after a
> slash, but
> 	blah blah overfull line UNIX\slash Linux
> didn’t break.  Inserting the line
> 	\show\slash
> showed me that \slash was now simply the character ‘/’.  Even
> re-defining it in my preamble didn’t work right away; I needed
> 	\AtBeginDocument{\def\slash{/\penalty \exhyphenpenalty}}
> since unicode-math also does its manipulations then.

Hi Joel,

Thanks for reporting this. (And noted in the bug tracker -- thanks for 
that especially so I don't forget!). Definitely a problem with 
unicode-math. I'll take a look when I can.

Cheers,
Will




More information about the XeTeX mailing list