ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Hans Åberg" <haberg-1@telia.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: IPA transcription
Date: Thu, 23 Mar 2017 23:24:42 +0100	[thread overview]
Message-ID: <79F02986-8B8B-4871-AFC8-724AB2D2F790@telia.com> (raw)
In-Reply-To: <ob19o4$9cv$1@blaine.gmane.org>


> On 23 Mar 2017, at 21:04, Nicola <nvitacolonna@gmail.com> wrote:
> 
> On 23/03/2017 18:30, Hans Åberg wrote:
>> 
>> 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.

It can be turned on/off, say by adding System Preferences > Keyboard > Shortcuts, App Shortcuts for Text Replacement & Hide/Show Substitutions. (^<cmd>T & ^<cmd>S seems fairly safe.)

Also, one might try replacements with some escape code, say using # or \.

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

It does not seem to work with combining characters.

> Even better, for the use case at hand, is that
> you may also define your own keymap, e.g.:

One can make MacOS keymaps using Ukelele, but that is very time consuming. The text substitution system is very fast, both in terms of creating it, and using. I made a system for all the over one thousand math styled alphanumeric symbols.

It is tricky to make sure there are no conflicts, and the .plist format is right, which is why I wrote the C++ program.

> Anyway, for me the IPA keyboard layout is what has worked best.

That might work well of the set of characters is fairly small.


___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2017-03-23 22:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-23 13:49 Angel M Alganza
2017-03-23 15:57 ` Nicola
2017-03-23 16:19   ` Nicola
2017-03-23 17:30   ` Hans Åberg
2017-03-23 20:04     ` Nicola
2017-03-23 22:24       ` Hans Åberg [this message]

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=79F02986-8B8B-4871-AFC8-724AB2D2F790@telia.com \
    --to=haberg-1@telia.com \
    --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).