typst-pinit icon indicating copy to clipboard operation
typst-pinit copied to clipboard

About absolute placement

Open memeplex opened this issue 1 year ago • 0 comments

This is more of a question+request than a report.

I'm trying to understand why _run-func-on-first-loc is defined like that. Wouldn't a float with top+left alignment work? In that way there would be no need to put a label to do the -offset displacement. Then there is the comment at the top that confuses me. In what sense is there a state that ignores all updates but the first? And would that be desirable in any case, considering that some things may be relocated even though pinit functions themselves will never trigger that relayout? Some time ago I reported https://github.com/typst/typst/issues/3614 and I wonder if all this may be related.

For the request part, do you have plans to migrate this to the context construct introduced by 0.11?

Thanks!

memeplex avatar Aug 04 '24 21:08 memeplex