* 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-15 10:59 astronomy symbols Wolfgang Werners-Lucchini
@ 2009-08-15 14:08 ` Wolfgang Schuster
2009-08-15 14:20 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-08-15 14:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 15.08.2009 um 12:59 schrieb Wolfgang Werners-Lucchini:
> Hallo,
>
> 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
___________________________________________________________________________________
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-15 14:08 ` Wolfgang Schuster
@ 2009-08-15 14:20 ` Aditya Mahajan
2009-08-15 14:41 ` luigi scarso
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2009-08-15 14:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, 15 Aug 2009, Wolfgang Schuster wrote:
>
> Am 15.08.2009 um 12:59 schrieb Wolfgang Werners-Lucchini:
>
>> Hallo,
>>
>> I can not produce astronomy symbols.
Are there "standard" names for astronomy symbols (or a subset of them). If
so, we can add the names to char-def. Then any font having these symbols
would work without any changes.
> % 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
This seems to a fairly complete computer modern like font. Thanks for the
link.
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: astronomy symbols
2009-08-15 14:20 ` Aditya Mahajan
@ 2009-08-15 14:41 ` luigi scarso
0 siblings, 0 replies; 11+ messages in thread
From: luigi scarso @ 2009-08-15 14:41 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 386 bytes --]
>
>
> % Unicode Fonts: http://users.teilar.gr/~g1951d/<http://users.teilar.gr/%7Eg1951d/>
>> %
>> % 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
>>
>
> This seems to a fairly complete computer modern like font. Thanks for the
> link.
>
I think that it should be included in minimals.
--
luigi
[-- Attachment #1.2: Type: text/html, Size: 800 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: astronomy symbols
2009-08-17 22:57 ` Wolfgang Werners-Lucchini
@ 2009-08-18 3:42 ` Wolfgang Schuster
0 siblings, 0 replies; 11+ messages in thread
From: Wolfgang Schuster @ 2009-08-18 3:42 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 18.08.2009 um 00:57 schrieb Wolfgang Werners-Lucchini:
> I can not find such lines in the log file. Do you have some special
> switches?
delete the tma/tmc files for wasy10 from the luatex cache, the reside
on my system under the path
/Users/wolf/context/tex/texmf-cache/luatex-cache/context/
46c13158bccb5568241ff6155d945959/fonts/afm
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
[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
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Werners-Lucchini @ 2009-08-17 22:57 UTC (permalink / raw)
To: ntg-context
Hallo Wolfgang,
> > But what is wrong with my code? Why does it not work?
>
> Take a look at the log file when the font is read.
>
> load afm | reading
> /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/
> wasy10.afm
> load afm | unifying /Users/wolf/context/tex/texmf/fonts/afm/public/
> wasy/wasy10.afm
> afm glyph | assigning private slot U+F0000 for unknown glyph name
> AC
> afm glyph | assigning private slot U+F0001 for unknown glyph name
> kreuz
> ...
> afm glyph | assigning private slot U+F0016 for unknown glyph name
> saturn
> ...
I can not find such lines in the log file. Do you have some special
switches?
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-17 15:19 ` Wolfgang Schuster
@ 2009-08-17 15:38 ` luigi scarso
0 siblings, 0 replies; 11+ messages in thread
From: luigi scarso @ 2009-08-17 15:38 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, Aug 17, 2009 at 5:19 PM, Wolfgang Schuster
<schuster.wolfgang@googlemail.com> wrote:
>
> Am 17.08.2009 um 17:05 schrieb Aditya Mahajan:
>
>>> @Hans/Taco: Is this expected for symbol fonts and how should take care of this.
>>
>> Maybe we can use the same trick that is used in math fonts (force tfm font)
>
> It's a solution for the available symbols what do you want to do when you want
> to use a private symbol font where you don't have tfm files (type1, TT ... only)?
>
> Wolfgang
What about this
ToUnicode Mapping File Tutorial, Adobe Technical Note #5411, 2001-04-12,
http://partners.adobe.com/asn/developer/pdfs/tn/5411.ToUnicode.pdf
--
luigi
___________________________________________________________________________________
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-17 15:05 ` Aditya Mahajan
@ 2009-08-17 15:19 ` Wolfgang Schuster
2009-08-17 15:38 ` luigi scarso
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-08-17 15:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 17.08.2009 um 17:05 schrieb Aditya Mahajan:
>> @Hans/Taco: Is this expected for symbol fonts and how should take
>> care of this.
>
> Maybe we can use the same trick that is used in math fonts (force
> tfm font)
It's a solution for the available symbols what do you want to do when
you want
to use a private symbol font where you don't have tfm files (type1,
TT ... only)?
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-17 14:41 ` Wolfgang Schuster
@ 2009-08-17 15:05 ` Aditya Mahajan
2009-08-17 15:19 ` Wolfgang Schuster
0 siblings, 1 reply; 11+ messages in thread
From: Aditya Mahajan @ 2009-08-17 15:05 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Mon, 17 Aug 2009, Wolfgang Schuster wrote:
>
> Am 16.08.2009 um 22:37 schrieb Wolfgang Werners-Lucchini:
>
>> But what is wrong with my code? Why does it not work?
>
> Take a look at the log file when the font is read.
>
> load afm | reading
> /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/wasy10.afm
> load afm | unifying
> /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/wasy10.afm
> afm glyph | assigning private slot U+F0000 for unknown glyph name AC
> afm glyph | assigning private slot U+F0001 for unknown glyph name kreuz
> ...
> afm glyph | assigning private slot U+F0016 for unknown glyph name saturn
> ...
>
> ConTeXt tries to load the 'saturn' symbol as char89 but LuaTeX stores it at
> positon F0016.
>
> \starttext
> {\definedfont[file:wasy10]\char"F0016}
> \stoptext
>
> @Hans/Taco: Is this expected for symbol fonts and how should take care of
> this.
Maybe we can use the same trick that is used in math fonts (force tfm
font)
\usesymbols[was]
\setupsymbolset [wasy astronomy]
\definefontsynonym [WaldiSymbol] [wasy10.tfm]
\definefontsynonym [WaldiSymbolBold] [wasyb10.tfm]
\def\Sat{\symbol[saturn]}
\starttext
\Sat
\stoptext
So, symb-was can be changed accordingly.
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 : 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
2009-08-17 15:05 ` Aditya Mahajan
0 siblings, 1 reply; 11+ messages in thread
From: Wolfgang Schuster @ 2009-08-17 14:41 UTC (permalink / raw)
To: mailing list for ConTeXt users; +Cc: Hans Hagen, Taco Hoekwater
Am 16.08.2009 um 22:37 schrieb Wolfgang Werners-Lucchini:
> But what is wrong with my code? Why does it not work?
Take a look at the log file when the font is read.
load afm | reading /Users/wolf/context/tex/texmf/fonts/afm/public/wasy/
wasy10.afm
load afm | unifying /Users/wolf/context/tex/texmf/fonts/afm/public/
wasy/wasy10.afm
afm glyph | assigning private slot U+F0000 for unknown glyph name AC
afm glyph | assigning private slot U+F0001 for unknown glyph name kreuz
...
afm glyph | assigning private slot U+F0016 for unknown glyph name saturn
...
ConTeXt tries to load the 'saturn' symbol as char89 but LuaTeX stores
it at positon F0016.
\starttext
{\definedfont[file:wasy10]\char"F0016}
\stoptext
@Hans/Taco: Is this expected for symbol fonts and how should take care
of this.
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
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).