Re: [O] Display inline images for shortcuts links

2017-08-18 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > While we are at it, would it be possible to display an inline image when > the image is in the contents part of the link? > > The rationale is that something like: > > [[file:book.pdf][file:cover.jpg]] > > is exported to html as: > > > > The result would be a c

Re: [O] Display inline images for shortcuts links

2017-08-18 Thread Fabrice Popineau
While we are at it, would it be possible to display an inline image when the image is in the contents part of the link? The rationale is that something like: [[file:book.pdf][file:cover.jpg]] is exported to html as: The result would be a clickable image in the Org buffer the same way it is in

Re: [O] Display inline images for shortcuts links

2017-08-17 Thread Fabrice Popineau
2017-08-17 15:59 GMT+02:00 Nicolas Goaziou : > Hello, > > I simply extended the link search to all link abbrevs, discarding those > that do not ultimately match a file. > > Does it solve your issue? > > Yes thanks. Much lighter. I like link abbreviations, because they allow to change the referenc

Re: [O] Display inline images for shortcuts links

2017-08-17 Thread Nicolas Goaziou
Hello, Fabrice Popineau writes: > Would it be possible to enable inline images for shortcuts links ? > Currently, the function `org-display-inline-images' checks for a hard coded > file: link. > In the case of : > > #+LINK: temp file:c:/temp/%h > > [[file:cover.jpg]] > > [[temp:cover.jpg]] > > T

[O] Display inline images for shortcuts links

2017-08-17 Thread Fabrice Popineau
Would it be possible to enable inline images for shortcuts links ? Currently, the function `org-display-inline-images' checks for a hard coded file: link. In the case of : #+LINK: temp file:c:/temp/%h [[file:cover.jpg]] [[temp:cover.jpg]] The first link will be matched, but not the second one.