emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: Robert Eckl <eckl.r@gmx.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: New Exporter html - latex - beamer
Date: Wed, 20 Mar 2013 08:43:29 +0000	[thread overview]
Message-ID: <87y5dio40e.fsf@ucl.ac.uk> (raw)
In-Reply-To: <m2hak7i4ug.fsf@sachwertpartner.de> (Robert Eckl's message of "Tue, 19 Mar 2013 20:09:43 +0100")

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

Robert Eckl <eckl.r@gmx.de> writes:

[...]

> OTOH i would like to use beamer in future, Beamer_Col does a similar
> job, except of surrounding the image with text. Does Beamer provide
> something like this?

You can fake what you want using columns and blocks.  See attached
example, both org and pdf.

> But, if i write the text for Beamer-Output, i have to handle html-output
> extra. The LaTeX-package "comment" isn't provided by beamer, I don't
> know neither how to comment out the HTML-Code for LaTeX-Beamer-fragments
> nor how to comment out Beamer-Fragments für HTML-Export.

Yes, this is a problem.  There is no easy way to select elements for
export other than whole sub-trees (using tags as in :noexport:).
I'm sorry I can't advise on this.  I don't tend to export to more than
one target for any given document.  I write with the intention of
exporting to latex (PDF) or html but not both from the same document.

-- 
Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: beamertest.org --]
[-- Type: text/x-org, Size: 1515 bytes --]

#+title: Testing Beamer in Org
#+author: Eric S Fraga
#+OPTIONS:   H:2 
#+EXPORT_EXCLUDE_TAGS: noexport

#+startup: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]

#+startup: oddonly

#+COLUMNS: %40ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra)

#+latex_header: \usepackage{tikz}

* The first topic
*** Nested blocks
    Use distillation for separation of two components.
***** The problem                                                                                      :BMCOL:
      :PROPERTIES:
      :BEAMER_col: 0.3
      :END:
******* Model                                                     :B_example:
        :PROPERTIES:
        :BEAMER_env: example
        :BEAMER_act: <2->
        :END:
        \[ y = \frac{\alpha x} {1 + (\alpha -1) x} \]
******* Goal                                                        :B_block:
        :PROPERTIES:
        :BEAMER_env: block
        :BEAMER_act: <3->
        :END:
        Minimise energy consumption

***** Distillation                                       :BMCOL:B_definition:
      :PROPERTIES:
      :BEAMER_col: 0.6
      :BEAMER_env: definition
      :BEAMER_act: <4->
      :END:
      #+begin_center
      #+attr_latex: width=0.9\textwidth
      [[file:~/s/figures/teaching/introduction/distillation-unit.pdf]]
      #+end_center

      \vfill
***** Approach
      :PROPERTIES:
      :BEAMER_act: <5->
      :END:
      We can change both the number of trays and the reflux rate.

[-- Attachment #3: beamertest.pdf --]
[-- Type: application/pdf, Size: 108865 bytes --]

      parent reply	other threads:[~2013-03-20  9:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-15 20:55 New Exporter html - latex - beamer Robert Eckl
2013-03-15 21:21 ` Marcin Borkowski
2013-03-17 13:18 ` Eric S Fraga
2013-03-19 19:09   ` Robert Eckl
2013-03-19 23:36     ` cberry
2013-03-20 14:16       ` Charles Berry
2013-03-25 22:39         ` Robert Eckl
2013-03-20  8:43     ` Eric S Fraga [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87y5dio40e.fsf@ucl.ac.uk \
    --to=e.fraga@ucl.ac.uk \
    --cc=eckl.r@gmx.de \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).