Re: pb with a shortcut with « var »
Giovanni Piredda <[email protected]> Tue, 6 May 2025 20:55:47 +0000
| Newsgroups | gmane.editors.texmacs.user |
|---|---|
| Message-ID | <[email protected]> |
On 06/05/25 12:23, vincent douce wrote: > 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 » ? 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 > > Vincent > Le 6 mai 2025 à 11:30 +0200, Giovanni Piredda <[email protected]>, 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 <[email protected]>, >>> 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) >>>>> ))