From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Links, exporter Date: Wed, 17 Jun 2015 12:42:38 +0200 Message-ID: <87egla8vkx.fsf@selenimh.access.network> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54542) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5AmS-0003LV-5Y for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 06:41:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5AmO-0004gW-B4 for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 06:41:16 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:56917) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5AmO-0004gB-4r for emacs-orgmode@gnu.org; Wed, 17 Jun 2015 06:41:12 -0400 In-Reply-To: (Fabrice Popineau's message of "Wed, 17 Jun 2015 11:48:06 +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 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? Yes, unresolved links/footnotes/whatever throw errors instead of leaving broken links. > 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. It could work for HTML export but it cannot be generalized (e.g., you cannot have a dangling \ref{something} without a corresponding \label{...} in LaTeX). So, it is consistent. Regards, -- Nicolas Goaziou