Closed rudolf-adamkovic closed 2 years ago
This is again a question regarding proper bib(la)tex -> CSL conversion, i.e., whether the sentence-case recommended by CSL for title fields requires (the first word of) (sub)titles to be capitalized. I found a discussion here: https://discourse.citationstyles.org/t/sentence-case-variants/1221, but it doesn't seem to be conclusive. @denismaier, @bdarcus WDYT? should the first characters of titles be automatically upcased during the bib(la)tex -> CSL conversion? My instinct would be not to touch them, but Pandoc seems to be doing it during conversion. BTW, @salutis what is the use case here? Why not simply capitalize the subtitle in the entry if this is the required rendering?
If I may give my entirely unqualified comment (we do not have title case in German): these title case conversion questions seem nasty enough to warrant a note in the documentation describing the behaviour, the effect of langid
, and other possible influences. I would expect this to pop up quite often, so having it in the docs would ease things.
That requires coming to a conclusion here first obviously. I can’t comment on this question and will thus refrain from doing that further on. Just my 2 cent.
I'd think that usually fields should start with a capital letter anyway. Also, I think bibtex and biblatex want titles in English to be entered in title case with proper names protected by {}
. So, the convertion citeproc-el should be doing is "title case -> sentence case".
@salutis, @Quintus, @denismaier thanks for the input, I've pushed a commit (39e23b1c0ce1237ab503e67c7d736172a9062512) which upcases the first char of titles during conversion and hopefully fixes the issue.
I have just upgraded citeproc.el
and re-tested it against Pandoc. It works now! Thanks everyone. Closing.
MWE with APA style:
Note: APA dictates to capitalize the subtitle in sentence case.
Expected subtitle (as generated by
pandoc
): "Subtitle here"Actual subtitle (as generated by
citeproc-el
): "subtitle here"