emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [dev] About a beamer back-end


From: Nicolas Goaziou
Subject: [O] [dev] About a beamer back-end
Date: Fri, 15 Jun 2012 17:08:11 +0200

Hello,

As I announced in another thread, I'm starting a Beamer back-end for the
new export engine.  Though, before I start hacking, I have a question
about environments.

I'm wondering if it is really interesting to have every environment set
up from headlines. I understand it allows to use column view but, from
my experience, I've used previous Beamer exporter without ever resorting
to this view.  Also, it introduces some hacks (like the "normal" block)
when you want to insert some text after a block.

On the other hand, I think special blocks could be used for
environments.  For example:

#+begin_src org
* Vocabulary
  
  #+ATTR_BEAMER: :title "Definition"
  #+BEGIN_BLOCK
  A *set* consists of elements.
  #+END_BLOCK

  Some text.

  #+ATTR_BEAMER: :title "Question." :action "<2->"
  #+BEGIN_ALERTBLOCK
  Let R be the set of all sets that are not members of themselves.
  Is R a member of itself?
  #+END_ALERTBLOCK
#+end_src

would result in:

#+begin_src latex
\begin{frame}
\frametitle{Vocabulary}
\begin{block}{Definition}
A \alert{set} consists of elements.
\end{block}

Some text.

\begin{alertblock}<2->{Question}
\end{alertblock}
\end{frame}
#+end_src

Beamer minor mode would provide templates for blocks instead of
shortcuts for property API.  Frames would still be defined from
headlines.

I do not mind keeping previous implementation, but it can be clunky at
times. What do you think?


Regards,

-- 
Nicolas Goaziou



reply via email to

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