emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andreas Kiermeier <andreas.kiermeier@gmail.com>
To: John Kitchin <jkitchin@andrew.cmu.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Problem with org-ref
Date: Fri, 25 Dec 2015 13:46:14 +1030	[thread overview]
Message-ID: <CAN7vk5R3P3aF550QJEND1no6O8DW5ada2nOewboP++TMK6Sv5A@mail.gmail.com> (raw)
In-Reply-To: <m2si2rmehn.fsf@andrew.cmu.edu>

[-- Attachment #1: Type: text/plain, Size: 3355 bytes --]

I've set the HOME environment variable to "C:/Users/andre_000/Documents"
and hence need the .. to get into the Dropbox folder.

Executing (find-file org-ref-bibliography-notes) does find and open the
correct notes file.

Using an absolute path, as in:

(setq org-ref-bibliography-notes
"C:/Users/andre_000/Dropbox/_biblio/org-ref/bibnotes.org"
      org-ref-default-bibliography
'("C:/Users/andre_000/Dropbox/_biblio/refs.bib"))

results in the same error.

After dropping a PDF file into the .bib file I end up with the following
additional entry (for example) in the bibnotes.org file. I thought I'd
include it just to ensure that nothing gets chopped of - this entry
correctly reflect the PDF.

** TODO 2007 - Taenia Saginata in Europe
 :PROPERTIES:
  :Custom_ID: dorny_2007
  :AUTHOR: Dorny \& Praet
  :JOURNAL: Veterinary Parasitology
  :YEAR: 2007
  :VOLUME: 149
  :PAGES: 22-24
  :DOI: 10.1016/j.vetpar.2007.07.004
  :URL: http://dx.doi.org/10.1016/j.vetpar.2007.07.004
 :END:

Does the notes file need a specific set up in terms of headers etc?


-- 
Dr Andreas Kiermeier | Director
Statistical Process Improvement Consulting and Training Pty Ltd
Mbl: +61 (4)23 028 565 | Email: andreas.kiermeier@gmail.com
Australia

On 25 December 2015 at 13:17, John Kitchin <jkitchin@andrew.cmu.edu> wrote:

> That is an odd looking path. On Mac that would expand to something like
>
> /Users/Dropbox/_biblio/org-ref/bibnotes.org
>
> and on linux
>
> /home/Dropbox/_biblio/org-ref/bibnotes.org
>
> usually you should not have permission for that, and neither make sense
> to me.
>
> Does (file-exists-p org-ref-bibliography-notes) return true?
>
> or alternatively does (find-file org-ref-bibliography-notes) actually
> open a writable file?
>
> I would think this is what you want (unless you have some unusual setup
> and permissions):
>
> (setq org-ref-bibliography-notes "~/Dropbox/_biblio/org-ref/bibnotes.org"
>        org-ref-default-bibliography '("~/Dropbox/_biblio/refs.bib"))
>
> i.e. no .. in the path.
>
> Andreas Kiermeier writes:
>
> > Hi John,
> >
> > I've set it at follows (based on your setup) in my init.el file:
> >
> > (setq org-ref-bibliography-notes "~/../Dropbox/_biblio/org-ref/
> bibnotes.org"
> >       org-ref-default-bibliography '("~/../Dropbox/_biblio/refs.bib"))
> >
> > So, non-nil.
> >
> > Andreas
> >
> > On 25 December 2015 at 00:45, John Kitchin <jkitchin@andrew.cmu.edu>
> wrote:
> >
> >>
> >> On Thu, Dec 24, 2015 at 1:04 AM, Andreas Kiermeier <
> >> andreas.kiermeier@gmail.com> wrote:
> >>
> >>> org-ref-open-bibtex-notes()
> >>
> >>
> >> That looks like a different error that occurs in
> org-ref-open-bibtex-notes().
> >> Up to that point everything looks normal.
> >>
> >> What do you have your org-ref-bibliography-notes variable set to? The
> >> default value is nil which would cause that error.
> >>
> >>
> >>
> >> John
> >>
> >> -----------------------------------
> >> Professor John Kitchin
> >> Doherty Hall A207F
> >> Department of Chemical Engineering
> >> Carnegie Mellon University
> >> Pittsburgh, PA 15213
> >> 412-268-7803
> >> @johnkitchin
> >> http://kitchingroup.cheme.cmu.edu
> >>
> >>
>
> --
> Professor John Kitchin
> Doherty Hall A207F
> Department of Chemical Engineering
> Carnegie Mellon University
> Pittsburgh, PA 15213
> 412-268-7803
> @johnkitchin
> http://kitchingroup.cheme.cmu.edu
>

[-- Attachment #2: Type: text/html, Size: 6986 bytes --]

  reply	other threads:[~2015-12-25  3:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-23 21:22 Problem with org-ref marvin doyley
2015-12-23 21:30 ` John Kitchin
2015-12-23 21:44   ` marvin doyley
2015-12-23 22:16   ` marvin doyley
2015-12-23 23:56   ` Andreas Kiermeier
2015-12-24  1:33     ` John Kitchin
2015-12-24  6:04       ` Andreas Kiermeier
2015-12-24 14:15         ` John Kitchin
2015-12-25  1:17           ` Andreas Kiermeier
2015-12-25  2:47             ` John Kitchin
2015-12-25  3:16               ` Andreas Kiermeier [this message]
2015-12-25 14:07                 ` John Kitchin
2015-12-26  0:03                   ` Andreas Kiermeier
2015-12-26  1:36                     ` John Kitchin
2015-12-26  4:52                       ` Andreas Kiermeier
  -- strict thread matches above, loose matches on Subject: below --
2020-07-20 13:09 problem " Johannes Brauer
2020-07-20 13:49 ` John Kitchin
2021-03-08 15:20 Problem " Marvin M. Doyley
2021-03-10  4:49 ` Kyle Meyer

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=CAN7vk5R3P3aF550QJEND1no6O8DW5ada2nOewboP++TMK6Sv5A@mail.gmail.com \
    --to=andreas.kiermeier@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jkitchin@andrew.cmu.edu \
    /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).