Results 848 comments of Laurenz
trafficstars

Related: https://github.com/typst/typst/issues/1877

Makes sense. In the meantime, you can do something like this: ```typ #let lorem-pars(n, each: 4) = { let sentences = lorem(n * each * 30).split(". ") range(n) .map(i =>...

> Supposedly this was implemented in 0.7, as per #79, but I'm also having the same issue The 0.7 change brought alpha support in general, but not for gradients (which...

To handle this for the caption, it would need to be preprocessed during figure synthesis. This pre-processing would need to include basically the whole preparation stage (so that show-set styles...

I have identified the problem some time ago, but the solution isn't yet implemented (and there also a few problems to be solved). We need to implement a new mechanism...

Linking https://github.com/typst/typst/issues/3314

@aaron-jack-manning Did the pdftocairo and/or ghostscript workarounds fix it for you? Knowing this would help with pinning down the problem.

> By the way, there is the imagesize crate which seems to be relatively lightweight and has a [method to detect the type of an image](https://docs.rs/imagesize/latest/imagesize/fn.image_type.html). Might be a bit...

Currently, Typst does the auto-detection if it doesn't know the extension. Upon further thought that seems like a backwards incompatibility hazard. If I have a `.png` JPEG file, it would...

Oh, thanks for noticing! Those have been lost when transferring from a dedicated Types chapter to having types be documented due to them being in the global scope. (Since the...