From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: "Alan E. Davis" <lngndvs@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: zotero (or mendeley) integration with org
Date: Sat, 02 Apr 2011 14:37:01 +0100 [thread overview]
Message-ID: <87y63sai6a.fsf@ucl.ac.uk> (raw)
In-Reply-To: <AANLkTi=9VPkkAsM-7vYVBqvGfrE6x4zgBeVNH7SOyBwY@mail.gmail.com> (Alan E. Davis's message of "Sat, 2 Apr 2011 11:40:56 +1000")
"Alan E. Davis" <lngndvs@gmail.com> writes:
> Is it possible to use org babel to extract bibtex entries from file of notes
> to a *.bib file?
>
> The stumbling point for me in saving bibtex sources is I don't see a way to
> use the file as a bibtex *.bib file so as to use that as the direct source
> for the publication. Perhaps this could be automated with babel?
Would tangling do what you want? Seems to work for me:
--8<---------------cut here---------------start------------->8---
#+babel: :tangle hens.bib
* heat exchanger network synthesis
*** Rewriting grammar for HENS with splitting (Fraga, 2009)
#+begin_src bib
@article{fraga-2009a,
title = {A rewriting grammar for heat exchanger network structure evolution with stream splitting},
volume = 41,
issn = {{0305-215X}},
doi = {10.1080/03052150903070153},
number = 9,
journal = {Engineering Optimization},
author = {Eric S. Fraga},
year = 2009,
pages = {813-831}
}
#+end_src
--8<---------------cut here---------------end--------------->8---
Put this in a file, t.org say, and hit =C-c C-v t= (=org-babel-tangle=)
and it should create =hens.bib=. Sorry for the self-citation here ;-)
You could also put the actual tangle destination on each src block, in
case you want to tangle to more than one file from the same org file.
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.5 (release_7.5.128.ga9e6)
next prev parent reply other threads:[~2011-04-02 13:37 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-26 15:47 zotero (or mendeley) integration with org Stephen Eglen
2011-03-26 21:04 ` Cian
2011-03-26 21:06 ` Ramon Diaz-Uriarte
2011-03-28 9:14 ` Stephen Eglen
2011-03-28 14:07 ` brian powell
2011-03-28 17:06 ` Erik Hetzner
2011-03-29 3:32 ` Matt Lundin
2011-03-29 7:21 ` William Gardella
2011-03-29 10:55 ` Rasmus
2011-03-29 11:42 ` William Gardella
2011-03-29 13:14 ` Matt Lundin
2011-03-31 11:39 ` Stephen Eglen
2011-03-31 20:13 ` Matt Lundin
2011-04-02 1:40 ` Alan E. Davis
2011-04-02 13:19 ` Matt Lundin
2011-04-02 13:37 ` Eric S Fraga [this message]
2011-04-02 14:13 ` Alan E. Davis
2011-03-30 0:54 ` Alan E. Davis
2011-03-30 8:26 ` Cian
2011-03-30 14:34 ` Joost Kremers
-- strict thread matches above, loose matches on Subject: below --
2011-03-27 3:12 Rustom Mody
2011-03-27 4:52 ` Suvayu Ali
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=87y63sai6a.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=lngndvs@gmail.com \
/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).