From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rasmus Subject: Re: Problem with Including subsection by CUSTOM_ID Date: Fri, 13 May 2016 11:49:09 +0200 Message-ID: <87bn4anv8q.fsf@gmx.us> 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]:56533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2MXy-00056H-4W for emacs-orgmode@gnu.org; Mon, 16 May 2016 13:43:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2MXv-0004EX-Ay for emacs-orgmode@gnu.org; Mon, 16 May 2016 13:43:13 -0400 Received: from plane.gmane.org ([80.91.229.3]:36066) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2MXv-0004Dq-49 for emacs-orgmode@gnu.org; Mon, 16 May 2016 13:43:11 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b19il-0004su-IB for emacs-orgmode@gnu.org; Fri, 13 May 2016 11:49:23 +0200 Received: from ip-178-203-235-215.hsi10.unitymediagroup.de ([178.203.235.215]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 May 2016 11:49:23 +0200 Received: from rasmus by ip-178-203-235-215.hsi10.unitymediagroup.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 May 2016 11:49:23 +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" To: emacs-orgmode@gnu.org Hi, 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" Maybe you need to use "./first-file.org:#subsec_to_include", or maybe it's just a typo in your email. You need Org 8.3. Hope it helps, Rasmus -- However beautiful the theory, one should occasionally look at the evidence