ِDear Idris,
سلام
Thank you. I will test that and let you know if it is what I realy
want. And again another problem that I encountered in conversion to
persiannumerals or arabicnumerals. I used an style you offered in one
of your posts and modified it for persian typesetting. I declared
\setuppagenumbering[conversion=persiannumerals]
and unfortunately the page numbering started from zero. The same thing
happens in footnote numbers even thouth I haven't use any conversion
for footnotes. All chapters, sections, and ... numbers starts from
zero. How can I solve this problem. Please see the attached files.
Best regards,


On 7/22/08, Idris Samawi Hamid ادريس سماوي حامد <[EMAIL PROTECTED]> wrote:
> Dear Mehdi,
> سلام
>
> On Tue, 22 Jul 2008 08:48:46 -0600, Mehdi Omidali <[EMAIL PROTECTED]>
> wrote:
>
>> Hi everyone,
>> Is it possible to pass a character to another in MKIV, I mean, like
>> XeTeX in which one can pass one unicode character to another one (this
>> is done in some mapping files with some lines in it of the form
>> U+0030 <> U+06F0 )
>
> I'm not quite sure I understand you, but there is a mechanism so that you
> can write your own feature file with your own gsubs and gposs and then
> pass those along to luatex.
>
> This was broken in earlier versions of luatex; seems to be working now --
> just checked. See below.
>
> Best wishes
> Idris
>
> ===============verbose.fea==================
> lookup NumericLookupDFLT {
>      lookupflag 0 ;
>          sub zero  by z e r o ;
>          sub one   by o n e ;
>          sub two   by t w o ;
>          sub three by t h r e e ;
>          sub four  by f o u r ;
>          sub five  by f i v e ;
>          sub six   by s i x ;
>          sub seven by s e v e n ;
>          sub eight by e i g h t ;
>          sub nine  by n i n e ;
> } NumericLookupDFLT ;
>
> feature verb {
>
>      script DFLT ;
>          language dflt ;
>              lookup NumericLookupDFLT ;
>
>      script latn;
>          language dflt ;
>              lookup NumericLookupDFLT ;
>          language AZE exclude_dflt ;
>              lookup NumericLookupDFLT ;
>          language CRT exclude_dflt ;
>              lookup NumericLookupDFLT ;
>          language MOL exclude_dflt ;
>              lookup NumericLookupDFLT ;
>          language ROM exclude_dflt ;
>              lookup NumericLookupDFLT ;
>          language TRK exclude_dflt ;
>              lookup NumericLookupDFLT ;
>
> } verb ;
> ============================================
>
> =================verb.tex===================
> % engine=luatex
>
> % \setupoutput[pdftex]
>
> \starttext
>
> \installfontfeature[otf][verb]
>
> \definefontfeature
> [test][mode=node,language=dflt,script=latn,verb=yes,featurefile=verbose.fea]
>
> \font\test=lmroman10-regular*test at 20pt
>
> \test 1 2 3 4
>
> \stoptext
> ============================================
> --
> Professor Idris Samawi Hamid, Editor-in-Chief
> International Journal of Shi`i Studies
> Department of Philosophy
> Colorado State University
> Fort Collins, CO 80523
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>

Attachment: fcon.pdf
Description: Adobe PDF document

Attachment: fcon.tex
Description: TeX document

Attachment: far-env.tex
Description: TeX document

___________________________________________________________________________________
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
___________________________________________________________________________________

Reply via email to