[XeTeX] bidi and hyperref in XeTeX (was: bidi package abilities and lshort in Persia)
vafa at users.berlios.de
Sat Jul 25 15:28:48 CEST 2009
How would that resolve the problem of color, for example?
These two primitives (\beginspecial and \endspecial) are not documented
anywhere but I emailed Ahmad Yazdipur (TeX-e-Parsi's developer) and today he
replied. This is what he said:
"The primitives \beginspecial and \endspecial are defined because when
\special's range is more than a line in a paragraph and end of it, is in the
middle of another line (e.g. when 1.5 lines of a paragraph is coloured), the
coloured range in RTL will not be what we expect and this is because of the
paragraph scan towards the lines which are adjusted from left. With these
two primitives (\beginspecial and \endspecial) paragraph scan algorithm can
colour the range of each line that was intended to be coloured and as a
consequent the problem will disappear"
I actually asked him for more explanation and if he could probably send the
implementation of \beginspecial and \endspecial to me. When he replies, I
will send it to the list.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the XeTeX