emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* pdf links are not converted correctly upon latex export when in an outside directory
@ 2018-04-09 14:11 org-mode
  0 siblings, 0 replies; only message in thread
From: org-mode @ 2018-04-09 14:11 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-09 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-09 14:11 pdf links are not converted correctly upon latex export when in an outside directory org-mode

Code repositories for project(s) associated with this 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).