Bug 275066 - bibtex export: add brackets around capital letters in titles
Summary: bibtex export: add brackets around capital letters in titles
Status: RESOLVED INTENTIONAL
Alias: None
Product: tellico
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.3.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-06 20:19 UTC by Antonio Rojas
Modified: 2017-07-08 20:01 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antonio Rojas 2011-06-06 20:19:51 UTC
Version:           2.3.3 (using KDE 4.6.3) 
OS:                Linux

bibtex ignores capitalization of titles in bibliography items. In order to force capitalizations, capital letters need to be enclosed in curly brackets. When exporting to bibtex, tellico should add those automatically.

Reproducible: Always
Comment 1 Robby Stephenson 2011-07-01 21:45:58 UTC
I'm not very familiar with bibtex myself. At the moment, Tellico always adds either quotes or curly brackets around every non-numeric value. Your bug report is saying that more is needed?

For example, if I create a new bibliography, and use a title of "Title ABCD" (no quotes) and then export that to Bibtex, there's an option in the export dialog to use braces. The exported .bib file shows
title = {Title ABCD}

Does it need to be {Title {ABCD}} ? I'm just not familiar with bibtex enough to know.
Comment 2 Antonio Rojas 2011-07-01 22:10:33 UTC
Oops sorry, I hadn't noticed the option to always add braces.
Comment 3 Antonio Rojas 2011-07-19 09:33:17 UTC
After further testing, it is not enough to add braces around the titles. More braces need to be added around every capital letter: for instance, "La conjecture de Weil" needs to be exported as {{L}a conjecture de {W}eil}
 Another option, probably easier to implement, is to add the option to use double braces:  {{La conjecture de Weil}}. This would respect the capitalization of the title.
Comment 4 Robby Stephenson 2011-08-26 21:07:01 UTC
(In reply to comment #3)
> After further testing, it is not enough to add braces around the titles. More
> braces need to be added around every capital letter: for instance, "La
> conjecture de Weil" needs to be exported as {{L}a conjecture de {W}eil}
>  Another option, probably easier to implement, is to add the option to use
> double braces:  {{La conjecture de Weil}}. This would respect the
> capitalization of the title.

Perhaps. But aren't you really over-riding one of the more valuable capabilities of bibtex then? The bibtex style rules themselves define how to capitalize titles, and over-riding them for the entire title string seems rather excessive. 

If you actually add those extra braces to the title itself, Tellico will hide them when it shows the entry in the UI. But they will be included in the bibtex export. If you have a few titles where you want to override the bibtex rules, try adding the braces manually. And see if that will fit your workflow.

I'm open to adding an option to double-brace every single capital letter in every single title. But it seems like over-kill, and I'm sensitive to the tendency to add too many options...