emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: francois <francois.temp1@bruit.gotdns.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: org mode and reftex
Date: Fri, 13 Jul 2007 12:36:24 +0200	[thread overview]
Message-ID: <3b8d86984febb43bd550fa8f7f78a53c@science.uva.nl> (raw)
In-Reply-To: <loom.20070713T091334-862@post.gmane.org>


On Jul 13, 2007, at 9:18, francois wrote:

> Carsten Dominik <dominik <at> science.uva.nl> writes:
>
> thanks for your prompt reply.
>
>>> To customize this citation I have defined in my .emacs
>>> (defun my-org-mode-setup ()
>> Are you adding this function to org-mode-hook?
> yes
>
>> Change
>>>   (reftex-parse-all) ; to make reftex aware of the biblio
>>>                      ; # \bibliography{biblio}
>> to this:
>>
>>     (if (buffer-file-name) (reftex-parse-all))
>
> I have just tried, but it didn't change anything.
> The reftex-parse-all seems to be still called.

How about

    (and (buffer-file-name)
         (file-exists-p (buffer-file-name))
         (reftex-parse-all))

?

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

  reply	other threads:[~2007-07-13 10:37 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
2007-07-13  7:18   ` francois
2007-07-13 10:36     ` Carsten Dominik [this message]
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=3b8d86984febb43bd550fa8f7f78a53c@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).