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 -+-
On Monday, 30 Nov 2020 at 10:49, Damien Couroussé wrote:
> 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.
For subtree export, make use of the EXPORT_X properties where X can be
AUTHOR, TITLE, ... Set these properties in each sub-tree.
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4-143-g9a1549
[-- Attachment #1: Type: text/plain, Size: 974 bytes --] On 30/11/2020 11:29, Eric S Fraga wrote: >> 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. > For subtree export, make use of the EXPORT_X properties where X can be > AUTHOR, TITLE, ... Set these properties in each sub-tree. Thank you, Eric, this is exactly what I was looking for. This is documented in the manual here: https://orgmode.org/manual/Export-Settings.html regards, -- 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] There are only two hard problems in computer science: being Haskell, and. -+- https://m.reddit.com/r/rust/comments/5l08o5/rust_is_literally_haskell -+- [-- Attachment #2: Type: text/html, Size: 1812 bytes --]