[NTG-context] IPA symbols in MKIV

2011-09-19 Thread Otso Helenius

Hello,

I'm having a trouble getting IPA symbols to show up with MKIV. I've 
read through the old threads about using IPA, and it seems there is no 
module like tipa for ConTeXt for easy input.


I've tried also using SIL Gentium as the main font and entering the IPA 
symbols directly as UTF-8, but only a part of them will render (even 
though they all exist in the actual font in the right plane and are 
viewable in other programs). Almost none of the diacritics render.


\definetypeface [MyFace][rm][serif][gentium][default][encoding=uc]
\setupbodyfont[MyFace, 11pt]

\starttext
n̥ d̥ ̊ɭ˔ ʎ̥˔
\stoptext

only n, d and ̊  will render in the PDF. In other apps using Gentium 
all the glyphs are visible.


Is there a way to output IPA symbols correctly (when they are entered 
as UTF-8), or would it be possible to introduce a macro/module with an 
environment like \startipa \stopipa and commands for entering the 
symbols inside the environment? Entering some of the symbols correctly 
(such as velarized or pharyngealized diacritics which should appear on 
top of the letter) is hard when done directly with Unicode, so at least 
TeX-like shorthands for all the symbols and diacritics would really be 
appreciated.


Best regards,
Otso Helenius
___
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
___

Re: [NTG-context] IPA symbols in MKIV

2011-09-19 Thread Hans Hagen

On 19-9-2011 11:56, Otso Helenius wrote:

Hello,

I'm having a trouble getting IPA symbols to show up with MKIV. I've read
through the old threads about using IPA, and it seems there is no module
like tipa for ConTeXt for easy input.

I've tried also using SIL Gentium as the main font and entering the IPA
symbols directly as UTF-8, but only a part of them will render (even
though they all exist in the actual font in the right plane and are
viewable in other programs). Almost none of the diacritics render.

\definetypeface [MyFace][rm][serif][gentium][default][encoding=uc]
\setupbodyfont[MyFace, 11pt]

\starttext
n̥ d̥ ̊ɭ˔ ʎ̥˔
\stoptext

only n, d and ̊ will render in the PDF. In other apps using Gentium all
the glyphs are visible.


When you look at thelog you'll see that gentium is not used at all.

\starttext
\definedfont[file:GenAI102*gentium] n̥ d̥ ̊ɭ˔ ʎ̥˔
\stoptext

So, you need to define a proper typescript (the one that you use now is 
a mkii one i.e. type-1 fonts)



Is there a way to output IPA symbols correctly (when they are entered as
UTF-8), or would it be possible to introduce a macro/module with an
environment like \startipa \stopipa and commands for entering the
symbols inside the environment? Entering some of the symbols correctly
(such as velarized or pharyngealized diacritics which should appear on
top of the letter) is hard when done directly with Unicode, so at least
TeX-like shorthands for all the symbols and diacritics would really be
appreciated.


It's no problem to define something if we need what; on the other hand, 
we don't want overkill (i.e. too much old fashioned mess)


Hans

-
  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
___