Re: [NTG-context] Sample farsi file

2009-01-09 Thread Hans Hagen
Ilda Khaki wrote: Is it possible to import functionalities of XePersian into ConTeXt. Xepersian now is excellent in Persian typesetting and you can do all you want in Persian typography. but I hate LaTeX. its main author unfortunately is anti-ConTeXt. i have no clue what xepersian is but if

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
No, Xepersian is a macro package for xelatex. MKIV is also excellent for typesseting persian. You can use the following module for persian or arabic %-persian-env.tex--- %This file is designed by Mehdi Omidali for easy typesetting persian

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
I resend the file %-persian-env.tex--- %This file is designed by Mehdi Omidali for easy typesetting persian in Context %File Versin:2008-7-20 \startenvironment persian-env \usemodule[lang-pe] \mainlanguage[pe] % Font setup

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
Sorry, something is wrong with my email setting. %-persian-env.tex--- %This file is designed by Mehdi Omidali for easy typesetting persian in Context %File Versin:2008-7-20 \startenvironment persian-env \usemodule[lang-pe] \mainlanguage[pe]

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
And here is lang-pe.tex % %-lang-pe.tex \writestatus{loading}{Persian Languages} \unprotect \setupheadtext [content=فهرست مطالب] \setupheadtext [tables=ليست جداول] \setupheadtext [figures=ليست تصاوير] \setupheadtext

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Ilda Khaki
thanks. but this file looks like a textbook. it is too long. can not be shorter? I have not tried your sample but 1) will this produce farsi maths? (2) I want irani date, is it possible? (3) From otared samples, i can see that luatex can not handle fonts well, is the issue solved? 4) how footnote

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Hans Hagen
Ilda Khaki wrote: thanks. but this file looks like a textbook. it is too long. can not be shorter? I have not tried your sample but 1) will this produce farsi maths? (2) I want irani date, is it possible? (3) From otared samples, i can see that luatex can not handle fonts well, is the issue

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Hans Hagen
Mehdi Omidali wrote: And here is lang-pe.tex if i need to add/patch things, just send me the files directly Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Ilda Khaki
1) numbers in maths formula is Persian, possible? 2) is it hard to write a converter? 4) there are two footnote commands. one for persian and one for english. persian footnotes will be on left and persian footnotes on right. also if the first footnote in a page is persian, footnote rule is on

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
In Luatex one can define font for math equations. So it is possible to have persian numerals in math formulas. But for Jalali calendar we have to write a macro (maybe Idris has done this). Font handling: currently luatex can not handle IranNastliq font but other fonts are ok. About footnote rule:

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Hans Hagen
Ilda Khaki wrote: 1) numbers in maths formula is Persian, possible? luatex will have unicode math and then we can look into that (it does not make sense to do that in traditional tex math) 2) is it hard to write a converter? no, it's done in core-con.lua etc 4) there are two footnote

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Hans Hagen
Mehdi Omidali wrote: In Luatex one can define font for math equations. So it is possible to have persian numerals in math formulas. But for Jalali calendar we have to write a macro (maybe Idris has done this). Font handling: currently luatex can not handle IranNastliq font but other fonts are

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Ilda Khaki
thanks. it is rl. (I believe) ___ 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 :

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Taco Hoekwater
Hans Hagen wrote: Mehdi Omidali wrote: In Luatex one can define font for math equations. So it is possible to have persian numerals in math formulas. But for Jalali calendar we have to write a macro (maybe Idris has done this). Font handling: currently luatex can not handle IranNastliq font

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
Please download the font from www.omidali.com/Fonts/IranNastaliq.rar On 1/9/09, Taco Hoekwater t...@elvenkind.com wrote: Hans Hagen wrote: Mehdi Omidali wrote: In Luatex one can define font for math equations. So it is possible to have persian numerals in math formulas. But for Jalali

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Taco Hoekwater
Mehdi Omidali wrote: Please download the font from www.omidali.com/Fonts/IranNastaliq.rar Found it (and we found the associated bug in font-otf.lua also). Best wishes, Taco ___ If your question is of interest to

[NTG-context] alpha

2009-01-09 Thread Hans Hagen
Hi, there is a new alpha; this one reports (for certain features) if characters are missing in a font (which is the case in the reported farsi font) there are two experimental tricks: \checkcharactersinfont \removemissingcharacters these force an extra pass over the nodelist for checking

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Mehdi Omidali
Very Good news. Thanks. On Fri, Jan 9, 2009 at 5:58 PM, Taco Hoekwater t...@elvenkind.com wrote: Mehdi Omidali wrote: Please download the font from www.omidali.com/Fonts/IranNastaliq.rar Found it (and we found the associated bug in font-otf.lua also). Best wishes, Taco

Re: [NTG-context] lucida and mactex 2008

2009-01-09 Thread Jerónimo Alaminos Prats
Solved. \enablemathcollection[lbr] does the trick. Thanks to everybody. - Jerónimo Alaminos Prats Dpto. Análisis Matemático Facultad de Ciencias Universidad de Granada Granada - 18071 alami...@ugr.es

Re: [NTG-context] Sample farsi file

2009-01-09 Thread Khaled Hosny
On Fri, Jan 9, 2009 at 1:53 PM, Mehdi Omidali mehd...@gmail.com wrote: Font handling: currently luatex can not handle IranNastliq font but other fonts are ok. IIRC, I had IranNastaliq working very well with ConTeXt MkIV (I can't access my machine right now, unfortunately). Regards, --

[NTG-context] Change the font to Charter

2009-01-09 Thread Curious
Hello All, I have been using Latex for sometime and am thinking of switching to Context for at least some types of documents and hence have been trying it out. I love the charter font and tried to use the following commands to use the Charter font \definetypeface [charter] [rm] [serif] [charter]