Skip to Content.
Sympa Menu

texmacs-users - Re: [texmacs-users] pb with a shortcut with « var »

Subject: mailing-list for TeXmacs Users

List archive

Chronological Thread  
  • From: vincent douce <address@concealed>
  • To: address@concealed, address@concealed
  • Subject: Re: [texmacs-users] pb with a shortcut with « var »
  • Date: Tue, 6 May 2025 12:23:48 +0200

hello
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 » ?

Vincent
Le 6 mai 2025 à 11:30 +0200, Giovanni Piredda <address@concealed>, a écrit :

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

On 04/05/25 13:15, vincent douce wrote:
hello Giovanni
i get this
<Attachment.png>

Vincent
Le 3 mai 2025 à 16:13 +0200, Giovanni Piredda <address@concealed>, a écrit :

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

On 03/05/25 08:11, vincent douce wrote:
hello

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



Archive powered by MHonArc 2.6.24.

Top of Page