emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: "Georg W. Otto" <g.otto@ucl.ac.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-ref file path to pdf
Date: Wed, 07 Dec 2016 10:03:52 -0500	[thread overview]
Message-ID: <m2r35jn5lz.fsf@Johns-MacBook-Air.local> (raw)
In-Reply-To: <868trt5j4u.fsf@georgotto.de>

This doesn't sound like something that should be happening I think. How
current is your org-ref?

I do not use the notes feature so it does not get tested too often. You
may be able to control the format of the notes created with the variable
org-ref-note-title-format if you are using the default notes function
that adds a headline. 


Georg W. Otto writes:

> Dear all,
>
>
> This is probably something that has come up before, but so far I haven't
> found a solution:
>
> My problem concerns automatic file path expansion in my org-ref
> setting. According to the instructions in
>
> https://github.com/jkitchin/org-ref
> and
> https://www.reddit.com/r/emacs/comments/4gudyw/help_me_with_my_orgmode_workflow_for_notetaking/
>
> I set up the paths to my bibliography, my notes and my pdfs like this:
>
> (setq org-ref-bibliography-notes "~/Dropbox/bibliography/notes.org"
>       org-ref-default-bibliography '("~/Dropbox/bibliography/references.bib")
>       org-ref-pdf-directory "~/Dropbox/bibliography/bibtex-pdfs/")
>
>
> Navigation to a bibtex entry and running org-ref-open-bibtex-notes
> creates an orgmode heading in notes.org that contains a link to the pdf
> file of the publication. Unfortunately, that link uses an expanded file
> path, i.e:
> /home/<username>/Dropbox/bibliography/bibtex-pdfs/BibtexKey.pdf
>
> so it is useless when generated by a different user. Would it be
> possible to create a link that does not expand the file path, like this
>
> ~/Dropbox/bibliography/bibtex-pdfs/BibtexKey.pdf
>
> I appreciate your help.
>
> Georg


-- 
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

  reply	other threads:[~2016-12-07 15:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-06 12:36 org-ref file path to pdf Georg W. Otto
2016-12-07 15:03 ` John Kitchin [this message]
2016-12-07 18:13   ` Georg W. Otto
2016-12-09  2:08     ` John Kitchin
2016-12-13 18:59       ` Georg W. Otto

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=m2r35jn5lz.fsf@Johns-MacBook-Air.local \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    --cc=g.otto@ucl.ac.uk \
    /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).