Re: [O] bibtex setup .dir-locals.el

2018-11-01 Thread edgar
On 2018-10-31 15:27, John Kitchin wrote: You do have to close the org-file, and then reopen it after you make that file, and when I do that I am prompted whether to apply or ignore the settings. Oh! may be I need to re-open the file. I tried with reloading dir-local variables and reverting the

Re: [O] bibtex setup .dir-locals.el

2018-11-01 Thread John Kitchin
the bibliography link is just for bibtex. If you are using biblatex/biber I think you would put that in a latex header, e.g. #+latex_header: \addbibresource{References.bib} Both of these are file-local though, and won't affect other files in that directory. John

Re: [O] bibtex setup .dir-locals.el

2018-10-31 Thread John Kitchin
That looks right. I have this in a .dir-locals.el file and when I use org-ref, it only shows me references from that file. ;;; Directory Local Variables ;;; For more information see (info "(emacs) Directory Variables") ((org-mode (org-ref-default-bibliography . ("./References.bib")) (bibtex-c

[O] bibtex setup .dir-locals.el

2018-10-28 Thread edgar
Hello, I would like to know how to set my ~References.bib~ as a dir-local variable for use with bibtex (org-ref, reftex). I have this in my ~.dir-locals.el~. It keeps showing the global list of references. Thanks! #+BEGIN_SRC emacs-lisp ;;; Directory Local Variables ;;; For more informat