[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-ref code

From: Eric S Fraga
Subject: Re: [O] org-ref code
Date: Thu, 15 May 2014 14:30:28 +0100
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux)

On Thursday, 15 May 2014 at 09:05, John Kitchin wrote:
> Your error seems to be coming from reftex. 

Well, it seems that if you are going to use reftex in emacs 24.4.x, you
need to define some variables.  I put the following in your
org-mode-reftex-setup function:

    (setq-local tex-start-of-header "%\\*\\*start of header")
    (setq-local tex-end-of-header "%\\*\\*end of header")

immediately after loading reftex and things work better (I haven't
checked whether everything works yet).

The problem is that tex-mode assumes that it is active in a mode that
has been derived from tex-mode (such as latex-mode or plain-tex-mode)
and those modes define the variables above.  Org-mode doesn't!

This may be a change in tex-mode for the latest emacs versions?  I
cannot verify this.

Am I correct in believing that you are using emacs 24.3?

: Eric S Fraga (0xFFFCF67D), Emacs, Org release_8.2.6-958-g7c8559-git

reply via email to

[Prev in Thread] Current Thread [Next in Thread]