emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Damien Couroussé" <damien.courousse@cea.fr>
To: emacs-orgmode@gnu.org
Subject: #+author un subtree exports.
Date: Mon, 30 Nov 2020 10:49:07 +0100	[thread overview]
Message-ID: <d05df069-0539-7ff9-a5e2-2859a6cbf202@cea.fr> (raw)

hello all,

I would like to export only a subtree of a bigger document, and use 
#+author annotations in subtrees.  Currently, all the #+author 
annotations of the document are concatenated in the exported document.

Is it the expected behaviour?  Is it possible to have per-section 
#+author annotation?


Minimalist example:

```
* section A

#+title: doc A
#+author: author A

text A.

* section B

#+title: doc B
#+author: author B

text B.
```

In this example, exporting e.g. section B (=C-c C-e C-s t U= with the 
default keymaps) produces the following output, where "author A author 
B" in the document heading is not wanted.


Text export of section B:

```
                           ━━━━━━━━━━━━━━━━━━━
                                SECTION B

                            author A author B
                           ━━━━━━━━━━━━━━━━━━━


Table of Contents
─────────────────




text B.
```




thank you,
Damien

-- 
Damien Couroussé
Research Engineer

Commissariat à l’énergie atomique et aux énergies alternatives
Institut List | Minatec Campus
17 avenue des Martyrs | 38054 Grenoble Cedex | France

Tel : +33 (0)4 38 78 04 66
Web : http://www-list.cea.fr
  
[Citation aléatoire]
Functional programming has no side effects because no one uses it.
-+- Annoy /r/haskell in one sentence -+-


             reply	other threads:[~2020-11-30  9:50 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-30  9:49 Damien Couroussé [this message]
2020-11-30 10:29 ` Eric S Fraga
2020-11-30 10:47   ` Damien Couroussé

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=d05df069-0539-7ff9-a5e2-2859a6cbf202@cea.fr \
    --to=damien.courousse@cea.fr \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: #+author un subtree exports.' \
    /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

Code repositories for project(s) associated with this 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).