* Wrong upright Greek instead of Italic @ 2010-07-14 20:33 Khaled Hosny 2010-07-14 21:16 ` Aditya Mahajan 2010-07-15 4:42 ` Otared Kavian 0 siblings, 2 replies; 10+ messages in thread From: Khaled Hosny @ 2010-07-14 20:33 UTC (permalink / raw) To: mailing list for ConTeXt users This gives me upright Greek, but I was expecting italic: \setupbodyfont[xits] \starttext $\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ $\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ \stoptext -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-14 20:33 Wrong upright Greek instead of Italic Khaled Hosny @ 2010-07-14 21:16 ` Aditya Mahajan 2010-07-14 21:19 ` Khaled Hosny 2010-07-15 4:42 ` Otared Kavian 1 sibling, 1 reply; 10+ messages in thread From: Aditya Mahajan @ 2010-07-14 21:16 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 383 bytes --] On Wed, 14 Jul 2010, Khaled Hosny wrote: > This gives me upright Greek, but I was expecting italic: > > \setupbodyfont[xits] > \starttext > $\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > > $\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > \stoptext What happens if you key in the actual unicode values (sorry no ConTeXt right now)? Aditya [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-14 21:16 ` Aditya Mahajan @ 2010-07-14 21:19 ` Khaled Hosny 2010-07-14 21:42 ` Aditya Mahajan 0 siblings, 1 reply; 10+ messages in thread From: Khaled Hosny @ 2010-07-14 21:19 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Jul 14, 2010 at 05:16:14PM -0400, Aditya Mahajan wrote: > On Wed, 14 Jul 2010, Khaled Hosny wrote: > > >This gives me upright Greek, but I was expecting italic: > > > >\setupbodyfont[xits] > >\starttext > >$\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > > > >$\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > >\stoptext > > What happens if you key in the actual unicode values (sorry no > ConTeXt right now)? I get the correct style as typed. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-14 21:19 ` Khaled Hosny @ 2010-07-14 21:42 ` Aditya Mahajan 2010-07-15 4:26 ` Khaled Hosny 2010-07-15 5:08 ` Aditya Mahajan 0 siblings, 2 replies; 10+ messages in thread From: Aditya Mahajan @ 2010-07-14 21:42 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 673 bytes --] On Thu, 15 Jul 2010, Khaled Hosny wrote: > On Wed, Jul 14, 2010 at 05:16:14PM -0400, Aditya Mahajan wrote: >> On Wed, 14 Jul 2010, Khaled Hosny wrote: >> >> >This gives me upright Greek, but I was expecting italic: >> > >> >\setupbodyfont[xits] >> >\starttext >> >$\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ >> > >> >$\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ >> >\stoptext >> >> What happens if you key in the actual unicode values (sorry no >> ConTeXt right now)? > > I get the correct style as typed. Then this is a bug in the mappings (and I assume that Cambria also does not work). I will test later. Aditya [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-14 21:42 ` Aditya Mahajan @ 2010-07-15 4:26 ` Khaled Hosny 2010-07-15 5:08 ` Aditya Mahajan 1 sibling, 0 replies; 10+ messages in thread From: Khaled Hosny @ 2010-07-15 4:26 UTC (permalink / raw) To: mailing list for ConTeXt users On Wed, Jul 14, 2010 at 05:42:30PM -0400, Aditya Mahajan wrote: > On Thu, 15 Jul 2010, Khaled Hosny wrote: > > >On Wed, Jul 14, 2010 at 05:16:14PM -0400, Aditya Mahajan wrote: > >>On Wed, 14 Jul 2010, Khaled Hosny wrote: > >> > >>>This gives me upright Greek, but I was expecting italic: > >>> > >>>\setupbodyfont[xits] > >>>\starttext > >>>$\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > >>> > >>>$\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > >>>\stoptext > >> > >>What happens if you key in the actual unicode values (sorry no > >>ConTeXt right now)? > > > >I get the correct style as typed. > > Then this is a bug in the mappings (and I assume that Cambria also > does not work). I will test later. Or even LM, all give me upright instead of italic. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-14 21:42 ` Aditya Mahajan 2010-07-15 4:26 ` Khaled Hosny @ 2010-07-15 5:08 ` Aditya Mahajan 2010-07-15 5:13 ` Khaled Hosny 2010-07-15 7:32 ` Hans Hagen 1 sibling, 2 replies; 10+ messages in thread From: Aditya Mahajan @ 2010-07-15 5:08 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1518 bytes --] On Wed, Jul 14, 2010 at 5:42 PM, Aditya Mahajan <adityam@umich.edu> wrote: > On Thu, 15 Jul 2010, Khaled Hosny wrote: > > On Wed, Jul 14, 2010 at 05:16:14PM -0400, Aditya Mahajan wrote: >> >>> On Wed, 14 Jul 2010, Khaled Hosny wrote: >>> >>> >This gives me upright Greek, but I was expecting italic: >>> > >>> >\setupbodyfont[xits] >>> >\starttext >>> >$\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ >>> > >>> >$\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ >>> >\stoptext >>> >>> What happens if you key in the actual unicode values (sorry no >>> ConTeXt right now)? >>> >> >> I get the correct style as typed. >> > > Then this is a bug in the mappings (and I assume that Cambria also does > not work). I will test later. Currently, \mathit does not set the attributes for greek. The italic attributes for greek are set by \mathgreekitalic and \mathgreekupright (but see below). \mathit can also set \mathgreekitalic. But I am not sure if it should. However, there is a bug in \mathgreekupright and \mathgreekialic: they set the wrong numerical values for attributes. The correct definitions are: \unexpanded\def\mathgreekupright{\attribute\mathgreekattribute22 } \unexpanded\def\mathgreekitalic {\attribute\mathgreekattribute33 } and then you can use \mathgreekitalic and \mathgreekitalic\bf instead of \mathit and \mathbi. @Hans, can you correct these definitions in math-ini.mkiv. BTW, I did not know that you could use \setupbodyfont without the \usetypescript line. Aditya [-- Attachment #1.2: Type: text/html, Size: 2168 bytes --] [-- Attachment #2: Type: text/plain, Size: 486 bytes --] ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-15 5:08 ` Aditya Mahajan @ 2010-07-15 5:13 ` Khaled Hosny 2010-07-15 7:32 ` Hans Hagen 1 sibling, 0 replies; 10+ messages in thread From: Khaled Hosny @ 2010-07-15 5:13 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, Jul 15, 2010 at 01:08:41AM -0400, Aditya Mahajan wrote: > > BTW, I did not know that you could use \setupbodyfont without the \ > usetypescript line. I learnt it by accident, looks like some mkiv goody or something. -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-15 5:08 ` Aditya Mahajan 2010-07-15 5:13 ` Khaled Hosny @ 2010-07-15 7:32 ` Hans Hagen 1 sibling, 0 replies; 10+ messages in thread From: Hans Hagen @ 2010-07-15 7:32 UTC (permalink / raw) To: mailing list for ConTeXt users On 15-7-2010 7:08, Aditya Mahajan wrote: > @Hans, can you correct these definitions in math-ini.mkiv. > > BTW, I did not know that you could use \setupbodyfont without the > \usetypescript line. I added that a while ago for mkiv, where it's doable as we don't have to specify font encodings (\settrue\autotypescripts is default). Actually, it will also try to load type-<askedname> when no match is found, so you can make type-mycombi.tex with a mycombi typescript and then \setupbodyfont[mycombi]. Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-14 20:33 Wrong upright Greek instead of Italic Khaled Hosny 2010-07-14 21:16 ` Aditya Mahajan @ 2010-07-15 4:42 ` Otared Kavian 2010-07-15 5:00 ` Khaled Hosny 1 sibling, 1 reply; 10+ messages in thread From: Otared Kavian @ 2010-07-15 4:42 UTC (permalink / raw) To: mailing list for ConTeXt users Hi Khaled, Do you use \setupmathematics[ucgreek=italic] at the top of your file? Here I do get italic Greek letters if I add the above command to your example. Best regards: OK On 14 juil. 2010, at 16:33, Khaled Hosny wrote: > This gives me upright Greek, but I was expecting italic: > > \setupbodyfont[xits] > \starttext > $\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > > $\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > \stoptext > > -- > Khaled Hosny > Arabic localiser and member of Arabeyes.org team > Free font developer > ___________________________________________________________________________________ > 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 : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Wrong upright Greek instead of Italic 2010-07-15 4:42 ` Otared Kavian @ 2010-07-15 5:00 ` Khaled Hosny 0 siblings, 0 replies; 10+ messages in thread From: Khaled Hosny @ 2010-07-15 5:00 UTC (permalink / raw) To: mailing list for ConTeXt users On Thu, Jul 15, 2010 at 12:42:53AM -0400, Otared Kavian wrote: > Hi Khaled, > > Do you use > \setupmathematics[ucgreek=italic] > at the top of your file? > Here I do get italic Greek letters if I add the above command to your example. But then \mathrm will be italic too, since I'm explicitely selecting the style, the setup should make no difference, which is indeed the case with Latin. > > Best regards: OK > > On 14 juil. 2010, at 16:33, Khaled Hosny wrote: > > > This gives me upright Greek, but I was expecting italic: > > > > \setupbodyfont[xits] > > \starttext > > $\mathit{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > > > > $\mathbi{ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ}$ > > \stoptext > > > > -- > > Khaled Hosny > > Arabic localiser and member of Arabeyes.org team > > Free font developer > > ___________________________________________________________________________________ > > 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 : http://www.pragma-ade.nl / http://tex.aanhet.net > > archive : http://foundry.supelec.fr/projects/contextrev/ > > wiki : http://contextgarden.net > > ___________________________________________________________________________________ > > > ___________________________________________________________________________________ > 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 : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ -- Khaled Hosny Arabic localiser and member of Arabeyes.org team Free font developer ___________________________________________________________________________________ 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 : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2010-07-15 7:32 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2010-07-14 20:33 Wrong upright Greek instead of Italic Khaled Hosny 2010-07-14 21:16 ` Aditya Mahajan 2010-07-14 21:19 ` Khaled Hosny 2010-07-14 21:42 ` Aditya Mahajan 2010-07-15 4:26 ` Khaled Hosny 2010-07-15 5:08 ` Aditya Mahajan 2010-07-15 5:13 ` Khaled Hosny 2010-07-15 7:32 ` Hans Hagen 2010-07-15 4:42 ` Otared Kavian 2010-07-15 5:00 ` Khaled Hosny
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).