Skip to content
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

Stopword capitalized after abbreviation #127

Closed
adunning opened this issue Jan 16, 2023 · 6 comments
Closed

Stopword capitalized after abbreviation #127

adunning opened this issue Jan 16, 2023 · 6 comments

Comments

@adunning
Copy link

Stopwords appear to be capitalized incorrectly after an abbreviation. For example, using pandoc 2.19.2:

pandoc -t plain -C << EOT 
---
references:
- id: test
  title: >-
    Test, MS., to the stopword 'to'
---

@test

EOT

Zotero renders this title as “Test, MS., to the Stopword ‘to’” but Pandoc produces “Test, MS., To the Stopword ‘to’”.

(In case this seems far-fetched, the actual title in which I encountered this is Catalogue of the printed books and manuscripts bequeathed by Francis Douce, Esq., to the Bodleian Library.)

@jgm jgm closed this as completed in 58cfca8 Jan 16, 2023
@jgm
Copy link
Owner

jgm commented Jan 16, 2023

Confirmed that this fixes it:

“Test, MS., to the Stopword ‘to’.” n.d.

@adunning
Copy link
Author

Many thanks!

@zepinglee
Copy link

Does the last word ‘to’ need to be capitalized? I find citeproc-js (master branch, 738d51c2) produces Test, MS., to the Stopword ‘To’.

@adunning
Copy link
Author

adunning commented Jan 18, 2023

I think this is a bug in citeproc-js, but I may be missing something.

Test, MS., to the stopword 'to' results in “Test, MS., to the Stopword ‘To,’” n.d..

Yet Test, MS., to the stopwords 'to' and 'and' results in “Test, MS., to the Stopwords ‘to’ and ‘and.’” n.d. One of these must be incorrect.

@zepinglee
Copy link

zepinglee commented Jan 18, 2023

The CSL spec says

In both cases, stop words are lowercased, unless they are the first or last word in the string, or follow a colon.

but it doesn't mention the case of quoted stop word. Thus the capitalized ‘To’ seems more reasonable to me but I'm not an native English speaker after all.

@adunning
Copy link
Author

I have checked both The Chicago Manual of Style and New Hart's Rules and cannot find anything suggesting that words in quotation marks should be capitalized differently. Let's see what the citeproc-js developers say.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants