Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup: Citations not being added after loading library. #273

Open
SeaOfBloodRedRoses opened this issue Oct 19, 2024 · 1 comment
Open

Setup: Citations not being added after loading library. #273

SeaOfBloodRedRoses opened this issue Oct 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@SeaOfBloodRedRoses
Copy link

Describe the bug
According to the tutorial, it should automatically load citations once you give it the appropriate file.
Well, after giving it the database path, it says "Loaded library with 53 citations" (this is how many I have in Zotero), but nothing happens.
There are no citations displayed in Obsidian.
I have restarted both programs. I feel like I'm missing some sort of crucial piece of information that was left out from the tutorial.
I'm using BibLaText, and yes, I exported using the recommended Better BibLaText.

I have a template, name: @{{citekey}}


Title: {{title}}
Pages: {{page}}
Authors: {{authorString}}
Year: {{year}}
Container: {{containerTitle}}
Publisher: {{publisher}}
Zotero Link: {{zoteroSelectURI}}

{{abstract}}

{{note}}

Expected behavior
According to the tutorial, it should automatically load citations once you give it the appropriate file.
Which is what I expect to happen. It says:

Now open the Obsidian preferences and view the "Citations" tab. Paste the path to the exported file (.bib or .json, depending on the format you chose) in the text field labeled "Citation export path." After closing the settings dialog, you should now be able to search your references from within Obsidian!

This is exactly what I did. The settings said it loaded the library with 53 citations. But that last sentence is not accurate. Nothing happens.

Screenshots
I'm attaching two here. One is of the settings telling me it loaded with 53 citations. The second is immediately after closing the settings window, and it's just a blank Vault.
Capture d’écran 2024-10-19 174104
Capture d’écran 2024-10-19 174111

Platform

  • OS: Windows 10
  • Obsidian version v1.7.4
  • Plugin version 0.4.5
@SeaOfBloodRedRoses SeaOfBloodRedRoses added the bug Something isn't working label Oct 19, 2024
@orionpilot
Copy link

The plugin needs you to choose to create the literature notes, it does not create them automatically. The "loaded library" tells you that the plugin is able to read the file you have set (so its like a check for the file path or the number of items in your library). Have you tried the commands listed in the Usage section of the tutorial for steps after setup?

This appears to be the same issue as #173 so I will copy my comment from that issue here for next steps:

If you are expecting that once the plugin dialog closes, you instantly get a literature note for every item in the library, this is incorrect. The plugin does not work like this. To me it sounds like you have correctly setup the plugin but you have just not yet created a literature note.

In your vault, if you open the command palette and select the Citations: Open Literature Note command, do you get the list of items from your library? And when you select an item, do you get a literature note created/opened? If so, then the plugin is correctly setup and its working properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants