- From: vincent douce <address@hidden>
- To: texmacs-users <address@hidden>
- Subject: Re: \; in my-init-texmacs
- Date: Sat, 20 Nov 2021 16:42:48 +0100
well
now i understand very well the logical of the code
but i does not work for me
i have also tried :
("space space" (begin (make-hybrid) (insert ";") (kbd-return) ))
("; ; ;" (begin (make-hybrid) (insert ";") (kbd-return) ))
("z z" (begin (make-hybrid) (insert ";") (kbd-return) ))
in case the call for "space space" would be the point
but it just makes nothing else as the keys entered
Vincent
>
Le 9 nov. 2021 à 23:27, Giovanni Piredda <address@hidden> a écrit :
>
>
It may be that <truc> inserts the symbol corresponding to "truc" when it
>
exists (may be, may be not, I remember vaguely that this is the case).
>
>
\truc is inserted with the help of make-hybrid
>
>
Please try the following two shortcuts
>
>
(kbd-map (:mode in-math?) ("space space" (begin (make-hybrid) (insert ";")
>
)))
>
>
(kbd-map (:mode in-math?) ("space space" (begin (make-hybrid) (insert ";")
>
(kbd-return) )))
>
>
In the first case you should get a "\;", ready for the pressing of the
>
Return key (and pressing Return you get the space), in the second you
>
should get the space, because the (kbd-return) in the shortcut presses the
>
Return key.
>
>
Giovanni
>
>
Am 09.11.2021 um 09:56 schrieb vincent douce:
>
> hi
>
> i dont understand why
>
> ("A var" "<forall>")
>
> works whereas
>
> ("space space" "<;>")
>
> doesn't
>
>
>
> i believed that <truc> would made exactly \truc since it works for \forall
>
> : when i press A then tab it makes as if i had typed \forall
>
>
>
> so, why doesn't it work for ; ? when i type \; in math mode i get a little
>
> space, wheras space space gives nothing
>
>
>
> and how to get \; as shortcut ?
>
>
>
> thanks and good day
>
>
>
> Vincent
Archive powered by MHonArc 2.6.19.