[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [BUG] org-display-inline-images does not obey #+LINK directive
From: |
Nick Dokos |
Subject: |
Re: [O] [BUG] org-display-inline-images does not obey #+LINK directive |
Date: |
Sun, 14 Jul 2013 22:59:37 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Nick Dokos <address@hidden> 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