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

Use bibliography instead of bib for citation configuration #202

Open
life00 opened this issue Mar 9, 2024 · 3 comments
Open

Use bibliography instead of bib for citation configuration #202

life00 opened this issue Mar 9, 2024 · 3 comments

Comments

@life00
Copy link

life00 commented Mar 9, 2024

Hi. I noticed that in YAML configuration bib is used, however the right entry name is bibliography (see https://pandoc.org/MANUAL.html#citation-rendering-1).

This is to avoid unnecessary double entries. If migrating you may set bib as alias for bibliography for backwards compatibility purposes.

Also I really couldn't get the auto detection working. It seems to auto detect in some other path. Maybe it would be better to make it detect in current working directory or in same directory as the current file?

Thanks for such a cool project btw.

@life00
Copy link
Author

life00 commented Mar 10, 2024

Ok I just realized that mkdnflow.nvim does not necessarily aim to follow standards of pandoc, however it would be nice if it would. Again, it is to avoid unnecessary double entries.

@life00
Copy link
Author

life00 commented Mar 10, 2024

Also I really couldn't get the auto detection working. It seems to auto detect in some other path. Maybe it would be better to make it detect in current working directory or in same directory as the current file?

Regarding this, never mind. I was able to get it working with cwd by setting default path in config, but I just had to disable yaml module otherwise it would always error.

@jakewvincent
Copy link
Owner

Hi @life00, thanks for the request! Though the goal isn't necessarily to follow pandoc standards, I think a change like this would make sense to avoid needing duplicate entries. I can make both bib and bibliography work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants