-
-
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
Translation of quotes? #12
Comments
Similarly, the result in |
The logic of quotation marks is not fully explained, but the tested behavior follows from the spec on Quotes ("the quotation marks used are terms"), and the term names specified under Appendix II: Terms ("open-quote/close-quote" and "open-inner-quote/close-inner-quote"). The "outer" and "inner" quotation forms are set by the locale, the input-side quotation markup is converted into an abstract nested structure, and the markup is applied according to the locale. To enable processing of native-language input, both straight single- and double-quote chars and the terms themselves are recognized for purposes of parsing the nested quote structure. This "flip-flop" behavior was one of the first extensions to CSL proposed by Sean Takats at Zotero, early in the development of CSL 1.0.1. |
So the interpretation of the string
And the processor decides how to render the abstract quote marks, including whether or not the following punctuation Do I have that right? (I really don't see where that's specified, FWIW) |
That's right. If "follows from" is too strong an assertion, I'll softening it to, "compatible with." In any case, that's my recollection as an implementer. I'll leave discussion of the specification proper to the CSL maintainers. |
Flagging this for a few people, since it bears on the clarity of the spec. Would be nice if we could plug these holes are Norm is identifying them, and we're working on resolving lingering issues on the schema. |
In the test
affix_CommanAfterQuote.txt
, the citation item is:but the expected output is:
I can't find anything in the specification that indicates that single quote characters should be translated into opening and closing typographic quotes. Why is the output from this test not:
The text was updated successfully, but these errors were encountered: