You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This style seems to be defaulting for cite-group-delimiter to the delimiter on the layout, instead of to ", " as the spec says:
cite-group-delimiter
Activates cite grouping and specifies the delimiter for cites within a cite group. Defaults to “, ”. E.g. with delimiter on cs:layout in cs:citation set to “; ”, collapse set to “year”, and cite-group-delimiter set to “,”, citations look like “(Doe 1999,2001; Jones 2000)”.
Note that no cite-group-delimiter is set explicitly. However, the expected result is
Smith 2000a–e;2001
Smith 2000a;c–e;2001
instead of what I'd expect from the spec:
Smith 2000a–e, 2001
Smith 2000a;c–e, 2001
Interestingly, if you DO set a cite-group-delimiter on teh citation element in this style, it does replace the semicolon, so it really seems that citeproc-js is not obeying the spec here and is having cite-group-delimiter default to the layout delimiter rather than to a comma+space.
Am I missing something?
The text was updated successfully, but these errors were encountered:
Hm, maybe this is partly a question of whether after-collapse-delimiter or cite-group-delimiter should be used. But either way there seems to be a problem with citeproc-js, because when we explicitly specify a cite-group-delimiter it is used instead of ", " in teh above case.
I think you're right about citeproc-js using the wrong default delimiter around cite groups, but (inside the processor) that's not the immediate cause of the behavior in this test. As currently coded, citeproc-js does not perform citation grouping unless there is a cs:sort element under cs:citation (recently discussed here: #36 (comment)). Accounting for that (whether good or bad), though, the output should change to use ", " around groups when a sort node is added, and it doesn't.
(Separately, I'm not sure how "group" is defined in this case, but setting that aside...)
This style seems to be defaulting for
cite-group-delimiter
to the delimiter on the layout, instead of to", "
as the spec says:We have
Note that no
cite-group-delimiter
is set explicitly. However, the expected result isinstead of what I'd expect from the spec:
Interestingly, if you DO set a
cite-group-delimiter
on tehcitation
element in this style, it does replace the semicolon, so it really seems that citeproc-js is not obeying the spec here and is havingcite-group-delimiter
default to the layout delimiter rather than to a comma+space.Am I missing something?
The text was updated successfully, but these errors were encountered: