Waiting until the image is created #4576
-
Consider the following line of code:
While the image file is not created, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Beta Was this translation helpful? Give feedback.
-
There is currently no functionality in typst to allow this, but there is a hacky workaround to replace missing images with placeholders: https://sitandr.github.io/typst-examples-book/book/typstonomicon/try_catch.html |
Beta Was this translation helpful? Give feedback.
-
Very nice solution, @freundTech! Thanks! |
Beta Was this translation helpful? Give feedback.
-
Let me add that, meanwhile, I have come across a very nice package that does that automatically: |
Beta Was this translation helpful? Give feedback.
There is currently no functionality in typst to allow this, but there is a hacky workaround to replace missing images with placeholders: https://sitandr.github.io/typst-examples-book/book/typstonomicon/try_catch.html