emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Include files and exporter
Date: Wed, 18 Sep 2013 08:12:44 +0200	[thread overview]
Message-ID: <CAFgFV9Ok_VKJiRbzYBV3cpVWFoSiH=yEJSauvyYNSHB-GLazhw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 784 bytes --]

Hi,

Is there anyway to know while exporting what is the relative path of the
current node?
Let's start with some master org file that includes some other org part
from another directory.
This org part references some image with a path relative to its own
directory.
I wonder if there is a way to keep track of the actual location of the
image file.

I know there is the FILE property, but does it take into account the
directory change induced by #include: ?

When exporting to latex, there is always the ability to use graphicspath,
but when exporting to html, it could be useful to collect all the files and
move them to the publish directory. I'm fiddling with o-blog which does
this, but does not address this include issue.

Thanks for any input / idea about this.

-- 
Fabrice

[-- Attachment #2: Type: text/html, Size: 986 bytes --]

                 reply	other threads:[~2013-09-18  6:13 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='CAFgFV9Ok_VKJiRbzYBV3cpVWFoSiH=yEJSauvyYNSHB-GLazhw@mail.gmail.com' \
    --to=fabrice.popineau@supelec.fr \
    --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).