jeetsukumaran / obsidian-bibliosidian

Other
9 stars 0 forks source link

New Sources not Getting YAML Properties #1

Open rolemartyr-x opened 9 months ago

rolemartyr-x commented 9 months ago

When I put in BibTeX data, the Reference Note Path field populates properly and when I click "Update and Open", some pages get created, though I'm not sure they're named correctly, and they don't get any of the other YAML properties.

Here's some sample input: image

The folders that get created: image

The files that get created: image

And here are my settings for the plug-in: image image

jeetsukumaran commented 9 months ago

Hi,

(1) I see is that two reference entries have been created -- and original one and a copy with the (" 1") suffix. The plugin by default should not create a duplicate file if one exits -- it will update the YAML of the existing file in-place. I don't even think I have a mechanism or code that tries to add " 1" etc. suffix to files. Could something else be doing that?

(2) As for the remaining, at first glance it looks OK to me -- the reference note '@' in its subfolder, and the authors in theirs. Here note that the author name is some sort of registered business name I think and this is also used as the citekey. Not sure if that is correct not, but the plugin does not question these things :) -- as long as the author name and cite key have valid values, that's what it will use to figure out the filenames etc.

Perhaps if you describe the type of behavior that you were expecting?

rolemartyr-x commented 8 months ago

Hello!

I guess I was expecting something like the images you provided on the Obsidian forum where all the properties/frontmatter are populated: image

I thought it would create all the properties and fill in the data from the BibTeX (assuming the data is there). I was also under the (mistaken) assumption that it would give me the "pretty" title like you have in your title bars, but upon reviewing the images further, I do see that the page naming is correct. And one of my other plugins is, indeed, adding the duplicate page.

Ultimately, what I was hoping for was to be able to take BibTeX citations, paste them into the plugin, then have the plugin create author notes and source/reference notes, fill in their frontmatter, and cross-reference them. I seem to just be getting notes with a title and no frontmatter (even after pulling other citations to make sure the issue wasn't just bad data).

It's entirely possible I'm missing something fundamental about how the plugin works - this is the first citation plugin I've used, so I can't say I'm proficient at testing and troubleshooting them.

image