# capitalize-first

**URL:** <https://discourse.citationstyles.org/t/capitalize-first/417>\
**Category:** CSL Development\
**Created:** [January 28, 2008, 6:25pm UTC](https://discourse.citationstyles.org/t/capitalize-first/417 "2008-01-28T18:25:56Z")\
**Posts on this page:** 4\
**Page:** 2

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [February 1, 2008, 1:33am UTC](https://discourse.citationstyles.org/t/capitalize-first/417/21 "2008-02-01T01:33:34Z")

</div>

Elena Razlogova wrote:

> bruce–  
> julian actually already weighed in on this–note that he agrees that  
> we need the attribute i’m requesting. as i mention my previous email,  
> his example below can be handled by the “sentence” attribute.

So then the upshot is that you are suggesting that we only have  
“capitalize-first” but change it’s behavior?

Also, in looking at the existing list again, why do we have both  
“capitalize-all” and “title”? How are they different?

Bruce

PS - This change is Simon’s doing, so I didn’t pay close attention to it  
earlier.

---

<div class="post-metadata">

**Author:** ![Elena\_Razlogova](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@Elena\_Razlogova](https://discourse.citationstyles.org/u/Elena_Razlogova)\
**Post date:** [February 1, 2008, 1:08am UTC](https://discourse.citationstyles.org/t/capitalize-first/417/22 "2008-02-01T01:08:34Z")

</div>

> So I see two issues to resolve:
> 
> 1. does CSL need a rule that says that the first character of a string  
> is capitalized, but all others are left alone? The answer is “no” if  
> we  
> consider that the existing options should cover the use cases you  
> outline (irrespective of how Zotero currently implements this), and  
> otherwise “yes.”

We’ve been discussing this all week. I thought we agreed on this  
already.

> … _if_ we conclude yes, then:
> 
> 1. what should the name of that value be, and how should it be  
> described, such that users and developers are totally clear on how it  
> differs from both “capitalize-first” and “sentence”?

I didn’t realize “sentence” style was a separate option (and neither  
did you, judging from your emails on Tue). If you have “sentence”  
style why don’t you just set “capitalize-first” to do what I ask.  
Instead of:

> ```
> "capitalize-first"
> > # capitalize first character of every word;
> # other characters displayed lowercase
> 
> ```

have:

> ```
> "capitalize-first"
> > # capitalize first character of every word;
> # other characters are displayed as entered by the user
> 
> ```

Julian’s argument for the current use of this function was NATURE \>  
Nature example which can (and should) be done with sentence case.

> I’m ambivalent on the answer to 1, and keep hoping that someone else  
> will render an opinion on it. Julian? Simon?

I would be interested in their opinion, but I’m not sure Simon has  
time for this.

> On 2, for me the distinction between “capitalize-first-letter” and  
> “capitalize-first” is unclear. I would hope we could come up with  
> something else, but am not sure ATM what. Again, any ideas?

Yes, they are confusing. I suggest just repurposing the current  
function, as above.

I’m sorry to press on this, but I’d rather decide this before 1.0.3  
comes out (which could be tonight) so Chicago bibliography styles work  
correctly after the upgrade.

Best,  
Elena\> Bruce

---

<div class="post-metadata">

**Author:** ![Bruce\_D\_Arcus1](https://avatars.discourse-cdn.com/v4/letter/b/4bbf92/32.png) [@Bruce\_D\_Arcus1](https://discourse.citationstyles.org/u/Bruce_D_Arcus1)\
**Post date:** [February 1, 2008, 1:47am UTC](https://discourse.citationstyles.org/t/capitalize-first/417/23 "2008-02-01T01:47:20Z")

</div>

Elena Razlogova wrote:

> > So I see two issues to resolve:
> > 
> > 1. does CSL need a rule that says that the first character of a string  
> > is capitalized, but all others are left alone? The answer is “no” if  
> > we  
> > consider that the existing options should cover the use cases you  
> > outline (irrespective of how Zotero currently implements this), and  
> > otherwise “yes.”
> 
> We’ve been discussing this all week. I thought we agreed on this  
> already.

We didn’t discuss it in relation to the full range of the other options,  
which was the purpose of stepping back. I also am still, frankly, a  
little uneasy about this change. But it’s a fairly minor one probably  
unlikely to have any major impacts, and in an area that’s still a bit of  
a moving target, so we might as well see how it goes.

> > … _if_ we conclude yes, then:
> > 
> > 1. what should the name of that value be, and how should it be  
> > described, such that users and developers are totally clear on how it  
> > differs from both “capitalize-first” and “sentence”?
> 
> I didn’t realize “sentence” style was a separate option (and neither  
> did you, judging from your emails on Tue). If you have “sentence”  
> style why don’t you just set “capitalize-first” to do what I ask.  
> Instead of:
> 
> > ```
> > "capitalize-first"
> > > # capitalize first character of every word;
> > # other characters displayed lowercase
> > 
> > ```
> 
> have:
> 
> > ```
> > "capitalize-first"
> > > # capitalize first character of every word;
> > # other characters are displayed as entered by the user
> > 
> > ```

That would be fine with me, except that I’d change the language to avoid  
any particular expectations about applications (the “users” thing). So  
“other characters are displayed as entered by the user” → “other  
characters are passed on as is” or some such.

BTW, I noticed that Simon used single hash characters in this section of  
the schema. These are comments when transformed to XML. The double-hash  
are more formal annotations. For stuff like this, we should use the latter.

So I’ve checked in that change, along with the more substantive change.

…

> > On 2, for me the distinction between “capitalize-first-letter” and  
> > “capitalize-first” is unclear. I would hope we could come up with  
> > something else, but am not sure ATM what. Again, any ideas?
> 
> Yes, they are confusing. I suggest just repurposing the current  
> function, as above.

OK, done.

> I’m sorry to press on this, but I’d rather decide this before 1.0.3  
> comes out (which could be tonight) so Chicago bibliography styles work  
> correctly after the upgrade.

No problem.

Bruce

---

<div class="post-metadata">

**Author:** ![Elena\_Razlogova](https://avatars.discourse-cdn.com/v4/letter/e/c89c15/32.png) [@Elena\_Razlogova](https://discourse.citationstyles.org/u/Elena_Razlogova)\
**Post date:** [February 1, 2008, 1:53am UTC](https://discourse.citationstyles.org/t/capitalize-first/417/24 "2008-02-01T01:53:08Z")

</div>

> Elena Razlogova wrote:
> 
> > bruce–  
> > julian actually already weighed in on this–note that he agrees that  
> > we need the attribute i’m requesting. as i mention my previous email,  
> > his example below can be handled by the “sentence” attribute.
> 
> So then the upshot is that you are suggesting that we only have  
> “capitalize-first” but change it’s behavior?

Yes–many thanks for making the change.

> Also, in looking at the existing list again, why do we have both  
> “capitalize-all” and “title”? How are they different?

From looking at cite.js “capitalize-all” means capitalizing every  
word, including prepositions, etc.

Elena

[Previous page](https://discourse.citationstyles.org/t/capitalize-first/417.md?page=1)
