emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Horace Dynamite <horace.dynamite@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Link translation in the HTML exporter
Date: Fri, 10 Jun 2011 12:19:18 +0100	[thread overview]
Message-ID: <4DF1FDB6.7010401@gmail.com> (raw)

Hello,

I must have done something stupid here, because everything used to work 
perfectly until I tried setting up Org publisher stuff.

My problem is that when I insert a link using C-c l in Emacs, everything 
is fine. I can click on it within Emacs and note that its there. After 
an HTML export, the link is broken, the exporter doesn't appear to be 
properly translating directory separators (for Windows) any more.

Example,

The result of C-c l is [[file:~/Notes/chuck.jpg]], the link works from 
within Emacs.

I run the HTML exporter.

The link is exported to this in the HTML source,

<img  src="c:/Documents and Settings/Horace/My Documents/Notes/chuck.jpg  <c:/Documents%20and%20Settings/Charles/My%20Documents/Notes/chuck.jpg>"alt="c:/Documents and Settings/Horace/My Documents/Notes/chuck.jpg"/>


That didn't happen before I started fiddling. The only option I have in 
the preamble is LaTeX:nil. The only configuration related to org-publish 
is setting a project alist. I experience this problem both using the 
HTML exporter directly with C-c C-e h and with the org-publish-project 
command.

Thank you for reading,

Horace.

             reply	other threads:[~2011-06-10 11:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-06-10 11:19 Horace Dynamite [this message]
2011-06-10 11:32 ` Link translation in the HTML exporter Horace Dynamite

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=4DF1FDB6.7010401@gmail.com \
    --to=horace.dynamite@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).