> On 15 Sep 2016, at 20:19, Wolfgang Schuster <schuster.wolfg...@gmail.com> 
> wrote:


> Another input method is shown in the following video [1] where each symbol 
> get its own command, e.g. \mbfitx is equal to {\bi x}.

This works on MacOS 10.12 in any application that uses the standard text 
services. One has an XML .plist file as listed below. Then in such an 
application, one turns on "Text Replacements". (The video shows TeXShop.)

Using the .plist file below, \mbfitx is translated into 𝒙. The replacement text 
can be anything.

----
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" 
"http://www.apple.com/DTDs/PropertyList-1.0.dtd";>
<plist version="1.0">
<array>
        <dict>
                <key>phrase</key>
                <string>𝒙</string>
                <key>shortcut</key>
                <string>\mbfitx</string>
        </dict>
        <dict>
                <key>phrase</key>
                <string>𝒚</string>
                <key>shortcut</key>
                <string>\mbfity</string>
        </dict>
        <dict>
                <key>phrase</key>
                <string>𝒛</string>
                <key>shortcut</key>
                <string>\mbfitz</string>
        </dict>
</array>
</plist>
----



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

Reply via email to