Chinese Layout Gap Analysis (clreq-gap) for Typst

Indirectly related: How to dynamically label headers in outlines with a counter - #2 by Andrew. The https://typst-doc-cn.github.io/guide/FAQ/heading-numbering-space.html#方法-2-给他-show-成-none hack doesn’t work on outline.entry’s h(0.5em) spacing. But converting to absolute units does trigger the show rule. I don’t know why the way the spacing is defined in Rust changes the fact that one of them is auto-converted to pt and the other is still in em. I just thought that one or the other approach might break. But I guess probably not.

I also wonder if I should create an issue about this. At least the check for caption should be added, so that this wide space is not present right before the fill dots.

Context

1 Like