due to the fact that show rules are applied on top of each other, and that footnote config is applied as a separate show rule, and that typst doesn't allow to reset a show rule yet (typst/typst#420), footnote config set by older show rules overrides that set by newer ones. this effectively means that footnote options cannot be changed after applying the initial eggs show rule.
steps to reproduce:
- set any config (e.g.
show: eggs)
- set any other config that includes a footnote option (e.g.
show: eggs.with(footnote-separate-counter: false))
- add an example in a footnote
expected: the new config is applied (e.g. no separate counter is used)
actual: the original config is applied
this is probably fixable, but i'm quite tired of all those show-rule--state clutches, so i really don't want to do that. also, the case is so narrow no one is probably going to ever encounter the bug. and show rule resetting will likely come at some point. a contribution would be appreciated anyway
due to the fact that show rules are applied on top of each other, and that footnote config is applied as a separate show rule, and that typst doesn't allow to reset a show rule yet (typst/typst#420), footnote config set by older show rules overrides that set by newer ones. this effectively means that footnote options cannot be changed after applying the initial
eggsshow rule.steps to reproduce:
show: eggs)show: eggs.with(footnote-separate-counter: false))expected: the new config is applied (e.g. no separate counter is used)
actual: the original config is applied
this is probably fixable, but i'm quite tired of all those show-rule--state clutches, so i really don't want to do that. also, the case is so narrow no one is probably going to ever encounter the bug. and show rule resetting will likely come at some point. a contribution would be appreciated anyway