From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Problem with Including subsection by CUSTOM_ID Date: Sat, 14 May 2016 10:40:57 +0200 Message-ID: <87h9e16nhi.fsf@saiph.selenimh> References: <2933361463131873@web8j.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46077) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1V8G-0006tg-Le for emacs-orgmode@gnu.org; Sat, 14 May 2016 04:41:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b1V8E-0003LN-ED for emacs-orgmode@gnu.org; Sat, 14 May 2016 04:41:07 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:48296) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b1V8E-0003LH-7J for emacs-orgmode@gnu.org; Sat, 14 May 2016 04:41:06 -0400 In-Reply-To: <2933361463131873@web8j.yandex.ru> (Ilya Filippov's message of "Fri, 13 May 2016 14:31:13 +0500") 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" To: Ilya Filippov Cc: emacs-orgmode@gnu.org Hello, Ilya Filippov writes: > I try to include subsection from one org-file to another (http://orgmode.org/manual/Include-files.html) with using CUSTOM_ID. > > In first-file.org: > > ** Subsection name > :PROPERTIES: > :CUSTOM_ID: subsec_to_include > :END: > > bla-bla > > > In second-file.org I use construction: > > * I want include here > #+INCLUDE: "./first-file.org::#funcNT10" > > > And when I export second file to PDF, org-mode gives an error message: > "Cannot include file /org/first-file.org::#funcNT10" FWIW, I cannot reproduce the problem. You may want to edebug `org-link-search' and see why it cannot find #funcNT10. Regards, -- Nicolas Goaziou