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
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
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
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]
And here is lang-pe.tex
%
%-lang-pe.tex
\writestatus{loading}{Persian Languages}
\unprotect
\setupheadtext [content=فهرست مطالب]
\setupheadtext [tables=ليست جداول]
\setupheadtext [figures=ليست تصاوير]
\setupheadtext
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
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
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
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
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:
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
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
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 :
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
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
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
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
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
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
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,
--
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]
21 matches
Mail list logo