Subject: mailing-list for TeXmacs Users
List archive
From : David Allouche <address@hidden>- To: address@hidden
- Subject: Re: [TeXmacs] keymaps
- Date: Mon, 1 Dec 2003 14:02:45 +0100
On Sun, Nov 30, 2003 at 05:50:35PM +0000, Juan Pablo Romero wrote:
> Hello
>
> I'm trying to define some keyboard shortcuts, and after searching in
> google, some texmacs files (progs/keyboard/kbd-math.scm) and the
> documentation (although the docs aren't very clear to me), I came up with
> these:
>
> (kbd-map in-math?
> ("- > var var var var var" "<rightharpoonup>"))
>
> (kbd-map in-math?
> ("a r p var" "<rightharpoonup>" "arpón"))
>
> (kbd-map in-math?
> ("a r p" "<rightharpoonup>" "arpón"))
>
>
> The first two doesn't work, but the last one do (I'd prefer the first one).
All of them workforme. (texmacs 1.0.2.9)
> Also, I'd like to define an alternative key to enter math mode. I have some
> spare keys (like win-menu and "Find"). Is it possible to bind those keys?
After looking into x_init.cpp, it seems there is a keysmym associated to
the name "find". So you may try something like:
(kbd-map in-text?
("$" (if (inside? "hybrid") (noop) (make-with "mode" "math")))
> Finally, my keyboard (spanish layout) has a key (below "Esc"), which
> produces the characters "º" and "ª" (masculine and ordfeminine). It works
> allmost in any program, except in texmacs. Is it possible to use those
> characters some way?
It seems not:
https://savannah.gnu.org/bugs/?func=detailitem&item_id=1967
--
-- ddaa
- Re: [TeXmacs] keymaps, David Allouche, 12/01/2003
Archive powered by MHonArc 2.6.19.