You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If 'l' is part of the flag for pandoc#biblio#sources, vim-pandoc will look for bibliographies in $HOME/.pandoc/ and %APPDATA%/pandoc/. The documentation describes these as Pandoc's data dir (for *nix and Windows, respectively). Pandoc now uses something else as its default data dir for *nix: https://github.com/jgm/pandoc/releases/tag/2.7
The new default for *nix is $HOME/.local/share/pandoc/. I think that vim-pandoc should look there as well as the directory it looks in now.
An enhancement would be to have vim-pandoc use whatever the data dir is, even if it is changed from the default.
Having thought about it, I think that there is no need for the enhancement. The only use case I can think of would be satisfied by adding a path directly to the sources.
If 'l' is part of the flag for
pandoc#biblio#sources
, vim-pandoc will look for bibliographies in$HOME/.pandoc/
and%APPDATA%/pandoc/
. The documentation describes these as Pandoc's data dir (for *nix and Windows, respectively). Pandoc now uses something else as its default data dir for *nix: https://github.com/jgm/pandoc/releases/tag/2.7The new default for *nix is
$HOME/.local/share/pandoc/
. I think that vim-pandoc should look there as well as the directory it looks in now.An enhancement would be to have vim-pandoc use whatever the data dir is, even if it is changed from the default.
The relevant code in vim-pandoc is here:
vim-pandoc/python3/vim_pandoc/bib/collator.py
Lines 75 to 89 in d4fc6f8
Unless this turns out to be a mistake, I can do a PR for the simple version and think about the enhancement.
The text was updated successfully, but these errors were encountered: