emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: org-mode@haggiz.de
To: emacs-orgmode@gnu.org
Subject: pdf links are not converted correctly upon latex export when in an outside directory
Date: Mon, 09 Apr 2018 16:11:43 +0200	[thread overview]
Message-ID: <20180409161143.Horde.kVUFEpNEA9mJVCLa6cRnlw1@webmail.df.eu> (raw)

Hello,

I've experienced an issue, where links to pdfs (but not .org ) files  
do not work in an exported pdf file due to incorrect link syntax, if  
the linked pdf is not in the same subtree as the org file that is  
exported. If one looks in the .tex file one can see that links to  
"outside" *.org files and *.pdf files look the same, but after the pdf  
conversion this is not true anymore. I'm therefore not sure where this  
problem comes from org-mode or the pdf conversion.
However the issue can be solved by forcing relative links also for  
outside directories by setting (setq org-link-file-path-type 'relative).
The following jpg. shows the relevant behavior.

http://haggiz.de/images/180406-pdf-latex-scimax/pdf-links-in-latex-export.jpg

I'm not sure whether relative links could be a problem at one point,  
but "adaptive" links to pdfs don't seem to work properly in file trees  
outside the org file directory.

any thoughts?
Hagen

                 reply	other threads:[~2018-04-09 14:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20180409161143.Horde.kVUFEpNEA9mJVCLa6cRnlw1@webmail.df.eu \
    --to=org-mode@haggiz.de \
    --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 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).