For some reason this reminds me of a feature from the outliner hnb.
If you used it as an xml editor you could do something like the
following.

 - <div style="float: right;">
   content in tag

The close tag was implied by the outline structure.  I don't know if
something similar would work well with how folks use org-mode.  I
don't do much publishing, so I don't have a feel for good technique.

Edd

On 5/21/07, Bastien <[EMAIL PROTECTED]> wrote:
Hi again,

,----
| #+HTML:<div style="float: right;">
| [[file:image.jpg][file:image.jpg]]
| #+HTML:</div>
`----

is converted like this :

,----
| <div style="float: right;">
| <p>
| <img src="images/bentolila.jpg"/>
| </div>
| </p>
`----

... mixing <div> and <p> in the wrong order.

An easy (but not obvious) way to circumvent this is to insert a blank
line after and before the #+HTML line.  For example:

,----
| #+HTML:<div style="float: right;">
|
| [[file:images/bentolila.jpg][file:images/bentolila.jpg]]
|
| #+HTML:</div>
`----

... is gets converted as :

,----
| <div style="float: right;">
|
| <p>
| <img src="images/bentolila.jpg"/>
| </p>
|
|
| </div>
`----

... where the tags order is correct.

--
Bastien


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to