[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] why prepend "file://" to abs paths in html output?

From: Nicolas Goaziou
Subject: Re: [O] why prepend "file://" to abs paths in html output?
Date: Thu, 13 Jul 2017 14:39:40 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)


Kaushal Modi <address@hidden> writes:

> #+HTML_LINK_ROOT: /tmp/site/static/
> An =image.png= exists as =/tmp/site/static/images/image.png=.
> * This is how the image links should have worked with the link root already
> specified
> [[/images/image.png]]

There is only one possible interpretation of this: look for the file at
"/images/image.png", which probably doesn't exist.

> - The =HTML_LINK_ROOT= should to appended to the front of the above link if
> that
>   concatenated path is a valid one.
> - Would also like =C-x C-o=, inline image display, etc. to work.
> - So a thought.. should the link root specification be made exporter
> agnostic?
> * This works after adding support for =HTML_LINK_ROOT= ..
> .. but
> - The link path becomes too long.
> - Need to hard-code the full path to the site/blog root directory before
> each of
>   such links.
> [[file:/tmp/site/static/images/image.png]]

ISTM you are looking after link abbreviations.


Nicolas Goaziou

reply via email to

[Prev in Thread] Current Thread [Next in Thread]