On 23/03/2017 18:30, Hans Åberg wrote:
On 23 Mar 2017, at 16:57, Nicola
wrote: Is there a (easy) way to write phonetic transcriptions using the IPA (International Phonetic Alphabet) in ConTeXt? I can't find any reference to it in the documentation.
I did that some time ago, but I can speak only for macOS. You want to have:
- fonts supporting phonetic symbols (both in the text editor and for the output); - an IPA keyboard layout;
You might try the text substitutions service: System Preferences > Keyboard > Text. One chooses replacement text and what it should be substituted into. See the thread "Input methods" for an automated approach to generating large substitution sets.
Sure, that's another possibility. A drawback of that approach, as far as I can see, is that those substitutions are applied globally across the system. Btw, Vim has a similar feature, called `iabbrev`: the advantage is that replacements are editor-specific and the method is cross-platform (because Vim is). Vim also offers support for inputting “digraphs” and for defining your own. Even better, for the use case at hand, is that you may also define your own keymap, e.g.: https://github.com/bpj/bpj-vim-keymaps/blob/master/keymap/bxs.vim I guess that other editors (e.g., Emacs) may offer similar functionality. Anyway, for me the IPA keyboard layout is what has worked best. Nicola