typst / hayagriva

Rusty bibliography management.
Apache License 2.0
289 stars 44 forks source link

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

Open sonovice opened 1 month ago

sonovice commented 1 month ago

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