question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

BibTeX capitalisation and CSL nocase

See original GitHub issue

When working with BibTeX input, titles fields are sometimes entirely wrapped in an extra pair of brackets, e.g.

title = {{foo}}

Should this result in the whole title being wrapped in <span class="nocase">...</span>, as per https://www.zotero.org/support/kb/rich_text_bibliography?

Moreover, should BibTeX output automatically have an extra {...} wrapping title fields, which is what happens now?

@rmzelle: Thoughts?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
retorquerecommented, Jul 19, 2018

Some of the madness of brace protection and caps meddling is documented here. It’s not an easy subject with a few subtle edge cases.

1reaction
retorquerecommented, Jul 19, 2018

If you’re importing {{…}}, that should in principle translate to a nocase wrap. I don’t do this in BBT though.

BibTeX output should absolutely not automatically be wrapped in an extra pair of braces. I see this recommendation occasionally but it’s simply wrong. There are bibtex styles that demand legitimately that they can do their own case folding, and the second pair of braces prevents this. There is an unfortunate difference in baseline assumptions about how titles should be written in Zotero (sentence case) and bibtex (Title Case) that cannot just be ignored.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Capitalize all title-fields for language "en" · Issue #383 - GitHub
BBT should convert all titles to title-case if the 'Language' field is empty or starts with 'en', excluding, however, skip words, ...
Read more >
csl set text-case to not affect the capitalization? - Stack Overflow
The lowercasing is happening in the conversion from BibTeX to CSL metadata. If you have the ability to produce metadata in CSL JSON...
Read more >
title casing skip words - CSL Development
Hi everyone, currently, CSL specs define title casing (text-case=“title”) as ... Some benefits to a bibtex-like syntax for protecting capitalization would
Read more >
BibTeX loses capitals when creating .bbl file - TeX
The loss of capitalization is by design: BibTeX does this because some, but not all citation styles require capitalization in titles (a.k.a. ...
Read more >
Frequently Asked Questions :: Better BibTeX for Zotero
BBT converts titles to title case to compensate for this. Zotero does allow for exceptions to the sentence-case rule, which you can mark...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found