Feature request: RefTeX, access the "file" BibTeX field for use with org-mode
Myles <mylesenglish <at> gmail.com>
2012-06-18 14:40:38 GMT
Hi,
Would somebody please consider changing (at least) reftex-format-citation to
allow access to the "file = {}" field in a BibTeX file?
This would be useful for improving co-usage of two very apps: Zotero and emacs
org-mode, towards the goal of bibliography management.
Currently it is possible to export a bib file and attached (pdf) files from
Zotero, with the "file" field including a relative path to the actual (pdf) file:
file = {npont.pdf:files/5/npont.pdf:application/pdf}
This could be used for inserting a heading and link to the file in an org-mode
document, containing notes on a collection of papers:
(reftex-set-cite-format
'((?h . "** %t\n:PROPERTIES:\n:Custom_ID: %l\n:END:\n[[papers:%z][%l]]")))
((unload-feature 'reftex-cite )
I think this could be as easy as changing reftex-format-citation to include:
;; zotero path to the (pdf) file
((= l ?z) (reftex-get-bib-field "file" entry))
...plus extracting the path from the field.
An almost identical request, from a slightly different angle, was made in
September 2011 but it appears to have fizzled out inconclusively:
(Continue reading)