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

Relative paths to bibliography #25

Open
laughedelic opened this issue Jun 30, 2015 · 8 comments
Open

Relative paths to bibliography #25

laughedelic opened this issue Jun 30, 2015 · 8 comments

Comments

@laughedelic
Copy link

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.

@apcshields
Copy link
Owner

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

@aaronwolen
Copy link

👍

@vchuravy
Copy link

markdown-preview-plus supports relative bibliography files for pandoc. Maybe ac-bibtex could pick up the file setting that they are using?

@tpoisot
Copy link

tpoisot commented Oct 3, 2015

I was about to say exactly what @vchuravy said...

@alanpog
Copy link

alanpog commented Dec 2, 2015

Even better, it could also read the .bib name from metadata blocks.

@tpoisot
Copy link

tpoisot commented Nov 20, 2017

Really good idea -- better than #81

@rriemann
Copy link

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 ?

@rriemann
Copy link

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.

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

7 participants