emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Robert Eckl <eckl.r@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: Html-Exporter Hanling images / links
Date: Tue, 26 Mar 2013 11:07:38 -0500	[thread overview]
Message-ID: <CA+M2ft8yLLQPsHFgYEXcdFiqowGukUJ-EnB2Tn1OJGPF1JRpGA@mail.gmail.com> (raw)
In-Reply-To: <m2vc8e6ulx.fsf@sachwertpartner.de>

On Tue, Mar 26, 2013 at 10:36 AM, Robert Eckl <eckl.r@gmx.de> wrote:
> Hi,
>
> with Org-mode version 8.0-pre (release_8.0-pre-193-gaa7b1e i got some
> issues handling images and links:
>
> A Link [[http://www.mypage.de][description]] results in
> <i>desription</i> without any link.

I can't reproduce this. Here was my test file (copied and pasted from
your email and then adjusted):

#+begin_src org

* Test

A Link [[http://www.mypage.de][description]] results in...

#+end_src org

I get this output:

#+begin_src html

<p>
A Link <a href="http://www.mypage.de">description</a> results in&#x2026;
</p>

#+end_html

>
> In the past i uses something like this:
>
> #+ATTR_HTML: alt="alt" title="title" align="right" width="100"
> [[http://www.mypage.de][http://www.mypage/path/image.jpg]]
> Some Text
> more text more text
>
> Now the ATTR_HTML line seems to be ignored, so the image is not at the
> right of the text but centered in an extra row.

Now, for the image, did you check out the upgrade guide? A lot of the
syntax has changed:
- http://orgmode.org/worg/org-8.0.html#sec-8

While it doesn't say it explicitly, this also applies to #+attr_html. Try this:

#+begin_src org

#+ATTR_HTML: :width 100px :alt alt :options title="Title" align="right"
[[http://www.mypage.de][http://upload.wikimedia.org/wikipedia/commons/5/56/Tux.jpg]]
Some Text
more text more text

#+end_src

>
> TIA,
> Robert
>
>

  reply	other threads:[~2013-03-26 16:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-26 15:36 Html-Exporter Hanling images / links Robert Eckl
2013-03-26 16:07 ` John Hendy [this message]
2013-03-26 16:36   ` Robert Eckl
2013-03-26 16:44     ` John Hendy
2013-03-26 16:13 ` Sebastien Vauban
2013-03-26 16:33   ` John Hendy

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=CA+M2ft8yLLQPsHFgYEXcdFiqowGukUJ-EnB2Tn1OJGPF1JRpGA@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=eckl.r@gmx.de \
    --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).