typst/hayagriva

`font-variant="small-caps"` not supported for `<name>`

Opened this issue · 0 comments

Hi folks,

I want to make a minor adjustment to the IEEE CSL definition, basically just having all author names in small caps. However, if I use small-caps as the @font-variant of the <name> element itself, Typst does not render it correctly, it gets ignored.
When I move it up in the hierarchy to <names> it works, but will also show non-name words like "and" in small caps which I don't want.

Here is a screenshot showing that small-caps is ignored (see line 115):
image