Subject: mailing-list for TeXmacs Users
List archive
From : Giovanni Piredda <address@hidden>- To: address@hidden
- Subject: Re: How to set default width for images?
- Date: Sat, 18 Sep 2021 12:04:14 +0000
On 18.09.21 13:56, Giovanni Piredda wrote:
Perhaps checking if the tree has the script-label output in a loop till it has could be the way to write the function, but I have not been able to make it work yet. I have tried with
(define (image-set-default-size)
(if (equal? (tree-label (cursor-tree)) 'script-busy)
(begin (usleep 250000)
(image-set-default-size))
(let ((t (find-image (cursor-tree))))
(set-image-size t))))
but TeXmacs hangs.
Maybe because it either executes Scheme or it execuets Python.
Followups on TeXmacs-dev ;-)
- How to set default width for images?, Hammer Functor, 09/15/2021
- Re: How to set default width for images?, Giovanni Piredda, 09/16/2021
- Re: How to set default width for images?, vincent douce, 09/16/2021
- Re: How to set default width for images?, Giovanni Piredda, 09/16/2021
- Re: How to set default width for images?, Giovanni Piredda, 09/18/2021
- Re: How to set default width for images?, Giovanni Piredda, 09/18/2021
- Re: How to set default width for images?, vincent douce, 09/16/2021
- Re: How to set default width for images?, Darcy Shen, 09/20/2021
- Re: How to set default width for images?, Giovanni Piredda, 09/16/2021
Archive powered by MHonArc 2.6.19.