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

2016-10-12 Thread Mingranina Gingranina
27;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.) >

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 wrote: >> Mingranina Gingranina <mailto:mingran...@gmail.com> >> 7. Oktober 2016 um 17:41 >> Dear Mohammad, >> Hi, >> >> Thank

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

2016-10-07 Thread Mingranina Gingranina
gt;> \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> wrote: >> >>> Dear All, >>

[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 h

Re: [NTG-context] Problem with \leqalignno

2016-09-11 Thread Mingranina Gingranina
ersion such as the one from > TeXLive 2016, that is the stable version > ConTeXt ver: 2016.05.17 19:20 MKIV current > then you get good results. > > Best regrads: OK > >> On 11 Sep 2016, at 15:35, Mingranina Gingranina >> wrote: >> >> Dear Aditya, Otared,

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 wrote: > > Am 29.11.2013 um 16:49 schrieb Mingranina Gingranina > : > >> Dear All, >> Hello, >> >> How can I force ConTeXt to use Persian numbers for page numbering? > > \setuppagenumber[numberconversion=persiannumerals]

[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 : ntg-context@nt

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

2013-08-17 Thread Mingranina Gingranina
On 8/17/13, Wolfgang Schuster 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 Wolfgang Schuster,

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

2013-08-15 Thread Mingranina Gingranina
On 8/15/13, Hans Hagen 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 >> >&g

[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="1"4`۳ \definefontfeature [pers

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Otared Kavian 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, on my system

Re: [NTG-context] problem with Persian feature

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

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Pablo Rodríguez 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/'

Re: [NTG-context] problem with Persian feature

2013-08-07 Thread Mingranina Gingranina
On 8/7/13, Hans Hagen 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

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 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
isolated characters. Thanks, Mingranina On 8/7/13, Hans Hagen 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 othe

[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] [mode=node,language=dflt,script=arab