From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: [BUG] org-display-inline-images does not obey #+LINK directive Date: Sun, 14 Jul 2013 22:59:37 -0400 Message-ID: <87fvvgfrza.fsf@gmail.com> References: <87oba5f7j2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42941) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyZ0w-00021c-3o for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 22:59:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UyZ0v-0006lS-AE for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 22:59:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:47126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UyZ0v-0006lO-3S for emacs-orgmode@gnu.org; Sun, 14 Jul 2013 22:59:49 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UyZ0u-0002U1-1x for emacs-orgmode@gnu.org; Mon, 15 Jul 2013 04:59:48 +0200 Received: from pool-108-7-96-134.bstnma.fios.verizon.net ([108.7.96.134]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jul 2013 04:59:48 +0200 Received: from ndokos by pool-108-7-96-134.bstnma.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Jul 2013 04:59:48 +0200 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Nick Dokos writes: > I do C-c C-x C-v on a file like this: > > #+LINK: images/ > > * foo > > #+BEGIN_HTML > [[file:foo.svg]] > #+END_HTML > > * Front page > > [[file:images/screenshot1.png]] > > * A sample of results > > fserver.png is in the images/ directory. > > [[file:fserver.png]] > > > where foo.svg is in the same directory as the org file and > screenshot1.png and fserver.png are in the images/ subdirectory. > Exporting the file works fine, but when I toggle inline images, only > foo.svg and images/screenshot1.png show up: fserver.png does not. My > assumption is that org-display-inline-images does not obey the #+LINK > directive. Shouldn't it? The example is wrong, but the rest stands. Here is a correct example: --8<---------------cut here---------------start------------->8--- #+LINK: foo file:images/ * A sample of results [[foo:fserver.png]] * Front page [[file:images/screenshot1.png]] --8<---------------cut here---------------end--------------->8--- Exporting shows both images, but toggling inline images only shows the second. -- Nick