From: Carsten Dominik <dominik@science.uva.nl>
To: francois <francois.temp1@bruit.gotdns.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: org mode and reftex
Date: Thu, 12 Jul 2007 21:26:21 +0200 [thread overview]
Message-ID: <57102278d9c24eb3221bb0f00d49352b@science.uva.nl> (raw)
In-Reply-To: <loom.20070712T162522-472@post.gmane.org>
On Jul 12, 2007, at 16:34, francois wrote:
> hello,
>
> I use org 5.02/GNU Emacs 22.0.91.1
>
> I configured reftex to handle my biblio. It inserts a citation in this
> way
> [[bib:myKey]]
> where
> #+LINK: bib file:~/mydocs/mybib.bib::%s
>
> To customize this citation I have defined in my .emacs
> (defun my-org-mode-setup ()
Are you adding this function to org-mode-hook?
I guess the problem is this: When Org-mode exports,
it create a temporary buffer that is also in Org-mode,
but that does not have a file. The function reftex-parse-all
assumes that a file it associated with it.
You might be able to get away with the following work-around:
Change
> (reftex-parse-all) ; to make reftex aware of the biblio
> ; # \bibliography{biblio}
to this:
(if (buffer-file-name) (reftex-parse-all))
- Carsten
next prev parent reply other threads:[~2007-07-12 20:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-12 14:34 org mode and reftex francois
2007-07-12 19:26 ` Carsten Dominik [this message]
2007-07-13 7:18 ` francois
2007-07-13 10:36 ` Carsten Dominik
2007-07-13 11:16 ` francois
2007-07-13 11:42 ` Carsten Dominik
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=57102278d9c24eb3221bb0f00d49352b@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=francois.temp1@bruit.gotdns.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).