From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <87va1p4zys.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:34577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gtLtb-0003Bn-V9 for emacs-orgmode@gnu.org; Mon, 11 Feb 2019 19:25:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gtLr3-0003Mf-Uq for emacs-orgmode@gnu.org; Mon, 11 Feb 2019 19:23:19 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:48245) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gtLr0-0003I6-Sh for emacs-orgmode@gnu.org; Mon, 11 Feb 2019 19:23:15 -0500 In-Reply-To: (Dietrich Foethke's message of "Fri, 8 Feb 2019 17:06:53 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Dietrich Foethke Cc: emacs-orgmode@gnu.org Hello, "Dietrich Foethke" 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