From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: include an .org file and lower the level of all its headers Date: Wed, 10 Nov 2010 11:06:23 -0800 Message-ID: <4CDAED2F.7080502@comcast.net> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=45497 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PGG0G-00034b-3Y for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 14:06:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PGG0E-0005Pm-Tg for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 14:06:39 -0500 Received: from qmta15.emeryville.ca.mail.comcast.net ([76.96.27.228]:42949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PGG0E-0005PX-If for emacs-orgmode@gnu.org; Wed, 10 Nov 2010 14:06:38 -0500 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: emacs-orgmode@gnu.org Scott, I don't know about Jianshi's specific needs but I have also wanted the same thing for myself. I often put together "standard" information on a variety of topics that I talk about in separate files. When I put together a talk for a given topic I include many of these sub-topics in a given talk. However, I usually need different "surrounding" material to preface these topics and draw conclusions relevant to the main topic. I would like to be able to continue to have these sub-topics in separate files and just include them (by reference - so to speak) in my notes without having to adjust their heading levels or pasting them directly into my notes. Mark On 11/10/2010 3:09 AM, Scot Becker wrote: > 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 >