>As far as I can tell from the sources, the bug likely was there from the
>start, and only affects \span, \cr and \crcr.  Basically, their
>character code is too small.  This can be fixed by changing
>"special_char" from 65537 to 1114112 or so, to make the values of
>"span_code", "cr_code", "cr_cr_code" be above "biggest_usv".
Exactly! This is the difference between XeTeX and luaTeX. The code that follows 
isfrom xetex.web

@d special_char=65537 {|biggest_char+2|}@d span_code=special_char {distinct 
from any character}
@d cr_code=span_code+1 {distinct from |span_code| and from any character}
@d cr_cr_code=cr_code+1 {this distinguishes \.{\\crcr} from \.{\\cr}}
and this code is from luaTeX's align.h:
#  define span_code 1114114     /*  {|biggest_char+3|} */
#  define cr_code (span_code+1) /* distinct from |span_code| and from any 
character */
#  define cr_cr_code (cr_code+1)        /* this distinguishes \.{\\crcr} from 
\.{\\cr} */


A.S.
----------------------
Apostolos Syropoulos
Xanthi, Greece
 

--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex

Reply via email to