-
-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does explicit cite-group-delimiter
override year-suffix-delimiter
?
#50
Comments
If I'm understanding the question correctly, it's a question about the hierarchy of delimiter rules for citations, which I agree are not covered by the specs. In other words, it's row 2 of the table above that's in question. Is that correct? The current test suite and citeproc-js behavior seems to be that |
I've not fully understood row 1. The current spec says:
The current behavior is that |
I just find #36 (comment) and it's clear now. |
Could you elaborate on what's clear? I'm not sure I understand. I agree with @adam3smith that year-suffix-delimiter should take precedence if both are set. Is that not the case? It makes sense to me that if cite-group-delimiter is set but year-suffix-delimiter is not set, that year-suffix-delimiter should default to cite-group-delimiter rather than the overall layout delimiter. If that's the current behavior that you're seeing, we should fix that in the spec. |
Sorry, I was messed up with a bunch of test cases. I agree that Besides the description of https://docs.citationstyles.org/en/stable/specification.html#cite-grouping
|
I check several case in test-suite and confirm the default values of both parameter in the current citeproc-js implementation are as described in spec: |
Yeah, that doesn't seem correct. |
In
name_CiteGroupDelimiterWithYearSuffixCollapse.txt
, thecite-group-delimiter
is explicitly set", "
and theyear-suffix-delimiter
is by default the delimiter ofcitation > layout
(i.e.,"; "
) according to the spec.test-suite/processor-tests/humans/name_CiteGroupDelimiterWithYearSuffixCollapse.txt
Lines 37 to 38 in 0c366b6
In the result, only
cite-group-delimiter
(", "
) is outputed.test-suite/processor-tests/humans/name_CiteGroupDelimiterWithYearSuffixCollapse.txt
Lines 5 to 7 in 0c366b6
I also check other cases and the results of
citeproc-js
f56f8c95
are as follow. It seems thatcite-group-delimiter
is used as the delimiter of year suffixes if it's explicitly set. I can't find relevant description in the spec.cite-group-delimiter
year-suffix-delimiter
(Aalto 2015a, b)
(Aalto 2015a, b)
(Aalto 2015a!b)
(Aalto 2015a; b)
The text was updated successfully, but these errors were encountered: