Relative paths to bibliography
It would be very useful to be able to put in the settings relative paths (relative to the edited markdown file or to the opened project), like ./refs.bib (I have separate bibliography for each paper). Now it works only if I put there an absolute path to the file.
laughedelic,
I'll look into this and see if I can't come up with something soon.
If you (or anyone else) feels like doing it, feel free to submit a pull request!
Thanks, Andrew
:+1:
markdown-preview-plus supports relative bibliography files for pandoc. Maybe ac-bibtex could pick up the file setting that they are using?
I was about to say exactly what @vchuravy said...
Even better, it could also read the .bib name from metadata blocks.
Really good idea -- better than #81
has someone tried to come up with a pull request already? Is there any package with a similar functionality, i.e.:
- extracting parameters from yaml meta data
- changing config folders with respect to the path of the current file ?
The npm https://github.com/jonschlinkert/gray-matter allows to extract JSON objects from the meta data block of md files.
https://github.com/shd101wyy/markdown-preview-enhanced uses this npm to extract config options from the edited md file.