[XeTeX] Sanskrit hyphenation
Yves Codet
ycodet at club-internet.fr
Sun Apr 3 17:53:17 CEST 2005
Le 2 avr. 05, à 21:48, Jonathan Kew a écrit :
>
> Actually, Exercise 14.15 in The TeXbook offers a workaround for this
> situation:
> <quote>
> the remedy is to insert ‘{\parfillskip=0pt\par\parskip=0pt\noindent}’
> in random places, after each 50 lines or so of text. (Every space
> between words is usually a feasible breakpoint, when you get
> sufficiently far from the beginning of a paragraph.)
> </quote>
Thanks for this. Now I only have to discover how to say in XSL: "write
{\parfillskip=0pt\par\parskip=0pt\noindent} in the first blank space
following the 1000th character after a <p> unless there is a </p> in
the chain" :-) I guess it would be easier by hand.
The following question is perhaps not quite off-topic. I'm trying to
check Sanskrit hyphenation in Malayalam script and I have a small
difficulty with two-part vowels (Unicode Standard, ch. 9, p. 239). In
TextEdit (even if I select all ligatures) or TeXShop, MA + OO, for
instance, is displayed like this:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic1.tiff
Type: image/tiff
Size: 1770 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20050403/1a45739f/pastedGraphic1.tiff
-------------- next part --------------
But in XeTeX's output, with the Fontspec command:
\setromanfont[Script=Malayalam]{AnjaliOldLipi}
I get the right display:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pastedGraphic2.tiff
Type: image/tiff
Size: 1338 bytes
Desc: not available
Url : http://tug.org/pipermail/xetex/attachments/20050403/1a45739f/pastedGraphic2.tiff
-------------- next part --------------
Is this a limitation of text editors? Of course it would be more
pleasant to have a script displayed normally in text editors too.
Kind regards,
Yves
More information about the XeTeX
mailing list