emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Testing: org-export-e-html


From: William Crandall
Subject: Re: [O] Testing: org-export-e-html
Date: Wed, 30 May 2012 16:50:22 -0700

Thanks Sebastien!

Sometimes its the smallest things; in this case >.<
A single point, and figures work in my setup.

That is: [[./sites/a.png]]

becomes: <img src="" alt="a.png"/>

------------------------------

Alas, FILES do not now behave the same way.

Using M-x org-export-dispatch h
this:
    [[./sites/my-file][My link]]

becomes:
    <a href="" link</a>


So, org-export-dispatch (on Windows), adds
"file://"   if the first char is ".", and it adds
"file://g:" if the first char is "/".

(With "g:" the root drive letter.)

Still hoping for a switch that will add [nothing].

+1 for solving the img challenge!

-BC

 
Hi William,

William Crandall wrote:
> 3. Image and file prefixes are as they were.
>
> This (image):
>
>    [[/sites/a.png]]
>
> becomes:
>
>    <img src="">
>
> And this (file):
>
>    [[/sites/my-file][My link]]
>
> becomes:
>
>    <a href="" link</a>
>
>
> I'd love an option to "change it not" for both, so that
> neither "g:" nor "file://g:" is added to "/...".
>
> I could strip them out, after exporting, but I think
> this is an option that others would also value.
>
>
> (External links, to an "http://...";, work fine.)

A quick note on this one:

I think adding "." does work, so use "./sites/a.png" instead.

Dunno if that suits your need, though.

Best regards,
  Seb

-- 
Sebastien Vauban

reply via email to

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