Open brandonbrinkley opened 11 months ago
Are you refreshing the database between the creation of the literature notes? I think that the pop-up window does not recognize the new capitalization since it has not been refreshed with the new version of the file (in the same way that a new entry does not get recognized by the plugin without a refresh). Also, what do the .bib
entries look like after export? I'm not sure how Zotero handles the export, but this sort of looks like normal bibtex
behaviour regarding capitalization, see my comment here and #191.
@orionpilot I was refreshing the database every time initially, but then I noticed that for those test cases where the capitalization did change, it did so automatically without a refresh.
@orionpilot Also, I checked the .bib file with a text editor and the capitalization changes were reflected after export.
OK that's good to know. I am not sure what's going on when the capitalization is changing automatically without a refresh. I will say that I don't use Zotero so can't exactly replicate but I do still think this is a bibtex issue based on a quick test. When you saw that the captilization changes in the export, does the title look like {title = The Big Red Balloon}
in the .bib? And does this get rendered as The big red balloon
in Obsidian? If this is true, then this is just how bibtex is rendered/handles capitalization. You can force capital letters by using {c}urly brackets
. This might be a Zotero setting to change.
tl;dr: The Big Red Balloon
in the bib file gets rendered as The big red balloon
but The {B}ig {R}ed {B}alloon
will be rendered as The Big Red Balloon
. This is normal bibtex behaviour.
I just looked at it, and the last test data was "The RED Balloon" in Zotero. I checked the .bib file and found: title = {The {RED} Balloon}
I then changed it to the normal first-letter capitalization and re-exported, and found this: title = {The Red Balloon}
That was what I was expecting was happening. Everything is getting rendered as expected in bibtex/by the plugin. I don't know what the solution is to get capitalization as you want from Zotero. Quick Google search shows that handling capitalization is a bit tricky, see the FAQ from the BetterBibTeX website (since I am assuming that's what you are using to export to bibtex). Personally, I've sometimes seen entires when imported to my library automatically having curling braces to force the capitalization, but its not at all universal.
Describe the bug Title updates in Zotero are not being updated correctly/consistently in Obsidian. This includes both the {{title}} and {{titleShort}} variables. Please consider the examples below for tested behavior.
Examples:
To Reproduce
Prerequisites for this test:
Steps to reproduce the behavior:
NOTE: This only seems to be true for the title and short title fields. The year and the abstract are two other fields I've tested and they work fine. Also, special characters do get updated correctly (like changing a "-" to "--").
Console output N/A
Expected behavior The title should be updated reflecting the correct case.
Screenshots None provided
Platform
Additional context None