-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Question about variables_TitleShortOnShortTitleNoTitleCondition.txt #29
Comments
Looks wrong to me as well. |
Hmm, this here works as expected:
This here as well:
Here, the suppression logic seems to work: The inner group is suppressed and that the outer group gets suppressed as well. |
Can you clarify what you mean by "works"? In what context?
|
That tests fail as expected when using the citeproc test runner. |
I agree the test behavior is clearly contrary to specs. The reason for the test behavior is that the group "protects" the included I somewhat recall a lengthy discussion about the appropriate behavior for group element suppression on discourse and we should look closely at functional requirements and existing styles to determine if the test or the spec should be changed. |
I have another test case I can't understand.
In this case the style is
There are three citations. The first is to a reference with
title-short
, the second to a reference withtitle
but nottitle-short
, the third to a reference with neithertitle
nortitle-short
.My processor gives no output for the third citation. Why? Because the spec for
group
says:It seems to me that the criterion for suppression is met in this case for the third item. The outer group calls a variable (
title
), and it is empty. So the whole group and its child group should be suppressed, according to the spec, right? However, the expected result in the test case is:What am I missing?
The text was updated successfully, but these errors were encountered: