[XeTeX] \beginL and colour

Adam Lindsay atl at comp.lancs.ac.uk
Sat Nov 13 12:16:44 CET 2004


Jonathan Kew said this at Fri, 12 Nov 2004 20:48:25 -0500:

>> \TeXXeTstate=1
>> \def\babble{Wa dfonbds kmkn doni don cspdsc mpw mcpi kljndf l dlkn 
>> dmnde
>> knds, fdwih kdfj dowk. Ifskn nods ods  cskc vif kldn conc lc -- mioefj 
>> dinj
>> dfnwo dnnks kw mxzlkw mdow. }
>> \babble \par
>> \beginR
>> \babble
>> \special{x:textcolor=FF0000}
>> hello there world
>> \special{x:textcolor=000000}
>> \babble
>> \endR \par
>> \babble
>> \end
>>
>>
>> Is this a bug, or a complete lack of understanding on my part of the 
>> model?
>
>Looks like a bug to me. I wonder why it does that........

Following a hunch this morning, I switched the black and red lines, and
it came out as originally intended. Could it be the something in Apple's
styled text system continues to scan from left to right for applying colours?
-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay, Computing Dept.     atl at comp.lancs.ac.uk
 Lancaster University, InfoLab21        +44(0)1524/510.514
 Lancaster, LA1 4WA, UK             Fax:+44(0)1524/510.492
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-



More information about the XeTeX mailing list