[MLZ] text-case="sentence" not working
text-case="sentence" ignores the first uppercase letter of words and lowercase everything. As a result, it now lowercase proper nouns.
This is an old discussion that has not been active in a long time. Before commenting here, you should strongly consider starting a new discussion instead. If you think the content of this discussion is still relevant, you can link to it from your new discussion.
I have an article title "The New York state law", which is converted to "The new york state law". Are you saying this is the behavior oof citeproc-js all along?
The solution is to set up the field content in sentence-case, and use the text-case="title" setting to convert to title-case if required by the target style.
http://citationstyles.org/downloads/specification.html#sentence-case-conversion
that's what I assume is the source of the confusion here. This has come up before, I'm not sure if there's a reason for the specs as they are - IIRC Rintze said that part goes back to .8 specs.
Yes, that makes perfect sense. Yes, I got confused by the specs.
my concern is actually not (1) but (2): That's not what we're doing is it?
This was last discussed on February 3rd on xbiblio when Sylvester brought it up. Rintze pointed out that the specs were changed in response to this thread:
https://forums.zotero.org/discussion/23504/
in retrospect I think that was a mistake. The old version was better.
(Sorry for not spotting that when the linked thread was active.)
(Edit: corrected "capitalize-all" to read "capitalize-first".)
I understand that building a sentence-case engine for citeproc-us requires recognizing "skip words" or proper nouns. I think there is no other way but to provide a basic template and let the users build them up. Just like journal abbreviation file. That in and of itself is a laborious process, but I think it's better and the pay-off will be higher in the long run than the alternative : sentence-casing title fields manually.
1. Title data is getting better across the board. For Vancouver specifically, titles from pubmed come in sentence case, more generally, all proper library catalogs are in sentence case, even google scholar by know mostly is. I know many publishers still have title cased data, I'm just saying it's getting better.
2. There is a right-click --> convert to (pseudo) sentence case option available already in Zotero, which presumably will work in batch in the future http://chronicle.com/blogs/profhacker/zotero-quick-tip-transform-title-text/45575 so it's not like you have to do this for every letter.
3. Perhaps most importantly, since, as you say, this requires significant user input, making it work reliably across implementations is a nightmare. We already have, for example, a library catalog that's using CSL (and I believe citeproc-js via node.js or) to generate citations from items. Changing how sentence case works would break that.
4. Even with skip words, sentence casing wouldn't be reliable. There are many words that can exists as both proper nouns and regular words:
"Have the makers of Makers Mark missed the mark?"