emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Christoph LANGE <math.semantic.web@gmail.com>
Cc: Orgmode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: [export] Easy way to make children of Beamer frames generate list items?
Date: Sat, 14 Sep 2013 09:40:50 -0500	[thread overview]
Message-ID: <CA+M2ft-iuUi7=Yh8CaCnQyMFqbjfnNJZKNAKM1L26oDdF_OX7w@mail.gmail.com> (raw)
In-Reply-To: <5234728E.3000901@gmail.com>

On Sat, Sep 14, 2013 at 9:28 AM, Christoph LANGE
<math.semantic.web@gmail.com> wrote:
> Dear all,
>
> here is another problem that I have with reusing old Beamer
> presentations (Org version 7) with the new exporter.
>
> The manual says that "all frame's children become `block' environments".
>
> Is there a way of reverting to the default behaviour of the old
> exporter, which by default exported frame's children as list items?
> E.g. by setting a certain property on the frame's children?
>

Tricky problem, and I could see how this would be an issue. I guess I
always held to using unordered lists (- blah) for my lists vs. relying
on the nested headling functionality (** blah). I wonder if you could
tweak the beamer definition somehow to make a sort of "legacy beamer"
class for exporting these?

For example, I have the default template in my .emacs from the Beamer
setup instructions on Worg:

#+begin_src .emacs

(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))


#+end_src

Perhaps something there could be tweaked? I'm no lisp or org -> latex
mapping person, but perhaps others will have an idea of how you can
map something dynamically so that "One level below the H:number
setting gets converted to \itemize" (vs. the current conversion to
\begin{example} ?

Just a thought.


Sorry to not be more help to you!
John

> Of course I would be able to manually change all lists to plain lists
> within Org tree entries, but before starting to do this I would like to
> make sure that there is no other way.
>
> Cheers, and thanks in advance,
>
> Christoph
>
> --
> Christoph Lange, School of Computer Science, University of Birmingham
> http://cs.bham.ac.uk/~langec/, Skype duke4701
>
> → Mathematics in Computer Science Special Issue on “Enabling Domain
>   Experts to use Formalised Reasoning”; submission until 31 October.
>   http://cs.bham.ac.uk/research/projects/formare/pubs/mcs-doform/
>

  reply	other threads:[~2013-09-14 14:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-14 14:28 [export] Easy way to make children of Beamer frames generate list items? Christoph LANGE
2013-09-14 14:40 ` John Hendy [this message]
2013-09-14 15:15   ` Suvayu Ali
2013-09-15  2:16     ` James Harkins
2013-09-15  2:49       ` John Hendy
2013-09-15 10:57         ` Suvayu Ali
2013-09-15 11:07           ` Christoph LANGE
2013-09-15 11:41             ` Carsten Dominik
2013-09-15 12:42               ` Suvayu Ali
2013-09-17 19:59                 ` Christoph LANGE
2013-09-15 14:48           ` John Hendy

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='CA+M2ft-iuUi7=Yh8CaCnQyMFqbjfnNJZKNAKM1L26oDdF_OX7w@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=math.semantic.web@gmail.com \
    /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).