Is there any rules file to process an index written in Arabic language? XeLateX generated this .idx
-file.
\indexentry{ مجموعة الاعداد الطبيعية|hyperpage}{٣}
\indexentry{القيمة المطلقة|hyperpage}{٦}
Many thanks.
There is not any rules for Arabic. However, there is xindy-persian
package for Persian. Arabic being a subset of Persian, you can use the Persian language instead.
texindy -M xindy-persian/variant1-utf8-test.xdy file_name.idx
But I have warnings : page numbers and correponding entries were ignored. WARNING: location-reference "٣" did not match any location-class! (ignored)
How to solve this ?
\indexentry{ مجموعة الاعداد الطبيعية|hyperpage}{3}
instead \indexentry{ مجموعة الاعداد الطبيعية|hyperpage}{٣}
and then xindy also understands it. I think you use Buggy polyglossia and perhaps its arabicnumbers
package. You need to disable this.
Mapping=arabicdigits
as the option of your Arabic font; it converts western digits to corresponding Arabic ones on the fly.
variant1-utf8-test.xdy
provided by xindy-persian package. To process index file I used this command:texindy -M xindy-persian/variant1-utf8-test.xdy file_name.idx
But I had warnings :page numbers and correponding entries were ignored. WARNING: location-reference "٣" did not match any location-class! (ignored)
How to tell xindy about page numbers e.x "٣" which corresponds to page 3... In .tex file I usepolyglossia
andfonspec
packages the arabic font is loaded withMapping=arabicdigits
option