From: Khaled Hosny <khaledhosny@eglug.org>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Arabic index entries
Date: Fri, 20 Jun 2008 03:23:05 +0300 [thread overview]
Message-ID: <20080620002305.GA26204@khaled-laptop> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 274 bytes --]
Arabic index entries are all listed under "unknown" instead of its
respective Arabic letters. I'm not sure if this is a bug or a
misconfiguration from my side. See the attached example.
Regards,
--
Khaled Hosny
Arabic localizer and member of Arabeyes.org team
[-- Attachment #1.1.2: index_ar.tex --]
[-- Type: text/x-tex, Size: 2126 bytes --]
% engine=luatex
%
% Font
\definefontfeature
[arabic]
[mode=node,language=dflt,script=arab,
init=yes,medi=yes,fina=yes,isol=yes,
liga=yes,dlig=yes,rlig=yes,clig=yes,
mark=yes,mkmk=yes,kern=yes,curs=yes]
\starttypescript [serif] [arabic]
\definefontsynonym [Arabic-Light] [name:arabtype] [features=arabic]
\definefontsynonym [Arabic-Bold] [name:arabtype] [features=arabic]
\definefontsynonym [Arabic-Italic] [name:arabtype] [features=arabic]
\definefontsynonym [Arabic-Bold-Italic] [name:arabtype] [features=arabic]
\stoptypescript
\starttypescript [serif] [arabic] [name]
\usetypescript[serif][fallback]
\definefontsynonym [Serif] [Arabic-Light] [features=arabic]
\definefontsynonym [SerifItalic] [Arabic-Italic] [features=arabic]
\definefontsynonym [SerifBold] [Arabic-Bold] [features=arabic]
\definefontsynonym [SerifBoldItalic] [Arabic-Bold-Italic] [features=arabic]
\stoptypescript
\starttypescript [Arabic]
\definetypeface [Arabic] [rm] [serif] [arabic] [default]
\stoptypescript
\usetypescript[Arabic]
\setupbodyfont[Arabic,20pt]
% directionality
\pagedir TRT\bodydir TRT\pardir TRT\textdir TRT
%
\setcharactermirroring[1]
% hyperlinks
\setupinteraction
[state=start,
color=red,
style=bold]
\starttext
\startstandardmakeup
\midaligned{كيف تكتب عربي في كنتكست}
\midaligned{كتبه}
\midaligned{خالد حسني}
\stopstandardmakeup
\completecontent
%\placecontent
\chapter{مقدمة}
... كلام\index{عنصر فهرس} ...
\chapter{أول فصل}
\section[firstsection]{أول باب}
... كلام ...
\section{ثاني باب}
... كلام\index{فهرس آخر} ...
\subsection{ثاني مسألة}
... كلام\index{index entry} ...
\section{ثالث باب}
... كلام ...
\chapter{فصل آخر}
... كلام ...
\chapter[lastchapter]{آخر فصل}
... كلام ...
\completeindex
\stoptext
[-- Attachment #1.1.3: index_ar.pdf --]
[-- Type: application/pdf, Size: 27537 bytes --]
[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2008-06-20 0:23 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 0:23 Khaled Hosny [this message]
2008-06-20 1:38 ` Idris Samawi Hamid
2008-06-20 6:14 ` Wolfgang Schuster
2008-06-21 1:06 ` Idris Samawi Hamid
2008-06-20 7:34 ` Hans Hagen
2008-06-20 16:02 ` Khaled Hosny
2008-06-20 16:38 ` Hans Hagen
2008-06-20 17:17 ` Charles P. Schaum
2008-06-20 8:00 ` Hans Hagen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080620002305.GA26204@khaled-laptop \
--to=khaledhosny@eglug.org \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).