emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scot Becker <scot.becker@gmail.com>
To: Jianshi Huang <jianshi.huang@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: include an .org file and lower the level of all its headers
Date: Wed, 10 Nov 2010 11:09:35 +0000	[thread overview]
Message-ID: <AANLkTi=j6bXJ56qJ8+9GxYv0Q4W=dEeP2LHE4sww8ASt@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=6fqRCiT_9StWbB3omdDv7dOWQq9o5C6U1dJex@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 885 bytes --]

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 <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
>

[-- Attachment #1.2: Type: text/html, Size: 1370 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-11-10 11:10 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10  9:46 include an .org file and lower the level of all its headers Jianshi Huang
2010-11-10 11:09 ` Scot Becker [this message]
2010-11-10 19:06   ` Mark Elston
2010-11-10 19:35     ` Samuel Wales
2010-11-12 19:42 ` Carsten Dominik
2010-11-14  7:01   ` Puneeth
2010-11-15 10:18     ` Carsten Dominik
2011-04-20 18:48       ` Robert Goldman

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='AANLkTi=j6bXJ56qJ8+9GxYv0Q4W=dEeP2LHE4sww8ASt@mail.gmail.com' \
    --to=scot.becker@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jianshi.huang@gmail.com \
    /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).