Feature: discretionary
As a CSL cite processor hacker
I want the test discretionary_CitationNumberAuthorOnlyThenSuppressAuthor to pass
@citation @discretionary @citation-items
Scenario: Citation Number Author Only Then Suppress Author
Given the following style:
"""
"""
And the following input:
"""
[{"author":[{"family":"Smith","given":"John","static-ordering":false}],"id":"ITEM-1","issued":{"date-parts":[["2005"]]},"title":"Book A","type":"book"},{"author":[{"family":"Jones","given":"Robert","static-ordering":false}],"id":"ITEM-2","issued":{"date-parts":[["2000"]]},"title":"Book B","type":"book"}]
"""
When I cite the following items:
"""
[[{"author-only":1,"id":"ITEM-1"}],[{"id":"ITEM-1","suppress-author":1}],[{"id":"ITEM-2"}]]
"""
Then the results should be:
| Reference [1] |
| |
| [2] |