Re: one shortcut

Giovanni Piredda <[email protected]> Mon, 23 Dec 2024 12:42:17 +0000
Newsgroups gmane.editors.texmacs.user
Message-ID <[email protected]>
Hi,

it works, but not in the environment you are testing it in, that is 
using an "insert" command inside a Scheme session; I do not know why. To 
test it, you might try a different way: in the Scheme session, instead 
of "insert", use "stree->tree"; alternatively, put your "insert" code in 
a keyboard shortcut and try that.

Giovanni


On 23/12/24 11:33, vincent douce wrote:
> hello i am working on a shortcut to get a blue wide block
>
>
> i can’t manage to understand why this code :
>
> (insert '
> (with "color" "blue" (wide-block (document (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 (document (with "color" "black" "")))))))))
> )
>
> does not produce a blue table, despite this code has been generated by 
> "copying to TeXmacs Scheme » a blue table
>
> Vincent