Subject: mailing-list for TeXmacs Users
List archive
Re: [texmacs-users] pb with a shortcut with « var »
- From: Giovanni Piredda <address@concealed>
- To: vincent douce <address@concealed>, address@concealed
- Subject: Re: [texmacs-users] pb with a shortcut with « var »
- Date: Tue, 6 May 2025 20:55:47 +0000
i summarize
ok thanks for your answer
after, it is not a great difficulty, i can change the shortcut
i was thinking maybe i had done something wrong
posting to the group but i have already done, you have answered
do you mean the posting my entire file « my-init-texmacs » ?
I mean constructing a small example that does not work for you. Perhaps it will be enough to post a "my-init-texmacs" that contains only the "kbd-map"s that you need and a document that uses them; so that someone else can try and reproduce the malfunctioning you observe. Besides, sometimes when preparing and testing these "small examples" one gets hints on what does not work.
Giovanni
For me it works in both ways:
both with hhh. as shortcut and with hhh.b as shortcut for the blue-bordered table hhh.[tab] gives a brown-bordered table.
Maybe you could share a document (with a message to the group) with the shortcuts implemented inside a session and we could see whether it works in my computer.
Giovanni
i get this
<Attachment.png>
Vincent
I tried all of them once and all of them resulted in a table with one cell, in the last one the table's borders are brown. Can you give more detail on what happens for you? You might also run TeXmacs from the terminal to collect possible error messages.
Giovanni
the shortcut abcd works very fine
but hhh.[tab] doesn't
i was thinking maybe the fact of pressing tab after a « go-to-previous » was difficult to deal with for TeXmacs but why in this cas does hhh.b works very fin ?
i confess i don’t understand there
thanks for your help
Vincent
(kbd-map ("a b c d" (insert '
(with "color" "blue" (block* (tformat (cwith "1" "-1" "1" "-1" "cell-tborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-bborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-lborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-rborder" "0.15ln") (table (row (cell (with "color" "black" "")))))))
) (go-to-previous)(go-to-previous)(go-to-previous)
))
(kbd-map ("h h h . b" (insert '
(with "color" "blue" (block* (tformat (cwith "1" "-1" "1" "-1" "cell-tborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-bborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-lborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-rborder" "0.15ln") (table (row (cell (with "color" "black" "")))))))
) (go-to-previous)(go-to-previous)(go-to-previous)
))
(kbd-map ("h h h . var" (insert '
(with "color" "brown" (block* (tformat (cwith "1" "-1" "1" "-1" "cell-tborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-bborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-lborder" "0.15ln") (cwith "1" "-1" "1" "-1" "cell-rborder" "0.15ln") (table (row (cell (with "color" "black" "")))))))
) (go-to-previous)(go-to-previous)(go-to-previous)
))
-
[texmacs-users] pb with a shortcut with « var »,
vincent douce, 05/03/2025
-
Re: [texmacs-users] pb with a shortcut with « var »,
Giovanni Piredda, 05/03/2025
-
Message not available
-
Message not available
- [texmacs-users] Fwd: Re: pb with a shortcut with « var », vincent douce, 05/05/2025
-
Message not available
-
Message not available
-
Message not available
-
Message not available
-
Re: [texmacs-users] pb with a shortcut with « var »,
vincent douce, 05/06/2025
- Re: [texmacs-users] pb with a shortcut with « var », Giovanni Piredda, 05/06/2025
-
Re: [texmacs-users] pb with a shortcut with « var »,
vincent douce, 05/06/2025
-
Message not available
-
Re: [texmacs-users] pb with a shortcut with « var »,
Giovanni Piredda, 05/03/2025
Archive powered by MHonArc 2.6.24.