Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-12 Thread Mingranina Gingranina
packages) you're > using. Most probably, you either use "plain" or "latex", and then you > should see how they generate the page numbers and define a macro that > provides the Persian numbers, etc. See how XePersian package handles it. > (Search for \pagenumbering.) &g

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-10 Thread Mingranina Gingranina
Dear Wolfgang Hello, First of all, let me thank you very much for your informative answer. On 10/10/16, Wolfgang Schuster <schuster.wolfg...@gmail.com> wrote: >> Mingranina Gingranina <mailto:mingran...@gmail.com> >> 7. Oktober 2016 um 17:41 >> Dear Mohammad, &g

Re: [NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mingranina Gingranina
have not tried it myself. >> >> \font\myfont=file:font.otf:language=dflt;script=arab; >> ccmp=yes;init=yes;medi=yes;fina=yes;rlig=yes >> >> —MHB >> >> >> On Fri, Oct 7, 2016 at 7:01 AM, Mingranina Gingranina < >> mingran...@gmail.com>

[NTG-context] How to use "fontsampler example" with Persian font

2016-10-07 Thread Mingranina Gingranina
Dear All, Hello, I am trying to use "fontsampler example" with Persian fonts (please see below or "http://wiki.luatex.org/index.php/Fontsampler; for fontsampler codes). The problem is that Persian words apears as a string of separate glyphs, for example I get "ح‌س‌ن" instead of "حسن". Do I

Re: [NTG-context] Problem with \leqalignno

2016-09-11 Thread Mingranina Gingranina
Dear Aditya, Otared, and Hans, Hello, Thank you all very much for your help. Your codes work fine. However when I use \setupformulas[location=right] the equation numbers apperar on the rightmost of the line, but with \setupformulas[location=left] the equation numbers appear near the formulas

[NTG-context] Problem with \leqalignno

2016-09-10 Thread Mingranina Gingranina
Hello All, I am trying to compile the following example (from http://wiki.contextgarden.net/Math/Display) with context: \starttext \placeformula \startformula \leqalignno{c^2 &= a^2 + b^2 &\formulanumber{a} \cr a^2 + b^2 &= c^2 &\subformulanumber{b} \cr d^2 &= e^2

Re: [NTG-context] Persian numbers for page numbering

2013-12-04 Thread Mingranina Gingranina
On 11/30/13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 29.11.2013 um 16:49 schrieb Mingranina Gingranina mingran...@gmail.com: Dear All, Hello, How can I force ConTeXt to use Persian numbers for page numbering? \setuppagenumber[numberconversion=persiannumerals] Dear

[NTG-context] Persian numbers for page numbering

2013-11-29 Thread Mingranina Gingranina
Dear All, Hello, How can I force ConTeXt to use Persian numbers for page numbering? Thanks Mingranina ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Persian digits in math formulas

2013-08-17 Thread Mingranina Gingranina
On 8/17/13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The following example from Hans worked in my system: \usetypescriptfile[mathdigits] \usetypescript [mathdigits] [xits-dejavu] [arabicindic] \setupbodyfont[dejavu] \starttext $3+2=5 \quad \bf 3+2=5$ \stoptext Dear

[NTG-context] Persian digits in math formulas

2013-08-15 Thread Mingranina Gingranina
Dear All, Hello, I am trying to use Persian digits in math formulas. My document reads: \font\4 = {name:dejavusans} at 10pt \font\5 = {name:dejavusans} at 7pt \font\6 = {name:dejavusans} at 5pt \textfont4=\4 \scriptfont4=\5 \scriptscriptfont4=\6 \Umathcode`3=14`۳ \definefontfeature

Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Mingranina Gingranina
On 8/15/13, Hans Hagen pra...@wxs.nl wrote: On 8/15/2013 4:22 PM, Mingranina Gingranina wrote: Dear All, Hello, I am trying to use Persian digits in math formulas. My document reads: \font\4 = {name:dejavusans} at 10pt \font\5 = {name:dejavusans} at 7pt \font\6 = {name:dejavusans

[NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
Dear All, Hello, I am completely new to ConTeXt and after searching and exploring the ConTeXt Garden wiki pages and other resources thoroughly, I decided to write my first document in Persian which reads: \enableregime [utf-8] \definefontfeature [persian]

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
as isolated characters. Thanks, Mingranina On 8/7/13, Hans Hagen pra...@wxs.nl wrote: On 8/7/2013 10:50 AM, Mingranina Gingranina wrote: Dear All, Hello, I am completely new to ConTeXt and after searching and exploring the ConTeXt Garden wiki pages and other resources thoroughly, I decided

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
Dear Hans, Hello again, I just noticed that your code works fine with Dejavusans TrueType font, but not with some other TrueType fonts. Thanks, On 8/7/13, Mingranina Gingranina mingran...@gmail.com wrote: Dear Hans, Hello, Thank you very much for your reply. With your code the Persian part

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Hans Hagen pra...@wxs.nl wrote: On 8/7/2013 2:38 PM, Mingranina Gingranina wrote: Dear Hans, Hello again, I just noticed that your code works fine with Dejavusans TrueType font, but not with some other TrueType fonts. in which case you use fonts that have no arabic shapes

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Pablo Rodríguez oi...@web.de wrote: On 08/07/2013 04:09 PM, Mingranina Gingranina wrote: [...] For TrueType fonts which are in the directory '/usr/share/fonts/TTF/' everything works fine, but if the font is in '/usr/local/share/fonts/' then the code fails. Please note that I have

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 07.08.2013 um 12:38 schrieb Mingranina Gingranina mingran...@gmail.com: Dear Hans, Hello, Thank you very much for your reply. With your code the Persian part disappears on my system unless I insert the following two lines

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Otared Kavian ota...@gmail.com wrote: As Wolfgang said, if I fix the name of the key in \setmainfont (from « feature » to « features », see below), then your test works fine here (using Mac OS X 10.8.4, and ConTeXt ver: 2013.08.07 14:40 MKIV beta fmt: 2013.8.7). Unfortunately,