From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Beamer presantation, Abstract and Article in same document - how to structure and how to export? Date: Wed, 27 Apr 2016 15:27:12 +0200 Message-ID: References: <877ffjns51.fsf@gmx.us> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPUz-0001LD-3J for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 09:27:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avPUu-0003FK-ML for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 09:27:24 -0400 Received: from mout.kundenserver.de ([212.227.126.135]:62462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avPUu-0003Db-D9 for emacs-orgmode@gnu.org; Wed, 27 Apr 2016 09:27:20 -0400 In-Reply-To: <877ffjns51.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 27 Apr 2016 14:38:34 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Rasmus Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Rasmus writes: > Hi, > > Rainer M Krug writes: > >> I would like to have one document containing >> >> 1) abstract for >> 2) a presentation and=20 >> 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 >> #+begin_abstract >> Needs top be written >> #+end_abstract >> >> * 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. > > Example: > > #+title: beamer example with text not shown > #+options: h:2 > > #+latex_class_options: [ignorenonframetext] > * h1 > text that is not part of any slide=20 > ** my first slide > - a > - b > > Another companion is #+include which you can use to extract named element > from one file to the other, e.g. to share tables. Thanks - both good ideas. I will look into them. I have already put the [ignorenonframetext] option in. > >> 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 only copied from the work examples - but it is true - I don't need this - and to leave it out, actually makes life much easier. > >> I could than export each subtree separate? > > Should be easy to do with a bit of lisp. I use emacs, org, ess and gnus , but I never managed to get a real grasp of elisp. > >> Can I define the name for the exported document per subtree? > > http://orgmode.org/org.html#index-property_002c-EXPORT_005fFILE_005fNAM= E-1651 OK - thanks - found it. > >> 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.=20 > > #+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:@@$1@@html:@@" "$1")) Thanks - I will look into this. I used macros already - but this looke=3Ds very interesting. Cheers, Rainer > > Hope it helps, > Rasmus =2D-=20 Rainer M. Krug email: Rainerkrugsde PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJXIL41AAoJENvXNx4PUvmCF00H/2ZiENIky0uXl6JjlVm7l/Ht ZQfIY2diYER8NYFp5hkbUVd0v8uc2efFKuR79DKUG920Wa90D/VSa6f+e8hrePsD J4+e2c6FObcUfx7WEjPc1rPYMR4ROBMHnAGtWAvToQE4T9Hfh8uOZLDVArLgBws7 hlpbDCN9ZmCh3mV7VhkqSwtCvgKDjsOSE9Haz2zsFOXOulASupLuKcZKMeV1pLc1 BVhTVVzRbH4vCAOF8TL+iJMXgxt8pUJsFb5nMdTEH+1KbdBeDMobRBXDOr8wW2+G bfdndBW8N0wjB74TU5SCxHHX6FdzNpgkJc2fTt7pcoke1jmg6slW21kN3eYmbkI= =C1iS -----END PGP SIGNATURE----- --=-=-=--