From: tsd@tsdye.com (Thomas S. Dye)
To: Org-mode <emacs-orgmode@gnu.org>
Subject: ebib configuration for org-bibtex
Date: Tue, 02 Aug 2011 07:40:38 -1000 [thread overview]
Message-ID: <m1mxfrvhih.fsf@tsdye.com> (raw)
Aloha all,
I'm trying, partially successfully, to configure org-bibtex so it mimics
some useful features of ebib. In particular, I'm wanting to add several
optional fields that ebib uses.
I have this in .emacs:
#+begin_src emacs-lisp :tangle yes
(dolist (type org-bibtex-types)
(push :url (cdr (assoc :optional (cdr type))))
(push :annote (cdr (assoc :optional (cdr type))))
(push :abstract (cdr (assoc :optional (cdr type))))
(push :keywords (cdr (assoc :optional (cdr type))))
(push :file (cdr (assoc :optional (cdr type))))
)
(push (cons :url "A URL for the reference") org-bibtex-fields)
(push (cons :annote "Annotation is typically not exported") org-bibtex-fields)
(push (cons :abstract "Abstract for annotated bibliography") org-bibtex-fields)
(push (cons :keywords "Keywords for sorting with ebib") org-bibtex-fields)
(push (cons :file "A local file path used by ebib to open the
reference in an appropriate application") org-bibtex-fields)
#+end_src
Most of it works fine, but the optional :file field doesn't respect its
argument. So, the following entry in the Org-mode file:
** Active Documents with Org-mode
:PROPERTIES:
:TITLE: Active Documents with Org-mode
:TYPE: article
:AUTHOR: Eric Schulte and Dan Davison
:JOURNAL: Computing in Science and Engineering
:YEAR: 2011
:VOLUME: 13
:NUMBER: 3
:PAGES: 2--9
:MONTH: May/June
:URL: http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf
:FILE: Schulte-Davison-Babel.pdf
:CUSTOM_ID: schulte11:_activ_docum_org
:END:
is exported with org-bibtex like this:
@article{schulte11:_activ_docum_org,
author = {Eric Schulte and Dan Davison},
title = {Active Documents with Org-mode},
journal = {Computing in Science and Engineering},
year = 2011,
file = {/Users/dk/Public/projects/916-rr/rr.org},
url =
{http://www.cs.unm.edu/~eschulte/data/CISE-13-3-SciProg.pdf},
volume = 13,
number = 3,
pages = {2--9},
month = {May/June}
}
Pressing f in ebib now just takes me back to the Org-mode file, rather
than launching a pdf reader on my local copy of the article.
Any ideas how I can achieve my goal?
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
next reply other threads:[~2011-08-02 17:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-02 17:40 Thomas S. Dye [this message]
2011-08-05 17:27 ` ebib configuration for org-bibtex Eric Schulte
2011-08-05 19:09 ` Thomas S. Dye
2011-08-08 4:03 ` Thomas S. Dye
2011-08-14 17:04 ` Bastien
2011-08-15 4:00 ` Thomas S. Dye
2011-08-23 19:01 ` Bastien
2011-08-23 20:45 ` Eric Schulte
2011-08-23 20:53 ` Eric Schulte
2011-08-23 23:17 ` Thomas S. Dye
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m1mxfrvhih.fsf@tsdye.com \
--to=tsd@tsdye.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).