From: William Crandall <bc3141592@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Testing: org-export-e-html
Date: Wed, 30 May 2012 16:50:22 -0700 [thread overview]
Message-ID: <CAENLK5VSnGHt=LQyj7qQvcfHpxr_RpgUdQx7Rt5+1Fw05Jv03g@mail.gmail.com> (raw)
In-Reply-To: <87396i3p1w.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1521 bytes --]
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="./sites/a.png" 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="file://./sites/my-file">My 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="g:/sites/a.png"/>*
> >
> >* And this (file):*
> >
> >* [[/sites/my-file][My link]]*
> >
> >* becomes:*
> >
> >* <a href="file://g:/sites/my-file">My 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
>
>
[-- Attachment #2: Type: text/html, Size: 2222 bytes --]
next prev parent reply other threads:[~2012-05-30 23:50 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-30 6:27 Testing: org-export-e-html (was: Drupal syntax on html-export) William Crandall
2012-05-30 7:08 ` Testing: org-export-e-html Sebastien Vauban
2012-05-30 11:07 ` Nicolas Goaziou
2012-05-30 23:50 ` William Crandall [this message]
2012-05-30 23:53 ` William Crandall
2012-05-31 4:28 ` Jambunathan K
2012-05-31 12:08 ` Nicolas Goaziou
2012-06-01 3:56 ` William Crandall
2012-06-01 6:42 ` William Crandall
2012-06-01 16:38 ` Nicolas Goaziou
2012-06-02 2:56 ` William Crandall
2012-06-02 5:04 ` Jambunathan K
2012-06-02 7:40 ` William Crandall
2012-06-02 10:26 ` Jambunathan K
2012-05-31 6:42 ` Jambunathan K
2012-06-01 3:44 ` William Crandall
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAENLK5VSnGHt=LQyj7qQvcfHpxr_RpgUdQx7Rt5+1Fw05Jv03g@mail.gmail.com' \
--to=bc3141592@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).