Pandoc Plugin Obsidian, can’t find bibliography file #10182
-
Does anyone know how to work with this? What I’m trying to doExport to various formats using Pandoc to change my citekeys into citations and add a bibliography to my documents. Following advice from this tutorial and this tutorial I keep getting an error message that says the file or directory doesn’t exist in the resource path My Extra Pandoc Arguments:
Things I have tried
At this point, I'm very frustrated. I can see the potential this tool has for academic writing so I really want to get it to work.
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
I assume
shows that the file is there? I would suggest trying a pure pandoc command rather than using the plugin, to see if the bibliography is found. I don't think this is a pandoc issue. You may need to consult the maintainers of the plugin (we have nothing to do with that). |
Beta Was this translation helpful? Give feedback.
-
I second @jgm’s advice, esp. about using the command line. For two obsidian things:
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
There's a known bug where the plugin can't handle biblio (and other) files with a space in their path, which is what you now have in your biblio yaml in the "Mobile Documents" part of it. Note how the error starts with just "Documents" and not the whole file path. Move the file to someplace else and see what happens. (Back where it was is probably a good start.) I'm also suspicious of the trailing quotation mark in the path in the error. My path doesn't use quotation marks, as I noted already. Here's what I have this as my "Extra pandoc arguments", the last item in the plugin preferences: Note the |
Beta Was this translation helpful? Give feedback.
There's a known bug where the plugin can't handle biblio (and other) files with a space in their path, which is what you now have in your biblio yaml in the "Mobile Documents" part of it. Note how the error starts with just "Documents" and not the whole file path. Move the file to someplace else and see what happens. (Back where it was is probably a good start.)
I'm also suspicious of the trailing quotation mark in the path in the error. My path doesn't use quotation marks, as I noted already.
Here's what I have this as my "Extra pandoc arguments", the last item in the plugin preferences:
--bibliography=/Users/username/Documents/github/local/miscellaneous/MyLibrary.json --citeproc
Note the
…