emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Export and links


From: Fabrice Popineau
Subject: [O] Export and links
Date: Wed, 4 Sep 2013 13:56:21 +0200

Hi,

If I export this to html :

-----------------------------------------------------------------------
#+TITLE: FOO

#+macro: huge @@html:<h1>$1</h1>@@
#+macro: large @@html:<h2>$1</h2>@@

* Foo page

{{{large([[http:test.html][FOO]])}}}
-----------------------------------------------------------------------

I get :

<p>
<h2>[[http:test.html][FOO]]</h2>
</p>


The link is not honoured. Is there a way to achieve

<p>
<h2><a href="">
</p>
instead ? (Probably already asked ?)

Secondary questions :

- is there a way to avoid the "spurious" <p> ? Sometimes, you may want to avoid <p> around paragraphs because there are already others tags.

- exporting the org text above, I also get this :

<div class="figure">
<p>
</p>
</div>

in the midlle of the generated html. It seems to be the translation of the blank line between the heading and the text. Is there a way to avoid it?

Thanks in advance,

Fabrice

reply via email to

[Prev in Thread] Current Thread [Next in Thread]