Hello, Tim Cross <theophil...@gmail.com> writes:
> Perhaps we need a way to easily set a context for web exports. If the > context is set, then use it, otherwise, use file:/// (actually, I > thought this was already there, but it has been a while since I did html > exports where links were necessary). The following patch implements `org-html-root', which allows to export file links as root-relative URL. I'm not sure the docstring is clear enough, tho. Also, HTML publishing process always bind the above to publishing directory, without user intervention. So, basically, upon exporting the following document to HTML: #+html_link_root: /tmp/ [[/tmp/unicorn.jpg]] the link becomes <img src="/unicorn.jpg" alt="unicorn.jpg" /> WDYT? Regards, -- Nicolas Goaziou