emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] exporting "flattened" tagged subtrees


From: Michel Damiens
Subject: [O] exporting "flattened" tagged subtrees
Date: Thu, 30 Nov 2017 12:06:52 +0100

Hello,

I would like to export and org file in such a way that :
- only tagged subtrees are exported (for a specific tag)
- the tree structure is "flattened"

for example a file example.org containing :
* heading 1                                     :tag:
        ** subheading 1.1
                content 1.1
        ** subheading 1.2                       :tag:
                content 1.2
*heading 2
        ** subheading 2.1                       :tag:
                content 2.1
        ** subheading 2.1.1             :tag:
        ** subheading 2.1.2     :tag:
         content 2.1.2
        ** subheading 2.2
        content 2.2

would be exported to the file example.org.org containing :
* heading 1
* subheading 1.2
        content 1.2
* subheading 2.1
        content 2.1
* subheading 2.1.1
* subheading 2.1.2
        content 2.1.2

(which in turn would be exported to latex, beamer or html for example)

Thanks for your help



reply via email to

[Prev in Thread] Current Thread [Next in Thread]