Le 25 févr. 08 à 14:11, Hans Aberg a écrit :
On 25 Feb 2008, at 13:23, Henning Hraban Ramm wrote:
On Mac OS X, keyboard layouts can be created using Ukelele <http://
scripts.sil.org/ukelele>, though I don't know if the sound generation
is possible. :-)
As far as I can see, what Nicolas describes is definitely *not*
possible with a OS keyboard layout; his interesting solution uses
processing features of Emacs.
(My homebrew OSX keymap is interesting, too, but doesn't speak
LilyPond...)
Producing strings might be possible. More advanced thing probably
belong to the editor, not the keyboard map. Some like to use such
with TeX, so perhaps TeXShop might do it. Otherwise, there is an
AquaEmacs for the Aqua GUI, and an emacs-21 in Fink for X11, though
I am not sure they handle UTF-8 well.
It's not just about producing strings. It's also about parsing the
previous
content (to find out, say, the current duration, or octave), and
remembering
previous typings (accidentals for instance). It's also about
modifying the
previous content (change an alteration, a duration, an octave), or
even a
whole region of text (transposition for instance). All these things
belong to
the editor, as does the assoiated key map. But this is quite far from
the
original topic.
nicolas
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user