From mboxrd@z Thu Jan 1 00:00:00 1970
From: Fabrice Popineau
Subject: Export and links
Date: Wed, 4 Sep 2013 13:56:21 +0200
Message-ID:
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary=089e0160cd86a104e104e58d7fe0
Return-path:
Received: from eggs.gnu.org ([2001:4830:134:3::10]:37125)
by lists.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1VHBhU-0000La-B4
for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 07:56:45 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
(envelope-from ) id 1VHBhT-00034u-8p
for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 07:56:44 -0400
Received: from mail-ee0-x22f.google.com ([2a00:1450:4013:c00::22f]:60882)
by eggs.gnu.org with esmtp (Exim 4.71)
(envelope-from ) id 1VHBhT-00034c-11
for emacs-orgmode@gnu.org; Wed, 04 Sep 2013 07:56:43 -0400
Received: by mail-ee0-f47.google.com with SMTP id d49so118928eek.34
for ; Wed, 04 Sep 2013 04:56:41 -0700 (PDT)
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: "emacs-orgmode@gnu.org"
--089e0160cd86a104e104e58d7fe0
Content-Type: text/plain; charset=ISO-8859-1
Hi,
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. Is there a way to achieve
instead ? (Probably already asked ?)
Secondary questions :
- 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?
Thanks in advance,
Fabrice
--089e0160cd86a104e104e58d7fe0
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
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>=
div>
<h2>[[http:test.html][FOO]]</h2>
</p><=
/div>
The link is not honoured. Is =
there a way to achieve
<p>
<h2><a href=3D"h=
ttp:foo.html">FOO</a></h2>
</p>
=
div>
instead ? (Probably already asked ?)
Seco=
ndary questions :
- is there a way to avoid the "spurious" <=
p> ? Sometimes, you may want to avoid <p> around paragraphs becaus=
e there are already others tags.
- exporting the o=
rg text above, I also get this :
<div class=3D"figure">
&=
lt;p>
</p>
</div>
=
div>
in the midlle of the generated html. It seems to be the translatio=
n of the blank line between the heading and the text. Is there a way to avo=
id it?
Thanks in advance,
Fabrice
--089e0160cd86a104e104e58d7fe0--
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