all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Georg W. Otto" <g.otto@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: org-ref file path to pdf
Date: Tue, 06 Dec 2016 12:36:49 +0000	[thread overview]
Message-ID: <868trt5j4u.fsf@georgotto.de> (raw)



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

             reply	other threads:[~2016-12-06 12:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-06 12:36 Georg W. Otto [this message]
2016-12-07 15:03 ` org-ref file path to pdf John Kitchin
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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=868trt5j4u.fsf@georgotto.de \
    --to=g.otto@ucl.ac.uk \
    --cc=emacs-orgmode@gnu.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.