emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Dietrich Foethke <foethke@web.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Description field of links in included files is not resolved correctly in HTML export. [9.2.1 (9.2.1-elpa @ c:/Program Files/emacs/share/emacs/26.1/site-lisp/elpa/org-9.2.1/)]
Date: Tue, 12 Feb 2019 01:23:07 +0100	[thread overview]
Message-ID: <87va1p4zys.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <trinity-3f00e5d3-9f20-44e6-99ce-bfbcb892ccee-1549642013805@3c-app-webde-bap05> (Dietrich Foethke's message of "Fri, 8 Feb 2019 17:06:53 +0100")

Hello,

"Dietrich Foethke" <foethke@web.de> writes:

> Description: I use a master org file "master.org" in a directory named
> "foo" that includes another org file "other.org" stored in subdirectory
> named "foo/bar". In the master file I include the other org file using:
>
> #+INCLUDE: "./bar/other.org"
>
> In "other.org" I include an image that is stored in a directory
> "foo/bar/images". Later on I want to export "master.org" as HTML so I
> use the trick from the manual to create a thumbnail view of my image in
> the HTML page and show the full image when the image is clicked. To do
> that I add the following line to "other.org":
>
> [[file:./images/myImage.jpg][file:./images/myImageSmall.jpg]]
>
> When I export "master.org" as HTML, the first link is resolved correctly
> as "./bar/images/myImage.jpg" while the link in the description field
> is included as is, i.e. as "./images/myImageSmall.jpg". Consequently the
> small image is not found and is displayed on the HTML page.

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

      reply	other threads:[~2019-02-12  0:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-08 16:06 Bug: Description field of links in included files is not resolved correctly in HTML export. [9.2.1 (9.2.1-elpa @ c:/Program Files/emacs/share/emacs/26.1/site-lisp/elpa/org-9.2.1/)] Dietrich Foethke
2019-02-12  0:23 ` Nicolas Goaziou [this message]

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=87va1p4zys.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=foethke@web.de \
    /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).