* \star not working @ 2011-06-20 14:12 Reviczky, Adam 2011-06-20 14:22 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Reviczky, Adam @ 2011-06-20 14:12 UTC (permalink / raw) To: ntg-context 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 14:12 \star not working Reviczky, Adam @ 2011-06-20 14:22 ` Wolfgang Schuster 0 siblings, 0 replies; 11+ messages in thread From: Wolfgang Schuster @ 2011-06-20 14:22 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* \star not working
@ 2011-06-20 14:49 Reviczky, Adam
2011-06-20 14:52 ` Vedran Miletić
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Reviczky, Adam @ 2011-06-20 14:49 UTC (permalink / raw)
To: ntg-context
> 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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 14:49 Reviczky, Adam @ 2011-06-20 14:52 ` Vedran Miletić 2011-06-20 15:07 ` Reviczky, Adam 2011-06-20 15:24 ` Wolfgang Schuster 2 siblings, 0 replies; 11+ messages in thread From: Vedran Miletić @ 2011-06-20 14:52 UTC (permalink / raw) To: mailing list for ConTeXt users 2011/6/20 Reviczky, Adam <adam.reviczky@kcl.ac.uk>: >> 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 14:49 Reviczky, Adam 2011-06-20 14:52 ` Vedran Miletić @ 2011-06-20 15:07 ` Reviczky, Adam 2011-06-21 8:34 ` Reviczky, Adam 2011-06-20 15:24 ` Wolfgang Schuster 2 siblings, 1 reply; 11+ messages in thread From: Reviczky, Adam @ 2011-06-20 15:07 UTC (permalink / raw) To: ntg-context > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 15:07 ` Reviczky, Adam @ 2011-06-21 8:34 ` Reviczky, Adam 0 siblings, 0 replies; 11+ messages in thread From: Reviczky, Adam @ 2011-06-21 8:34 UTC (permalink / raw) To: ntg-context > > 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 14:49 Reviczky, Adam 2011-06-20 14:52 ` Vedran Miletić 2011-06-20 15:07 ` Reviczky, Adam @ 2011-06-20 15:24 ` Wolfgang Schuster 2011-06-20 17:50 ` Aditya Mahajan 2 siblings, 1 reply; 11+ messages in thread From: Wolfgang Schuster @ 2011-06-20 15:24 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 15:24 ` Wolfgang Schuster @ 2011-06-20 17:50 ` Aditya Mahajan 2011-06-20 19:37 ` Hans Hagen 0 siblings, 1 reply; 11+ messages in thread From: Aditya Mahajan @ 2011-06-20 17:50 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 530 bytes --] 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 [-- Attachment #2: Type: text/plain, Size: 485 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] 11+ messages in thread
* Re: \star not working 2011-06-20 17:50 ` Aditya Mahajan @ 2011-06-20 19:37 ` Hans Hagen 2011-06-21 20:48 ` Aditya Mahajan 0 siblings, 1 reply; 11+ messages in thread From: Hans Hagen @ 2011-06-20 19:37 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: \star not working 2011-06-20 19:37 ` Hans Hagen @ 2011-06-21 20:48 ` Aditya Mahajan 2011-06-21 20:53 ` Wolfgang Schuster 0 siblings, 1 reply; 11+ messages in thread From: Aditya Mahajan @ 2011-06-21 20:48 UTC (permalink / raw) To: Hans Hagen; +Cc: mailing list for ConTeXt users [-- Attachment #1: Type: TEXT/PLAIN, Size: 321 bytes --] 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 [-- Attachment #2: Type: text/plain, Size: 485 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] 11+ messages in thread
* Re: \star not working 2011-06-21 20:48 ` Aditya Mahajan @ 2011-06-21 20:53 ` Wolfgang Schuster 0 siblings, 0 replies; 11+ messages in thread From: Wolfgang Schuster @ 2011-06-21 20:53 UTC (permalink / raw) To: mailing list for ConTeXt users 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2011-06-21 20:53 UTC | newest] Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2011-06-20 14:12 \star not working Reviczky, Adam 2011-06-20 14:22 ` Wolfgang Schuster 2011-06-20 14:49 Reviczky, Adam 2011-06-20 14:52 ` Vedran Miletić 2011-06-20 15:07 ` Reviczky, Adam 2011-06-21 8:34 ` Reviczky, Adam 2011-06-20 15:24 ` Wolfgang Schuster 2011-06-20 17:50 ` Aditya Mahajan 2011-06-20 19:37 ` Hans Hagen 2011-06-21 20:48 ` Aditya Mahajan 2011-06-21 20:53 ` Wolfgang Schuster
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).