ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \star not working
@ 2011-06-20 14:49 Reviczky, Adam
  2011-06-20 14:52 ` Vedran Miletić
                   ` (3 more replies)
  0 siblings, 4 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 \star not working Reviczky, Adam
@ 2011-06-20 14:52 ` Vedran Miletić
  2011-06-20 15:07 ` netiquette (was: \star not working) Paul Menzel
                   ` (2 subsequent siblings)
  3 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

* netiquette (was: \star not working)
  2011-06-20 14:49 \star not working Reviczky, Adam
  2011-06-20 14:52 ` Vedran Miletić
@ 2011-06-20 15:07 ` Paul Menzel
  2011-06-20 15:07 ` \star not working Reviczky, Adam
  2011-06-20 15:24 ` Wolfgang Schuster
  3 siblings, 0 replies; 11+ messages in thread
From: Paul Menzel @ 2011-06-20 15:07 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 522 bytes --]

Dear Adam,


Am Montag, den 20.06.2011, 15:49 +0100 schrieb Reviczky, Adam:

could you please use a mail program which sets the correct header fields
so that threading is working [1]?

> > Use $\star$ or \symbol[star].

Reading this quoted line, I am guessing you are using the reply to
feature of your mail program, but it is not threaded correctly.

[…]


Thanks,

Paul


PS: Thank you for using interleaved posting style already!


[1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

[-- 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 14:49 \star not working Reviczky, Adam
  2011-06-20 14:52 ` Vedran Miletić
  2011-06-20 15:07 ` netiquette (was: \star not working) Paul Menzel
@ 2011-06-20 15:07 ` Reviczky, Adam
  2011-06-21  8:34   ` Reviczky, Adam
  2011-06-20 15:24 ` Wolfgang Schuster
  3 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 14:49 \star not working Reviczky, Adam
                   ` (2 preceding siblings ...)
  2011-06-20 15:07 ` \star not working Reviczky, Adam
@ 2011-06-20 15:24 ` Wolfgang Schuster
  2011-06-20 17:50   ` Aditya Mahajan
  3 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 15:07 ` \star not working 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 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

* Re: netiquette (was: \star not working)
@ 2011-06-20 15:15 Reviczky, Adam
  0 siblings, 0 replies; 11+ messages in thread
From: Reviczky, Adam @ 2011-06-20 15:15 UTC (permalink / raw)
  To: ntg-context

> could you please use a mail program which sets the correct header fields
> so that threading is working [1]?

I know, sorry about that, but I couldn't figure out why this doesn't work when I'm at the university.
Any hints appreciated (for outlook web).

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

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:49 \star not working Reviczky, Adam
2011-06-20 14:52 ` Vedran Miletić
2011-06-20 15:07 ` netiquette (was: \star not working) Paul Menzel
2011-06-20 15:07 ` \star not working 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
2011-06-20 15:15 netiquette (was: \star not working) Reviczky, Adam

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).