ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Wolfgang Werners-Lucchini" <wwl@musensturm.de>
To: ntg-context@ntg.nl
Subject: Re: astronomy symbols
Date: Sun, 16 Aug 2009 22:37:38 +0200	[thread overview]
Message-ID: <4A888A32.18635.2919723@wwl.musensturm.de> (raw)

Hallo Wolfgang,

> > I can not produce astronomy symbols.
> 
> % Unicode Fonts: http://users.teilar.gr/~g1951d/
> %
> % the font for the symbols is hardcoded but as we have in mkiv
> fonts
> % with more symbols a command to change the font would make sense
> 
> \definefontsynonym [UnicodeSymbols] [name:unicodesymbols]
> 
> \def\UnicodeSymbol#1{\getglyph{UnicodeSymbols}{\utfchar{#1}}}
> 
> \startsymbolset [miscellaneoussymbols]
> 
>      \definesymbol[blacktelephone][\UnicodeSymbol{"260E}]
>      \definesymbol[whitetelephone][\UnicodeSymbol{"260F}]
> 
>      \definesymbol[mercury]       [\UnicodeSymbol{"263F}]
>      \definesymbol[earth]         [\UnicodeSymbol{"2641}]
>      \definesymbol[jupiter]       [\UnicodeSymbol{"2643}]
>      \definesymbol[saturn]        [\UnicodeSymbol{"2644}]
>      \definesymbol[uranus]        [\UnicodeSymbol{"2645}]
>      \definesymbol[neptune]       [\UnicodeSymbol{"2646}]
>      \definesymbol[pluto]         [\UnicodeSymbol{"2647}]
> 
> \stopsymbolset
> 
> Wolfgang

It is good to know, that there is an alternative.
I will try it!

But what is wrong with my code? Why does it not work?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


             reply	other threads:[~2009-08-16 20:37 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-16 20:37 Wolfgang Werners-Lucchini [this message]
2009-08-17 14:41 ` Wolfgang Schuster
2009-08-17 15:05   ` Aditya Mahajan
2009-08-17 15:19     ` Wolfgang Schuster
2009-08-17 15:38       ` luigi scarso
     [not found] <mailman.1181.1250520088.3069.ntg-context@ntg.nl>
2009-08-17 22:57 ` Wolfgang Werners-Lucchini
2009-08-18  3:42   ` Wolfgang Schuster
  -- strict thread matches above, loose matches on Subject: below --
2009-08-15 10:59 Wolfgang Werners-Lucchini
2009-08-15 14:08 ` Wolfgang Schuster
2009-08-15 14:20   ` Aditya Mahajan
2009-08-15 14:41     ` luigi scarso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A888A32.18635.2919723@wwl.musensturm.de \
    --to=wwl@musensturm.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).