From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Links, exporter Date: Wed, 17 Jun 2015 11:48:06 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11330b5eb30fe00518b39708 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39892) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z59xN-00055F-4g for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 05:48:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z59xL-0005C5-NX for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 05:48:29 -0400 Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:33096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z59xL-0005Bp-GT for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 05:48:27 -0400 Received: by obbkn5 with SMTP id kn5so755033obb.0 for ; Wed, 17 Jun 2015 02:48:26 -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" --001a11330b5eb30fe00518b39708 Content-Type: text/plain; charset=UTF-8 Hi, I have another problem/question with links related to the exporter. I lost track of what was the behavior months ago. Assume I have something like this : * BAR :PROPERTIES: :PAGE: bar.html :END: ** First link :first: :PROPERTIES: :CUSTOM_ID: First%20link :END: Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum accumsan nisl. ** Second link *** Third level - [[#First%20link][First link]] foo bar - [[file:sample.org][sample.org]] - [[http://www.google.com][Google]] * BLOG ** DONE BLOG Entry :blog:foo: CLOSED: [2015-06-17 mer. 10:15] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit tempor tellus. Donec pretium posuere tellus. Proin quam nisl, tincidunt et, mattis eget, convallis nec, purus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vitae dolor. Nullam tristique diam non turpis. Cras placerat accumsan nulla. Nullam rutrum. Nam vestibulum accumsan nisl. ** DONE Second Blog entry :blog:bar: CLOSED: [2015-06-17 mer. 11:17] [[#First%20link][First link again]] See if this will work. If I try to export the "Second Blog entry" subtree by C-C C-e C-s C-b h H, I get a user-error because the exporter can't resolve the link which points outside of the exported subtree. Is this expected? Maybe that is a bad idea, but I was thinking that the link could be resolved "as if" we were exporting the whole file rather than error it. Thanks for enlighting me. Fabrice --001a11330b5eb30fe00518b39708 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have another problem/question wit= h links related to the exporter.

I lost track of w= hat was the behavior months ago.

Assume I have som= ething like this :


* BAR
=
:PROPERTIES:
:PAGE: =C2=A0 =C2=A0 bar.html
:END:

** First link =C2=A0 =C2=A0 =C2=A0:first:
:PROPERTIES:
:CUSTOM_ID: First%20link
:END:

Lo= rem ipsum dolor sit amet, consectetuer adipiscing elit. Donec hendrerit
=
tempor tellus. Donec pretium posuere tellus. Proin quam nisl, ti= ncidunt et,
mattis eget, convallis nec, purus. Cum sociis natoque= penatibus et magnis
dis parturient montes, nascetur ridiculus mu= s. Nulla posuere. Donec vitae
dolor. Nullam tristique diam non tu= rpis. Cras placerat accumsan
nulla. Nullam rutrum. Nam vestibulum= accumsan nisl.

** Second link
=C2=A0 = =C2=A0 =C2=A0
*** Third level

- [[#First= %20link][First link]] foo bar
- [[http://www.google.com][Google]]=


* BLOG

**= DONE BLOG Entry = =C2=A0 :blog:foo:
=C2=A0 =C2=A0CLOSED: [2015-06-17 mer. 10:15]

=C2=A0Lorem ipsum dolor sit amet, consectetuer adipi= scing elit. Donec hendrerit
=C2=A0tempor tellus. Donec pretium po= suere tellus. Proin quam nisl, tincidunt et,
=C2=A0mattis eget, c= onvallis nec, purus. Cum sociis natoque penatibus et magnis
=C2= =A0dis parturient montes, nascetur ridiculus mus. Nulla posuere. Donec vita= e
=C2=A0dolor. Nullam tristique diam non turpis. Cras placerat ac= cumsan
=C2=A0nulla. Nullam rutrum. Nam vestibulum accumsan nisl.<= /div>


** DONE Second Blog entry =C2=A0 :blog:bar:
= =C2=A0 =C2=A0CLOSED: [2015-06-17 mer. 11:17]

=C2= =A0[[#First%20link][First link again]]

=C2=A0See i= f this will work.

If I try to export the &qu= ot;Second Blog entry" subtree by C-C C-e C-s C-b h H, I get a user-err= or because the exporter can't resolve the link which points outside of = the exported subtree.

Is this expected?
= Maybe that is a bad idea, but I was thinking that the link could be resolve= d "as if" we were exporting the whole file rather than error it.<= /div>

Thanks for enlighting me.

Fabrice


--001a11330b5eb30fe00518b39708--