[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Beamer presantation, Abstract and Article in same document - how
Re: [O] Beamer presantation, Abstract and Article in same document - how to structure and how to export?
Wed, 27 Apr 2016 14:38:34 +0200
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
Rainer M Krug <address@hidden> writes:
> I would like to have one document containing
> 1) abstract for
> 2) a presentation and
> 3) a resulting paper
> My question is: how can I structure this an how can I handle the export?
> Obviously under different top level headers:
> * Abstract
> Needs top be written
> * Presentation
> ** Title
> *** first slide
> * Paper
> ** Abstract
> How can I refer to the abstract above?
> ** ...
While you may not necessarily *need* beamerarticle, you might still find
it enlightening. See section 21.2 in the beamer manual.
#+title: beamer example with text not shown
text that is not part of any slide
** my first slide
Another companion is #+include which you can use to extract named element
from one file to the other, e.g. to share tables.
> But what about the specific settings? Can I set them per subtree?
> #+LaTeX_CLASS: beamer
> #+LaTeX_CLASS_OPTIONS: [bigger]
Isn't the latex class guess correctly?
> I could than export each subtree separate?
Should be easy to do with a bit of lisp.
> Can I define the name for the exported document per subtree?
> How can I switch easily between different settings?
For #+LaTeX_CLASS_OPTIONS I'd maybe use a macro.
I'd also use this for setting export tags, e.g.
#+MACRO: exclude-tags (eval (mapconcat 'identity (list "#+EXCLUDE_TAGS:"
"noexport" (concat "no" (symbol-name org-export-current-backend))) " "))
You might also find the if clause in this macro interesting:
#+MACRO: abbr (eval (if (org-export-derived-backend-p
org-export-current-backend 'html) "@@html:<abbr
Hope it helps,
If you can mix business and politics wonderful things can happen!