[XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread David Carlisle
I'm trying to update the bm package to work with xetex (and luatex, but concentrating on xetex for now) and in particular to work with unicode-math package. bm needs to look at each token (after expansion) and if it is a character look up the mathcode and construct a suitable bold replacement. I

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread Khaled Hosny
On Sun, Jan 06, 2013 at 10:50:51PM +, David Carlisle wrote: > I'm trying to update the bm package to work with xetex (and luatex, > but concentrating on xetex for now) and in particular to work with > unicode-math package. > > > bm needs to look at each token (after expansion) and if it is a

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread David Carlisle
On 7 January 2013 17:39, Khaled Hosny wrote: > This is already fixed in the development version, it now returns: the letter number "1D6FC ooh, OK thanks:-) since I need to decode this in macros could you say when it switches fro "the letter x" (in which case I need to use `x to get the number

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread Khaled Hosny
On Mon, Jan 07, 2013 at 05:51:25PM +, David Carlisle wrote: > On 7 January 2013 17:39, Khaled Hosny wrote: > > This is already fixed in the development version, it now returns: > > the letter number "1D6FC > > ooh, OK thanks:-) > > since I need to decode this in macros could you say when it

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-07 Thread David Carlisle
>> (in which case the number is just there explicitly) >> >> is it just a function of the Unicode range? > > When x >= 0x1 (i.e. outside BMP). > > Guessed as much, thanks. Although thinking about it a bit more it doesn't really help knowing that as I need to parse out past "number" before I kn

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-08 Thread David Carlisle
In a similar thread ,\meaning or \show on a mathchardef'ed character such as \sumop in xetex gives \sumop=\XeTeXmathchar"202211 in luatex \sumop=\Umathchar"1"00"002211. the luatex version looks distinctly odd but is legal input. With the xetex version if you input it ! Bad math class (21058

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-09 Thread Khaled Hosny
On Tue, Jan 08, 2013 at 11:26:51PM +, David Carlisle wrote: > In a similar thread ,\meaning or \show on a mathchardef'ed character > such as \sumop > > in xetex gives > > \sumop=\XeTeXmathchar"202211 > > in luatex > > \sumop=\Umathchar"1"00"002211. > > the luatex version looks distinctly

Re: [XeTeX] \meaning on a \csname \let to a character

2013-01-09 Thread David Carlisle
On 9 January 2013 14:28, Khaled Hosny wrote: > It does now. Thanks David -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex