From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scot Becker Subject: Re: include an .org file and lower the level of all its headers Date: Wed, 10 Nov 2010 11:09:35 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0450404458==" Return-path: Received: from [140.186.70.92] (port=45897 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PG8Yy-0006zd-OY for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 06:10:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PG8Yx-0007vd-Gu for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 06:10:00 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:58556) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PG8Yx-0007vL-B5 for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 06:09:59 -0500 Received: by bwz16 with SMTP id 16so651974bwz.0 for ; Wed, 10 Nov 2010 03:09:57 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jianshi Huang Cc: emacs-orgmode@gnu.org --===============0450404458== Content-Type: multipart/alternative; boundary=0016368e2ba7ceacdc0494b0e5ae --0016368e2ba7ceacdc0494b0e5ae Content-Type: text/plain; charset=ISO-8859-1 Jianshi, I've never heard of any way to do that with an #+INCLUDE. There are variables that automatically demote subtrees that you yank in with CTRL-Y, but that's a hard-INCLUDE, so to speak, and you probably have your reasons for wanting to keep them in separate files. Scot On Wed, Nov 10, 2010 at 9:46 AM, Jianshi Huang wrote: > Hi, > > I know I can include any file using #+INCLUDE. > > I need to include several org files, but they were edited > independently as a complete document. > > Now I want to lower the levels of headers in these org files > automatically during inclusion. Is there a way to do that? > > > Cheers, > Jianshi > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --0016368e2ba7ceacdc0494b0e5ae Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Jianshi,

I've never heard of any way to do that with an #+INCLUD= E.=A0 There are variables that automatically demote subtrees that you yank = in with CTRL-Y, but that's a hard-INCLUDE, so to speak, and you probabl= y have your reasons for wanting to keep them in separate files.=A0

Scot


On Wed, Nov 10, 2010 at 9:46= AM, Jianshi Huang <jianshi.huang@gmail.com> wrote:
Hi,

I know I can include any file using #+INCLUDE.

I need to include several org files, but they were edited
independently as a complete document.

Now I want to lower the levels of headers in these org files
automatically during inclusion. Is there a way to do that?


Cheers,
Jianshi

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--0016368e2ba7ceacdc0494b0e5ae-- --===============0450404458== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0450404458==--