emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Juan Manuel Macías" <maciaschain@posteo.net>
To: Michael Dauer <mick.dauer@gmail.com>
Cc: orgmode <emacs-orgmode@gnu.org>
Subject: Re: Root heading when exporting sub-trees
Date: Tue, 15 Feb 2022 12:36:44 +0000	[thread overview]
Message-ID: <87h790cnmr.fsf@posteo.net> (raw)
In-Reply-To: <CAP7OBxKNY09VveCt8MbHEN3o+Hdb__C=17pcRZ9=PUwDfg61JQ@mail.gmail.com> (Michael Dauer's message of "Tue, 15 Feb 2022 11:23:47 +0100")

Hi Michael,

Michael Dauer writes:

> When I export a subtree I normally want to produce a document for the
> topic of the subtree. So I would expect that the contents of the
> subtree would be exported with the heading as title (and maybe file
> name) and the children promoted to level 1.
>
> What I receive is something like this:
> Title: Title of all topics
> 1. Topic
> 1.1
> 1.2
> 1.2.1
> 1.2.3
> 1.3
>
> The whole first level of this outline is pointless.
>
> What is the best way to change this behavior? I mean in
> configuration/patching not by putting the same export properties
> everywhere. But identifying the relevant export properties would be of
> help of course.

You can set specific export properties for a given subtree, for example:

* Subtree
  :PROPERTIES:
  :EXPORT_OPTIONS: options list
  :EXPORT_TITLE: Another title
  :EXPORT_FILE_NAME: another file name
  :END:

Best regards,

Juan Manuel 


  reply	other threads:[~2022-02-15 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 10:23 Root heading when exporting sub-trees Michael Dauer
2022-02-15 12:36 ` Juan Manuel Macías [this message]
2022-02-15 13:16 ` Sébastien Miquel
2022-02-15 13:54   ` Michael Dauer

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=87h790cnmr.fsf@posteo.net \
    --to=maciaschain@posteo.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=mick.dauer@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).