emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: francois.lagarde@cea.fr (François Lagarde)
To: emacs-orgmode@gnu.org
Subject: dealing with a bibliography
Date: Fri, 13 Jul 2007 15:53:13 +0200	[thread overview]
Message-ID: <87ejjcz9yu.fsf@is003308.saclay.cea.fr> (raw)

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

             reply	other threads:[~2007-07-13 13:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-13 13:53 François Lagarde [this message]
2007-07-15  1:19 ` dealing with a bibliography Bastien
2007-07-15  8:24   ` francois
2007-07-15  8:41     ` Bastien

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=87ejjcz9yu.fsf@is003308.saclay.cea.fr \
    --to=francois.lagarde@cea.fr \
    --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).