From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: Re: org-ref code Date: Wed, 14 May 2014 09:17:43 -0400 Message-ID: References: <878uql7r7p.fsf@ucl.ac.uk> <87eh0d62ys.fsf@ucl.ac.uk> <87lhu9ofqa.fsf@ucl.ac.uk> <871tvzm859.fsf@pinto.chemeng.ucl.ac.uk> <87zjimnccb.fsf@a-rx.info> <87tx8uc59f.fsf@ucl.ac.uk> <87zjil4ex1.fsf@ucl.ac.uk> <87r43xko53.fsf@a-rx.info> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04428a6c72a78904f95c01dd Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51318) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkZ4A-0002o1-Go for emacs-orgmode@gnu.org; Wed, 14 May 2014 09:17:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkZ44-0005BA-He for emacs-orgmode@gnu.org; Wed, 14 May 2014 09:17:50 -0400 Received: from mail-wg0-x22b.google.com ([2a00:1450:400c:c00::22b]:63605) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkZ44-0005Ay-85 for emacs-orgmode@gnu.org; Wed, 14 May 2014 09:17:44 -0400 Received: by mail-wg0-f43.google.com with SMTP id l18so1852239wgh.26 for ; Wed, 14 May 2014 06:17:43 -0700 (PDT) In-Reply-To: <87r43xko53.fsf@a-rx.info> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andreas Reuleaux Cc: "emacs-orgmode@gnu.org" --f46d04428a6c72a78904f95c01dd Content-Type: text/plain; charset=UTF-8 I also run emacs 24.3. nearly my whole setup is here: https://github.com/jkitchin/jmax If you are on windows, you should be able to clone that repository, and run jmax.bat which will run the emacs binary in that repository and load the jmax code which includes org-ref. You may not want to use my setup all the time, but it might help figure out what is different with your setup. For Macs or Linux, you just need to run something like "emacs -q -l path/to/jmax/init.el" to try it out. John ----------------------------------- John Kitchin Associate Professor Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 http://kitchingroup.cheme.cmu.edu On Tue, May 13, 2014 at 11:58 PM, Andreas Reuleaux wrote: > Eric, > > I don't have auctex installed, and org-ref works fine for me. > > But I do run a recent self-compiled emacs 24 (haven't tested yet, > if it works with my older emacs24 from debian as well), > and I get updated packages like dash relatively often via cask > ( https://github.com/cask/cask , http://cask.github.io/ ), > i. e. I have in my Cask file > > (depends-on "dash") > > so it wouldn't have happend to me to have an outdated dash pkg, > isolating your problem and pointing at what exactly is causing your > trouble is of course more difficult (and creating a minimal config that > works for me takes more time than I currently have, sorry). > > Hope this helps, nevertheless > > > -Andreas > > > > Eric S Fraga writes: > > > John, > > > > another data point. When I try to load an org file, once org-ref is > > loaded, I get the following problem: > > > > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > > re-search-forward(nil 10001 t) > > tex-main-file() > > reftex-TeX-master-file() > > reftex-tie-multifile-symbols() > > reftex-access-scan-info((16)) > > reftex-parse-all() > > (and (buffer-file-name) (file-exists-p (buffer-file-name)) > > (global-auto-revert-mode t) (reftex-parse-all)) > > org-mode-reftex-setup() > > run-hooks(change-major-mode-after-body-hook text-mode-hook > > outline-mode-hook org-mode-hook) > > apply(run-hooks (change-major-mode-after-body-hook text-mode-hook > > outline-mode-hook org-mode-hook)) > > run-mode-hooks(org-mode-hook) > > > > Because of this, org-ref doesn't get initialised properly. > > > > Any idea what may be causing this? Do I need to configure auctex or > > similar? > > > > thanks, > > eric > > > --f46d04428a6c72a78904f95c01dd Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I also run emacs 24.3.

nearly = my whole setup is here: https:= //github.com/jkitchin/jmax

If you are on windows, you shou= ld be able to clone that repository, and run jmax.bat which will run the em= acs binary in that repository and load the jmax code which includes org-ref= . You may not want to use my setup all the time, but it might help figure o= ut what is different with your setup.

For Macs or Linux, you just need to run something like "emac= s -q -l path/to/jmax/init.el" to try it out.

John

-----------------------------= ------
John Kitchin
Associate Professor
Doherty Hall A207F
Department of = Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213<= br>412-268-7803
http://kitchingroup.cheme.cmu.edu



On Tue, May 13, 2014 at 11:58 PM, Andrea= s Reuleaux <andreas@a-rx.info> wrote:
Eric,

I don't have auctex installed, and org-ref works fine for me.

But I do run a recent self-compiled emacs 24 (haven't tested yet,
if it works with my older emacs24 from debian as well),
and I get updated packages like dash relatively often via cask
( https://github= .com/cask/cask , h= ttp://cask.github.io/ ),
i. e. I have in my Cask file

=C2=A0 (depends-on "dash")

so it wouldn't have happend to me to have an outdated dash pkg,
isolating your problem and pointing at what exactly is causing your
trouble is of course more difficult (and creating a minimal config that
works for me takes more time than I currently have, sorry).

Hope this helps, nevertheless


-Andreas



Eric S Fraga <e.fraga@ucl.ac.uk= > writes:

> John,
>
> another data point. =C2=A0When I try to load an org file, once org-ref= is
> loaded, I get the following problem:
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> =C2=A0 re-search-forward(nil 10001 t)
> =C2=A0 tex-main-file()
> =C2=A0 reftex-TeX-master-file()
> =C2=A0 reftex-tie-multifile-symbols()
> =C2=A0 reftex-access-scan-info((16))
> =C2=A0 reftex-parse-all()
> =C2=A0 (and (buffer-file-name) (file-exists-p (buffer-file-name))
> (global-auto-revert-mode t) (reftex-parse-all))
> =C2=A0 org-mode-reftex-setup()
> =C2=A0 run-hooks(change-major-mode-after-body-hook text-mode-hook
> outline-mode-hook org-mode-hook)
> =C2=A0 apply(run-hooks (change-major-mode-after-body-hook text-mode-ho= ok
> outline-mode-hook org-mode-hook))
> =C2=A0 run-mode-hooks(org-mode-hook)
>
> Because of this, org-ref doesn't get initialised properly.
>
> Any idea what may be causing this? =C2=A0Do I need to configure auctex= or
> similar?
>
> thanks,
> eric



--f46d04428a6c72a78904f95c01dd--