emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Stefan Nobis <stefan-ml@snobis.de>
To: emacs-orgmode@gnu.org
Subject: Re: Include another org-document without settings
Date: Mon, 02 Feb 2015 14:55:09 +0100	[thread overview]
Message-ID: <m1bnlcifk2.fsf@nobis-it.eu> (raw)
In-Reply-To: <87k3004i3s.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Mon, 02 Feb 2015 13:23:51 +0100")

Nicolas Goaziou <mail@nicolasgoaziou.fr> 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.

      reply	other threads:[~2015-02-02 13:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-01 10:51 Include another org-document without settings Stefan Nobis
2015-02-01 11:53 ` Eric S Fraga
2015-02-02  7:05   ` Stefan Nobis
2015-02-02 12:23     ` Nicolas Goaziou
2015-02-02 13:55       ` Stefan Nobis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1bnlcifk2.fsf@nobis-it.eu \
    --to=stefan-ml@snobis.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).