emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Puneeth <punchagan@gmail.com>
Cc: emacs-orgmode@gnu.org, Jianshi Huang <jianshi.huang@gmail.com>
Subject: Re: include an .org file and lower the level of all its headers
Date: Mon, 15 Nov 2010 11:18:08 +0100	[thread overview]
Message-ID: <A1CE8F00-C2C8-4B7A-A5A8-3D716C7C970F@gmail.com> (raw)
In-Reply-To: <AANLkTim3NkqvC72QSjj1KuJtdP2T6E8bo_EfFX_7mUMb@mail.gmail.com>

Accepted.  I added the proper ChangeLog entries and documented the  
change in the manual.

Thanks

- Carsten

On Nov 14, 2010, at 8:01 AM, Puneeth wrote:

> On Sat, Nov 13, 2010 at 1:12 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> 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.
>
> Here's a patch. I tested it with a simple document and works fine.
>
> Thanks,
> Puneeth
> <org-export-minlevel.patch.txt>

- Carsten

  reply	other threads:[~2010-11-15 10:18 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
2010-11-14  7:01   ` Puneeth
2010-11-15 10:18     ` Carsten Dominik [this message]
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=A1CE8F00-C2C8-4B7A-A5A8-3D716C7C970F@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jianshi.huang@gmail.com \
    --cc=punchagan@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).