ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* astronomy symbols
@ 2009-08-15 10:59 Wolfgang Werners-Lucchini
  2009-08-15 14:08 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-08-15 10:59 UTC (permalink / raw)
  To: ntg-context

Hallo,

I can not produce astronomy symbols.

I use:

LuaTeX, Version beta-0.40.6-2009070100 (Web2C 2009)
ConTeXt  ver: 2009.06.14 21:01 MKIV  fmt: 2009.7.16  int: 
english/english

Here a testfile:
----------------------------------
\usesymbols[was]
\setupsymbolset [wasy astronomy]
\def\Sat{\symbol[saturn]}
\starttext
\Sat
\stoptext
----------------------------------

The testfile works ok with MK II

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: astronomy symbols
@ 2009-08-16 20:37 Wolfgang Werners-Lucchini
  2009-08-17 14:41 ` Wolfgang Schuster
  0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-08-16 20:37 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 11+ messages in thread
[parent not found: <mailman.1181.1250520088.3069.ntg-context@ntg.nl>]

end of thread, other threads:[~2009-08-18  3:42 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-15 10:59 astronomy symbols Wolfgang Werners-Lucchini
2009-08-15 14:08 ` Wolfgang Schuster
2009-08-15 14:20   ` Aditya Mahajan
2009-08-15 14:41     ` luigi scarso
2009-08-16 20:37 Wolfgang Werners-Lucchini
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

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