emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: Images in div and p
Date: Thu, 01 Oct 2009 17:10:39 +0200	[thread overview]
Message-ID: <87my4bcfps.fsf@gmx.de> (raw)
In-Reply-To: <F0C99442-5541-4046-8117-64DD3D2234DB@gmail.com> (Carsten Dominik's message of "Thu, 1 Oct 2009 06:53:54 +0200")

Carsten Dominik <carsten.dominik@gmail.com> writes:
> Hi Sebastian,
>
> what patch should I apply?  You know that you have infinite power
> over the Org HTML export :-)

> Could we have a way to set how to place the figure on a per-figure base?
> Like using #+HTML_ATTR:


We have that already and it works fine.

Maybe add the <div class="figure"><p>...</p></div> for images with
captions only?



> Let me know how to improve this.

I will take a look into this and send a patch.



Best wishes,


  Sebastian



>
> - Carsten
>
> On Oct 1, 2009, at 6:24 AM, Sebastian Rose wrote:
>
>> Hi Carsten and all XHTML exporters,
>>
>>
>>
>> is there a godd reason to  export
>>
>>
>> [[./intranet/img/powered-by-mysql-167x86.png]]
>>
>>
>> as
>>
>>   <div class="figure">
>>   <p><img src="./intranet/img/powered-by-mysql-167x86.png"
>>           alt="./intranet/img/powered-by-mysql-167x86.png" /></p>
>>   </div>
>>
>> ?
>>
>>
>> Nowadays, we need to add this to our Org-mode files:
>>
>>   #+STLYE:  div.figure p { text-align: left; }
>>
>>
>>
>> I think this not a feature, but annoying. The <div><p> element prevents
>> individual aligned images and should go IMHO.
>>
>>
>> We can't align an image like this anymore:
>>
>>
>>
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum +---------------------+
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum |                     |
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum |                     |
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum |                     |
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum |                     |
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum |                     |
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum |                     |
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum +---------------------+
>> Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
>> +---------------+ ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
>> |               | ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
>> |               | ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
>> |               | ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
>> +---------------+ ipsum Lorem ipsum Lorem ipsum Lorem ipsum Lorem ipsum
>>
>>
>>
>>
>>
>>
>>
>>
>>  Sebastian
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Remember: use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-10-01 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-01  4:24 Images in div and p Sebastian Rose
2009-10-01  4:53 ` Carsten Dominik
2009-10-01 15:10   ` Sebastian Rose [this message]
2009-10-01 23:16     ` Sebastian Rose
2009-10-02  6:21       ` Carsten Dominik

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=87my4bcfps.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@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).