[XeTeX] arabic

houda araj h_araj at hotmail.com
Thu Oct 21 08:06:20 CEST 2010


Hello and thanks for helping me.

I update MIKETEX and now I can compile without moving any instruction but I lost the index.
I also experience new thing : the system is keeping on asking to install packages. It starts with fontspec.sty ..

Persian is used as an example. I am concerned with Arabic.

For Package with polyglosia I receive this message
 Couldn't find `I.cfg'

miktex-maketfm: No creation rule for font ICU.

! Font \zf at basefont=Scheherazade/ICU at 10.0pt not loadable: Metric (TFM) file 
or installed font not found.
<to be read again> 
                   \scan_stop: 
l.4 ...font[Script=Arabic,Scale=1.3]{Scheherazade}
                                                  %
? 

From: k.abdali at acm.org
Date: Thu, 21 Oct 2010 00:20:47 -0400
To: xetex at tug.org
Subject: Re: [XeTeX] arabic

Hi Ross,

On Wed, Oct 20, 2010 at 19:12, Ross Moore <ross.moore at mq.edu.au> wrote:


...

To find out what needs updating, put  \listfiles

in the preamble (e.g., after \makeindex )

Then compare the list of package dates to those for what I'm using:

viz.



 *File List*

    book.cls    2007/10/19 v1.4h Standard LaTeX document class

    bk10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)

...

I compared, and saw  that some of your files (e.g., *l3* files, xltxtra) need updating  -:) .

But here's a serious problem. My suggestion to Houda was that it might be worthwhile to try xepersian or polyglossia, since these will use the Persian words for "chapter", "contents", etc. But running the polyglossia code, I notice that an index is generated only if the language declaration specifies that Western numerals be used. That is,


                   \setmainlanguage[numerals=western]{farsi}

The same problem occurs with Arabic and Urdu. Here is a cut down variant of Houda's code that will illustrate the complaint.

=====================


\documentclass{book}%
\usepackage{polyglossia}
\setmainlanguage{farsi}    %[numerals=western]{farsi}
\setmainfont[Script=Arabic,Scale=1.3]{Scheherazade}%
\usepackage{makeidx}
\makeindex
\title{روش تولید نمایه توسط زیلاتک}


\author{مهدی امیدعلی}
\begin{document}
\maketitle
\chapter{ امتحان } 
  
این اولین نمایه این متن است که برای امتحان آورده شده است.

\index{نمایہ }
\printindex
\end{document}


=====================

If the western numerals are not specified, this is what Makeindex says:
Scanning input file xetexQ5.idx...done (0 entries accepted, 1 rejected).


Nothing written in xetexQ5.ind.
Makeindex reads the idx file for sorting the indices. Probably, it finds the non-Western numerals undecipherable.

Kamal Abdali


--------------------------------------------------
Subscriptions, Archive, and List information, etc.:
  http://tug.org/mailman/listinfo/xetex 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101021/e3a70d7c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ARABIC.zip
Type: application/x-octetstream
Size: 59721 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101021/e3a70d7c/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.jpg
Type: image/jpeg
Size: 107202 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101021/e3a70d7c/attachment-0001.jpg>


More information about the XeTeX mailing list