[XeTeX] Follow-up to previous mail about hyphenation

Yannis Haralambous yannis1962 at gmail.com
Thu Mar 25 21:47:54 CET 2021


In fact, Arabic is not hyphenated.

> Le 25 mars 2021 à 21:14, Philip Taylor <P.Taylor at Hellenic-Institute.Uk> a écrit :
> 
> Not being an Arabist, I have no idea whether the output from the following is correct or not, but I thought that it would be fun to run Bruno's code on some 'real' Arabic rather than just on ^^^^ sequences —
> 
> % !TeX Program = Ini-XeTeX
> 
> \let \dump = \relax
> \input xelatex.ini
> 
> \begingroup
>      \language = 8 % how to do this better?
>      \catcode "200D = 11
>      \lccode "200D = "200D
>      \patterns
>          {
>           ^^^^06431^^^^0643
>           ^^^^200d1^^^^200d
>          }
> \endgroup
> 
> \documentclass {article}
> \usepackage {polyglossia, fontspec}
> \setdefaultlanguage {arabic}
> \newfontfamily {\arabicfont} [Script=Arabic, Scale=1.2] {Amiri-Regular}
> \textwidth = 1sp
> 
> \begin {document}
> \catcode "200D = 11 %JOINER
> \lccode "200D = "200D
> \lefthyphenmin = 1
> \righthyphenmin = 1
> 
> \language = 8
> \arabicfont
> 
>  ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت^^^^200d^^^^200d ساڵیﻧﻮێتﭘﻴرۆزبێت
> \end {document}

 <http://www.imt-atlantique.fr/>	Yannis HARALAMBOUS
Professor
Computer Science Department
UMR CNRS 6285 Lab-STICC
 <http://perso.telecom-bretagne.eu/yannisharalambous/> <https://twitter.com/y_haralambous> <https://www.linkedin.com/in/yannis-haralambous-5529073?trk=hp-identity-name>Technopôle Brest-Iroise CS 83818
29238 Brest Cedex 3, France
Une école de l'IMT <http://www.imt.fr/>
Cette idée était si dramatique que, comme tous les grands drames,
elle a été réalisée depuis par le sort     (Jean Giraudoux)



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/xetex/attachments/20210325/c52adf2c/attachment.html>


More information about the XeTeX mailing list.