Closed bdarcus closed 1 year ago
I like this suggestion as it will make the syntax more extensible and uniform.
Another approach would be multiple layouts within a single citation. I've not thought about the details enough to know ATM which is better.
Yes, I think, somewhere along the way, I've proposed multiple layouts too, each for a mode. But I'm also unsure if either of those has particular drawbacks compared to the other.
Also larger context: we could imagine also multiple bibliography elements, for multi-section bibs and such, but that's out-of-scope here.
Good suggestion. That could come in handy for international and legal matters... (even if that is out of scope). Also, that could help with things such as abbreviation lists.
Obviously, there are couple of details we'd need to work out...
After experimenting with Denis, I'm closing this.
I think the right solution is to allow cs:choose
as a child of cs:citation
, and adding a new cs:mode
conditional attribute.
Agreed
Per discussion starting at https://github.com/citation-style-language/schema/pull/173#issuecomment-1142418272 (but also preceding it above), this is an alternative to #193.
The idea is to revert that, and replace it with a more general solution: multiple citation templates.
Example:
Notes
Related questions
Many existing citeprocs (for js, elisp, haskell, and rust) already support implicit "suppress-author" and "in-text" commands.
Thoughts on how to handle this?
I see a few options, which aren't necessarily mutually-exclusive:
CC @bwiernik @denismaier @andras-simonyi @jgm @zepinglee @cormacrelf
If there are objections, I can also just close this PR. But I wanted to discuss something concrete.