From mboxrd@z Thu Jan 1 00:00:00 1970
From: Nicolas Goaziou
Subject: Re: Export and links
Date: Wed, 04 Sep 2013 14:06:23 +0200
Message-ID: <87zjrs3i68.fsf@gmail.com>
References:
Mime-Version: 1.0
Content-Type: text/plain
Return-path:
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38984)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1VHBqk-00040g-6u
for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 08:06:26 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1VHBqb-0005xM-Ls
for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 08:06:18 -0400
Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:41817)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1VHBqb-0005wx-FL
for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 08:06:09 -0400
Received: by mail-we0-f170.google.com with SMTP id w60so236801wes.1
for ; Wed, 04 Sep 2013 05:06:08 -0700 (PDT)
In-Reply-To:
(Fabrice Popineau's message of "Wed, 4 Sep 2013 13:56:21 +0200")
List-Id: "General discussions about Org-mode."
List-Unsubscribe: ,
List-Archive:
List-Post:
List-Help:
List-Subscribe: ,
Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org
To: Fabrice Popineau
Cc: "emacs-orgmode@gnu.org"
Hello,
Fabrice Popineau writes:
> If I export this to html :
>
> -----------------------------------------------------------------------
> #+TITLE: FOO
>
> #+macro: huge @@html:$1
@@
> #+macro: large @@html:$1
@@
>
> * Foo page
>
> {{{large([[http:test.html][FOO]])}}}
> -----------------------------------------------------------------------
>
> I get :
>
>
>
[[http:test.html][FOO]]
>
>
>
> The link is not honoured.
It happens because you enclose it within an export snippet, where
nothing is interpreted. You may use instead:
#+macro: large @@html:@@$1@@html:
@@
> - is there a way to avoid the "spurious" ? Sometimes, you may want to
> avoid
around paragraphs because there are already others tags.
>
> - exporting the org text above, I also get this :
>
>
>
> 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?
I cannot reproduce it with the example above.
Regards,
--
Nicolas Goaziou