emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] [PATCH] ox-bibtex.el: Extend to use bibtex files not in current, wor


From: Konrad Herbst
Subject: [O] [PATCH] ox-bibtex.el: Extend to use bibtex files not in current, working directory
Date: Wed, 09 Jul 2014 19:10:47 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Hello everybody,

I would like to provide a patch for the ox-bibtex.el module which can now handle bibtexfile destinations of the form:

#+BIBLIOGRAPHY: /home/user/Literature/foo.bib plain option:-d

but still accepts bibfiles in the working directory.

I really like this module as it makes on-the-fly literature referencing so easy, but I really missed the "feature" to use include global bib-files for example. As I recognized other users had the same feeling, as these threads on the list show: - problem of path in using ox-bibtex, Joseph Vidal-Rosset, 2014-01-05 08:35:58 GMT - [O] ox-bibtex: How to use Bib file in a different directory?, Richard Stanton, 2014-02-17 11:09:39 -8:00.

As motivation I think this solution is more convenient than creating symbolic links or changing environment variables/config-files.

I used functions like 'file-name-base`, so in principle this implementation should be OS-independent but I did not test this, maybe this should be tried for MS-OS paths for example.
Hope this is of any use.

Best,
Konrad Herbst

Attachment: 0001-ox-bibtex.el-Extend-to-use-bibtex-files-not-in-curre.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]