Re: [NTG-context] \star not working
Am 21.06.2011 um 22:48 schrieb Aditya Mahajan: > On Mon, 20 Jun 2011, Hans Hagen wrote: > >> On 20-6-2011 7:50, Aditya Mahajan wrote: >> >>> Could we just add a \textstar in char-def.lua? (And maybe use that to >>> redefine \symbol[star]) >> >> what unicode? > > 22C6, same as \star. Another option is to define symbol[star] directly using > ⋆ (0x22C6 glyph). Not all fonts (e.g. Latin Modern) have the symbol and this is why context takes it from the math font. With \setupsymbolset[text] the symbol *is* taken from the text font when available and the math font is used as fallback. Wolfgang ___ 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 ___
Re: [NTG-context] \star not working
On Mon, 20 Jun 2011, Hans Hagen wrote: On 20-6-2011 7:50, Aditya Mahajan wrote: Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) what unicode? 22C6, same as \star. Another option is to define symbol[star] directly using ⋆ (0x22C6 glyph). Aditya___ 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 ___
Re: [NTG-context] \star not working
> > Could we just add a \textstar in char-def.lua? (And maybe use that to > > redefine \symbol[star]) I'd welcome that, seeing that we already have textbullet. char-def.lua, line 56213: + contextname="textstar", > what unicode? U+22C6 Adam ___ 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 ___
Re: [NTG-context] \star not working
On 20-6-2011 7:50, Aditya Mahajan wrote: Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) what unicode? - 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 ___
Re: [NTG-context] \star not working
On Mon, 20 Jun 2011, Wolfgang Schuster wrote: Am 20.06.2011 um 16:49 schrieb Reviczky, Adam: Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Pagella has it and with “\setupsymbolset[text]” context looks first if the text font has it before it tries to take it from the math font. Could we just add a \textstar in char-def.lua? (And maybe use that to redefine \symbol[star]) Aditya___ 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 ___
Re: [NTG-context] \star not working
Am 20.06.2011 um 16:49 schrieb Reviczky, Adam: >> Use $\star$ or \symbol[star]. > > Thanks, but both will use the math font (in my case: > https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Pagella has it and with “\setupsymbolset[text]” context looks first if the text font has it before it tries to take it from the math font. \setupbodyfont[pagella-euler] \setupsymbolset[text] \starttext \symbol[star] \stoptext Wolfgang ___ 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 ___
Re: [NTG-context] \star not working
> This came up a while ago, I believe this is the solution: > > http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html Thanks. So if I want to typeset the star in non-math mode instead, how do I do that? I just tested it (\star) with "version: 2011.06.19 14:17", and there it works. With "version: 2011.06.20 10:47" it doesn't. Adam ___ 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 ___
Re: [NTG-context] \star not working
2011/6/20 Reviczky, Adam : >> Use $\star$ or \symbol[star]. > > Thanks, but both will use the math font (in my case: > https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. > > Missing character: There is no ⋆ (U+22C6) in font euler! > > Using "\star" only worked as a workaround until recently. > > I'm not doing anything wrong here, am I? > > I'm looking at: > --- > \usetypescript[palatino] > \definetypeface [palatino] [mm] [math] [euler] [euler][rscale=1.03] > \definetypeface [boldmath] [mm] [boldmath][euler][euler][rscale=1.03] > \setupbodyfont[palatino,11pt] > \starttext > $\star$ > \symbol[star] > \star > \stoptext > --- > > Adam This came up a while ago, I believe this is the solution: http://www.mail-archive.com/ntg-context@ntg.nl/msg47703.html Vedran ___ 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 ___
[NTG-context] \star not working
> Use $\star$ or \symbol[star]. Thanks, but both will use the math font (in my case: https://github.com/khaledhosny/euler-otf) which doesn't have this symbol. Missing character: There is no ⋆ (U+22C6) in font euler! Using "\star" only worked as a workaround until recently. I'm not doing anything wrong here, am I? I'm looking at: --- \usetypescript[palatino] \definetypeface [palatino] [mm] [math] [euler] [euler][rscale=1.03] \definetypeface [boldmath] [mm] [boldmath][euler][euler][rscale=1.03] \setupbodyfont[palatino,11pt] \starttext $\star$ \symbol[star] \star \stoptext --- Adam ___ 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 ___
Re: [NTG-context] \star not working
Am 20.06.2011 um 16:12 schrieb Reviczky, Adam: > Hi > > Can someone confirm this: > --- > \starttext > \star > \stoptext > --- > > Nothing shows up in the PDF. Use $\star$ or \symbol[star]. Wolfgang ___ 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 ___
[NTG-context] \star not working
Hi Can someone confirm this: --- \starttext \star \stoptext --- Nothing shows up in the PDF. ConTeXt is "current version: 2011.06.20 10:47" (it is fine on live.contextgarden.net, and worked a couple of days ago). Adam ___ 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 ___