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

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] 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, --

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Otared Kavian
On 8 janv. 09, at 01:29, Hans Hagen wrote: […] […] can you test this with the alpha from our website? Hi Hans, I compiled a brand new version of LuaTeX from the SVN repository, having now LuaTeX revision 0, (LuaTeX date stamp 2009010808), ConTeXt version 2008.11.10 21:40,

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Taco Hoekwater
Otared Kavian wrote: On 8 janv. 09, at 01:29, Hans Hagen wrote: […] […] can you test this with the alpha from our website? Hi Hans, I compiled a brand new version of LuaTeX from the SVN repository, having now LuaTeX revision 0, (LuaTeX date stamp 2009010808), ConTeXt version

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Otared Kavian
On 8 janv. 09, at 09:13, Taco Hoekwater wrote: Otared Kavian wrote: On 8 janv. 09, at 01:29, Hans Hagen wrote: […] […] can you test this with the alpha from our website? Hi Hans, I compiled a brand new version of LuaTeX from the SVN repository, having now LuaTeX revision 0, (LuaTeX

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Mojca Miklavec
On Thu, Jan 8, 2009 at 9:13 AM, Taco Hoekwater wrote: Otared Kavian wrote: It is useful to have the latest luatex as well, but Hans was certainly talking about the context release: http://www.pragma-ade.com/context/alpha/cont-tmf.zip Iirc, that alpha version is also usable via minimals,

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Wolfgang Schuster
Am 08.01.2009 um 11:44 schrieb Otared Kavian: Hi Taco, Thanks for the hint. I did install a new directory with the alpha version (using the key --context-experimental, and in another directory with the key --context=alpha) together with the latest LuaTeX which I compiled from the SVN

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Taco Hoekwater
Mojca Miklavec wrote: On Thu, Jan 8, 2009 at 9:13 AM, Taco Hoekwater wrote: Otared Kavian wrote: It is useful to have the latest luatex as well, but Hans was certainly talking about the context release: http://www.pragma-ade.com/context/alpha/cont-tmf.zip Iirc, that alpha version is also

Re: [NTG-context] Sample farsi file

2009-01-08 Thread Ilda Khaki
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.

Re: [NTG-context] Sample farsi file

2009-01-07 Thread Hans Hagen
Otared Kavian wrote: On 6 janv. 09, at 10:53, Ilda Khaki wrote: can someone send me a sample file to type farsi? Hi Ilda, Here is a sample file for writing Faarsi with XeConTeXt (that is XeTeX + ConTeXt). In principle one can also use ConTeXt-mkiv, that is ConTeXt with the LuaTeX engine,

Re: [NTG-context] Sample farsi file

2009-01-07 Thread Hans Hagen
Otared Kavian wrote: On 6 janv. 09, at 10:53, Ilda Khaki wrote: can someone send me a sample file to type farsi? Hi Ilda, Here is a sample file for writing Faarsi with XeConTeXt (that is XeTeX + ConTeXt). In principle one can also use ConTeXt-mkiv, that is ConTeXt with the LuaTeX engine,

Re: [NTG-context] Sample farsi file

2009-01-07 Thread Otared Kavian
Dear Hans, Thank your very much for your attention and your remarks about the sample Faarsi file I sent. Thanks also for your valuable time you spend on such questions from non experts… On 7 janv. 09, at 09:38, Hans Hagen wrote: […] i can look into it if i have samples + fonts + expected

Re: [NTG-context] Sample farsi file

2009-01-07 Thread Hans Hagen
Otared Kavian wrote: 1) When using Arabic short vowels such as U+064F (ARABIC DAMMA) U+0650 (ARABIC KASRA) U+0651 (ARABIC SHADDA) the ligatures between characters breaks down. For instance compare the typesetting of the following words in XeTeX, XeConTeXt and mkiv (actually, in

[NTG-context] Sample farsi file

2009-01-06 Thread Ilda Khaki
can someone send me a sample file to type farsi? ___ 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

Re: [NTG-context] Sample farsi file

2009-01-06 Thread Otared Kavian
On 6 janv. 09, at 10:53, Ilda Khaki wrote: can someone send me a sample file to type farsi? Hi Ilda, Here is a sample file for writing Faarsi with XeConTeXt (that is XeTeX + ConTeXt). In principle one can also use ConTeXt-mkiv, that is ConTeXt with the LuaTeX engine, but at this point I