Hi, Simon,

Thanks for following up.

Simon Cossar <[email protected]> writes:
> As has already been noted, sentence casing can be prevented by either
> adding a non-English langid field to the bib entry
[...or...]
> wrapping  the first letter of words that you don't
> want down cased in curly braces

And the first of these options is something you only want in a
non-English journal, while the second should not be necessary for title
casing.

> or by setting the org-cite-csl-bibtex-titles-to-sentence-case variable
> to nil. It can be set either as a file local variable or globally.
>
> Maybe part of the reason this issue gets attention is because applying
> sentence casing to journal names is rarely appropriate. It's different
> than applying sentence casing to article titles. I've looked in the code
> for where that decision is being made, but haven't (yet) found it.

The sentence-casing happens in citeproc, outside Org. Here's the
rationale for it, from the thread where this variable was introduced:
https://list.orgmode.org/caowrwxcoaf6h43qnkl0cb-qymznjcwvbxxyossomqeeamdo...@mail.gmail.com/

The relevant line of org-code is in oc-csl.el in the defun for
org-cite-csl--processor, where the flipped value of
org-cite-csl-bibtex-titles-to-sentence-case is passed to citeproc
(specifically, as the NO-SENTCASE-WO-LANGID argument to
citeproc-hash-itemgetter-from-any).

Hth.

Regards,
Christian

Reply via email to