From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Nobis Subject: Re: Include another org-document without settings Date: Mon, 02 Feb 2015 14:55:09 +0100 Message-ID: References: <87lhkhzw39.fsf@ucl.ac.uk> <87k3004i3s.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHTF-0000tB-NW for emacs-orgmode@gnu.org; Mon, 02 Feb 2015 08:55:22 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YIHTA-0005zz-U0 for emacs-orgmode@gnu.org; Mon, 02 Feb 2015 08:55:21 -0500 Received: from basilikum.nobis-admin.de ([89.238.71.130]:35552) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YIHTA-0005zn-Ls for emacs-orgmode@gnu.org; Mon, 02 Feb 2015 08:55:16 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by basilikum.nobis-admin.de (Postfix) with ESMTP id BF3BE7E04E1 for ; Mon, 2 Feb 2015 14:55:15 +0100 (CET) Received: from basilikum.nobis-admin.de ([127.0.0.1]) by localhost (basilikum.nobis-admin.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5w1lFssV5HyA for ; Mon, 2 Feb 2015 14:55:10 +0100 (CET) Received: from karotte.fritz.box (f048082224.adsl.alicedsl.de [78.48.82.224]) by basilikum.nobis-admin.de (Postfix) with ESMTPSA for ; Mon, 2 Feb 2015 14:55:09 +0100 (CET) In-Reply-To: <87k3004i3s.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 02 Feb 2015 13:23:51 +0100") 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 Nicolas Goaziou writes: > You can skip the first lines of an INCLUDEd file with :line parameter. > You can also only include a section. See manual for details. Thank you for the hint. I used something like #+INCLUDE "a.org" :lines 3- but still got duplicate keywords (the KEYWORDS option is in line 2 of my example). It seems, I got the syntax wrong. The correct version is #+INCLUDE: a.org :lines "3-" so the quotations marks around the parameter are mandatory and not optional. Using the correct syntax everything works as expected. -- Until the next mail..., Stefan.