Expected reference output: v0. v1. v2. v3
Actual reference output in Typst: v0. v1. v2v3
I noticed that when <group> contains <choose>, the group delimiter is not applied to elements inside <choose>. Instead, <choose> is treated as a group without a delimiter.
This behavior is inconsistent with reference management software like Zotero. In the CSL 1.0.2 documentation, it is stated:
Delimiters from the nearest delimiting element are applied within the output of cs:choose (i.e., the output of the matching cs:if, cs:else-if, or cs:else; see delimiter).
P.S. Currently, this issue can be mitigated by nesting <group delimiter=". "> inside <choose>. However, this means that additional modifications to the CSL are required for it to work with Typst.
Consider the following CSL snippet:
The complete test CSL file
```xml ```Expected reference output:
v0. v1. v2. v3
Actual reference output in Typst:
v0. v1. v2v3
I noticed that when
<group>
contains<choose>
, the group delimiter is not applied to elements inside<choose>
. Instead,<choose>
is treated as a group without a delimiter.This behavior is inconsistent with reference management software like Zotero. In the CSL 1.0.2 documentation, it is stated:
P.S. Currently, this issue can be mitigated by nesting
<group delimiter=". ">
inside<choose>
. However, this means that additional modifications to the CSL are required for it to work with Typst.Example
```xml