emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@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: Fri, 12 Nov 2010 13:42:12 -0600	[thread overview]
Message-ID: <CAC72A12-3236-423E-A730-C15099E6DE50@gmail.com> (raw)
In-Reply-To: <AANLkTi=6fqRCiT_9StWbB3omdDv7dOWQq9o5C6U1dJex@mail.gmail.com>


On Nov 10, 2010, at 3: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?

No.  But since #+include accepts arguments, it could be implemented,
something like

#+include "aaa.org" :minlevel 4

or so.  I would accept a good patch to this effect.

- Carsten

  parent reply	other threads:[~2010-11-12 19:42 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
2010-11-10 19:06   ` Mark Elston
2010-11-10 19:35     ` Samuel Wales
2010-11-12 19:42 ` Carsten Dominik [this message]
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=CAC72A12-3236-423E-A730-C15099E6DE50@gmail.com \
    --to=carsten.dominik@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).