emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* dealing with a bibliography
@ 2007-07-13 13:53 François Lagarde
  2007-07-15  1:19 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: François Lagarde @ 2007-07-13 13:53 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-15  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-13 13:53 dealing with a bibliography François Lagarde
2007-07-15  1:19 ` Bastien
2007-07-15  8:24   ` francois
2007-07-15  8:41     ` Bastien

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).