[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Re: zotero (or mendeley) integration with org
From: |
Eric S Fraga |
Subject: |
Re: [O] Re: zotero (or mendeley) integration with org |
Date: |
Sat, 02 Apr 2011 14:37:01 +0100 |
User-agent: |
Gnus/5.110016 (No Gnus v0.16) Emacs/24.0.50 (gnu/linux) |
"Alan E. Davis" <address@hidden> 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)