Subject: mailing-list for TeXmacs Users
List archive
From : vincent douce <address@hidden>- To: texmacs-users <address@hidden>
- Subject: Re: variations table
- Date: Thu, 7 Apr 2022 21:51:00 +0200
hi Giovanni
thank you very much for the answer
before trying to master the method you explain me and that i have since time difficulties to perform…
i wanted to just try your code
i think i have typed it well
even if i dont understand how this code could make exactly the content of the .tm file i sent on this post (with the blank content of the table : 8 empty cells on each line…)
i wanted to try it
but the result, afeter of course quitting texmacs and starting it again, is that when pressing ttt, the 3rd occurence of "t" just cancels the first two so that the cursor remove 3 steps back as if i had written nothing, and no table appears on the .tm file…
Vincent
Le 6 avr. 2022 à 22:40, Giovanni Piredda <address@hidden> a écrit :
On 06.04.22 21:20, vincent douce wrote:("t t t" (concat (block* (tformat (table (row (cell ""))))) ""))
Try
(kbd-map
("t t t" (insert `(block* (document (tformat (table (row (cell ""))))) ""))))
====
The trick is to
1) use the "insert" keyword in the code
2) copy the code that composes the TeXmacs structure from TeXmacs itself, with Copy to -> TeXmacs Scheme
3) apply the quote (') or quasiquote (`) in front of the code that you copy, this indicates Scheme that it must not interpret what it reads
- - - - - -
LeMathoscope : cours de maths par zoom et poésie des mathématiques :
LeMathoscope : cours de maths par zoom et poésie des mathématiques :
- variations table, vincent douce, 04/06/2022
- Re: variations table, Giovanni Piredda, 04/06/2022
- Re: variations table, vincent douce, 04/07/2022
- Re: variations table, Giovanni Piredda, 04/07/2022
- Re: variations table, vincent douce, 04/08/2022
- Re: variations table, Giovanni Piredda, 04/08/2022
- Re: variations table, vincent douce, 04/08/2022
- Re: variations table, Giovanni Piredda, 04/09/2022
- Re: variations table, Giovanni Piredda, 04/09/2022
- Re: variations table, marc lalaude-labayle, 04/09/2022
- Re: variations table, vincent douce, 04/09/2022
- Re: variations table, vincent douce, 04/09/2022
- Re: variations table, Giovanni Piredda, 04/11/2022
- Re: variations table, vincent douce, 04/08/2022
- Re: variations table, Giovanni Piredda, 04/08/2022
- Re: variations table, vincent douce, 04/08/2022
- Re: variations table, Giovanni Piredda, 04/07/2022
- Re: variations table, vincent douce, 04/07/2022
- Re: variations table, Giovanni Piredda, 04/06/2022
Archive powered by MHonArc 2.6.24.