emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [babel] #+INCLUDE does not account for relative paths to images
@ 2012-08-27 19:57 Mikhail Titov
  2012-09-27  9:21 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Mikhail Titov @ 2012-08-27 19:57 UTC (permalink / raw)
  To: emacs-orgmode

I've noticed that if I include one Org file into another using
#+INCLUDE, then I'm not getting a proper path to babel-generated figures
at least while doing HTML export. I believe it is still an issue for
non-babel images.

I feel like it would be nice to export an updated relative path to
included image file with a different base when exporting master
document. Current implementation forces either to keep project Org files
in the same folder or use more sophisticated relative paths like
../sibling-project/foo.png . Though I did not try the latter.

-- 
Mikhail

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [babel] #+INCLUDE does not account for relative paths to images
  2012-08-27 19:57 [babel] #+INCLUDE does not account for relative paths to images Mikhail Titov
@ 2012-09-27  9:21 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2012-09-27  9:21 UTC (permalink / raw)
  To: Mikhail Titov; +Cc: emacs-orgmode

Hi Mikhail,

Mikhail Titov <mlt@gmx.us> writes:

> I feel like it would be nice to export an updated relative path to
> included image file with a different base when exporting master
> document.

I agree but the implementation is not straightforward. 

If you or someone else can come up with a patch for this,
I'd be happy to apply it.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-27  9:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-27 19:57 [babel] #+INCLUDE does not account for relative paths to images Mikhail Titov
2012-09-27  9:21 ` Bastien

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