emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer presantation, Abstract and Article in same document - how to structure and how to export?
@ 2016-04-27 10:06 Rainer M Krug
  2016-04-27 12:38 ` Rasmus
  0 siblings, 1 reply; 3+ messages in thread
From: Rainer M Krug @ 2016-04-27 10:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1546 bytes --]

Hi

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:

--8<---------------cut here---------------start------------->8---
* Abstract
#+begin_abstract
Needs top be written
#+end_abstract

* Presentation
** Title
*** first slide
...
* Paper
** Abstract
How can I refer to the abstract above?
** ...
--8<---------------cut here---------------end--------------->8---

But what about the specific settings? Can I set them per subtree?

--8<---------------cut here---------------start------------->8---
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
--8<---------------cut here---------------end--------------->8---

I could than export each subtree separate?

Can I define the name for the exported document per subtree?

How can I switch easily between different settings?

Any suggestions or examples?

Or should I use publishing (I am always reluctant, as it seems so complicated)?

Thanks,

Rainer

-- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Stellenbosch University
South Africa

Tel :       +33 - (0)9 53 10 27 44
Cell:       +33 - (0)6 85 62 59 98
Fax :       +33 - (0)9 58 10 27 44

Fax (D):    +49 - (0)3 21 21 25 22 44

email:      Rainer@krugs.de

Skype:      RMkrug

PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Beamer presantation, Abstract and Article in same document - how to structure and how to export?
  2016-04-27 10:06 Beamer presantation, Abstract and Article in same document - how to structure and how to export? Rainer M Krug
@ 2016-04-27 12:38 ` Rasmus
  2016-04-27 13:27   ` Rainer M Krug
  0 siblings, 1 reply; 3+ messages in thread
From: Rasmus @ 2016-04-27 12:38 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Rainer M Krug <Rainer@krugs.de> 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
> #+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 
** 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.

> 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?

  http://orgmode.org/org.html#index-property_002c-EXPORT_005fFILE_005fNAME-1651

> 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 title=\"$2\">@@$1@@html:</abbr>@@" "$1"))

Hope it helps,
Rasmus

-- 
If you can mix business and politics wonderful things can happen!

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Beamer presantation, Abstract and Article in same document - how to structure and how to export?
  2016-04-27 12:38 ` Rasmus
@ 2016-04-27 13:27   ` Rainer M Krug
  0 siblings, 0 replies; 3+ messages in thread
From: Rainer M Krug @ 2016-04-27 13:27 UTC (permalink / raw)
  To: Rasmus; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 2620 bytes --]

Rasmus <rasmus@gmx.us> writes:

> Hi,
>
> Rainer M Krug <Rainer@krugs.de> 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
>> #+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 
> ** 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_005fNAME-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. 
>
> #+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 title=\"$2\">@@$1@@html:</abbr>@@" "$1"))

Thanks - I will look into this. I used macros already - but this looke=s
very interesting.

Cheers,

Rainer

>
> Hope it helps,
> Rasmus

-- 
Rainer M. Krug
email: Rainer<at>krugs<dot>de
PGP: 0x0F52F982

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-04-27 13:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-27 10:06 Beamer presantation, Abstract and Article in same document - how to structure and how to export? Rainer M Krug
2016-04-27 12:38 ` Rasmus
2016-04-27 13:27   ` Rainer M Krug

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