emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Andreas Reuleaux <rx@a-rx.info>
Cc: emacs-orgmode@gnu.org
Subject: Re: aligning images, html attributes ignored when exporting to html (longish, sorry)
Date: Sun, 22 Apr 2018 10:25:22 +0200	[thread overview]
Message-ID: <87604jbqbx.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87muxwvbf9.fsf@a-rx.info> (Andreas Reuleaux's message of "Sat, 21 Apr 2018 16:14:50 +0100")

Hello,

Andreas Reuleaux <rx@a-rx.info> writes:

> following this tutorial
>
>   https://orgmode.org/worg/org-tutorials/images-and-xhtml-export.html
>
> I am trying to export some sample.org file to html, and have the images
> floated to the right, with no success however.
>
> to that end ATTR_HTML is used in the tutorial and in my sample.org:
> -----
> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
> eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad
> minim veniam, quis nostrud exercitation ullamco laboris nisi ut
> aliquip ex ea commodo consequat. 
> #+ATTR_HTML: style="float:right;"
> [[./img/org-mode-unicorn.png]]

I think the correct syntax is

  #+ATTR_HTML: :style float:right;

The tutorial is probably outdated.


Regards,

-- 
Nicolas Goaziou

  parent reply	other threads:[~2018-04-22  8:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-21 15:14 aligning images, html attributes ignored when exporting to html (longish, sorry) Andreas Reuleaux
2018-04-21 21:13 ` Andreas Reuleaux
2018-04-23 18:27   ` Richard Lawrence
2018-04-23 19:04     ` Andreas Reuleaux
2018-04-22  8:25 ` Nicolas Goaziou [this message]
2018-04-22 12:03   ` Andreas Reuleaux
2018-04-26 23:34   ` Bastien

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=87604jbqbx.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=rx@a-rx.info \
    /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).