Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: =?iso-8859-1?Q?Fran=E7ois?= Lagarde <francois.lagarde <at> cea.fr>
Subject: dealing with a bibliography
Newsgroups: gmane.emacs.orgmode
Date: Friday 13th July 2007 13:53:13 UTC (over 9 years ago)
Hello,

Writing a draft of a article and handling bibliography and attached notes
is
always difficult for me. Even if there is no perfect solution, I would like
to
get feedbacks on how do people use org to deal with that.

Currently, my organisation is the following:

- I have a bibtex file.
- I have another file where are lectures/notes on *all* articles.

the structure is the following:
--8<------ myNotes.org
* article title
[[file:///location/to/the/pdf/article/][Abibtexkey]]
some notes
* another article title
[[file:///location/to/the/pdf/article/][AnotherBibtexkey]]
some notes
---

Now when i want to make a draft of a article, i create a new org file. And
use
reftex to query/navigate my bibliography.bib

--8<----- myDraft.org
#+LINK: bib file:~/path/to/the/bibfile.bib::%s
#+LINK: note file:~/path/to/the/myNotes.org::%s
# \bibliography{biblio} to tell to reftex what is the bibliography file

related work [[note::Abibtexkey]]

---

now when I open the link I directly go the attached notes, and may easily
open
the article.

To insert a reference, I use reftex and customized the citation format:

(defun my-org-mode-setup ()
 (when (and (buffer-file-name)
            (file-exists-p (buffer-file-name)))
  (load-library "reftex")
  (and (buffer-file-name)
        (file-exists-p (buffer-file-name))
        (reftex-parse-all))
   (reftex-set-cite-format
     '((?b . "[[bib::%l]]")
       (?n . "[[note::%l]]"))))
   (define-key org-mode-map "\C-c\C-g" 'reftex-citation)
)
(add-hook 'org-mode-hook 'my-org-mode-setup)

hoping that it may be helpful.


-- 
Fran├žois
 
CD: 3ms