From: "Fraga, Eric" <e.fraga@ucl.ac.uk>
To: "Gürtler, Martin" <martin.guertler@htwk-leipzig.de>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: beamer export: misplaced \end{frame} with \lecture structure
Date: Tue, 15 Oct 2019 12:33:55 +0000 [thread overview]
Message-ID: <87eeze89xp.fsf@ucl.ac.uk> (raw)
In-Reply-To: <d148f355-b85d-4bac-af98-a27f0cf40236@ITSZ-EXCH-MBX22.htwk-leipzig.de> ("Gürtler, Martin"'s message of "Mon, 14 Oct 2019 06:24:20 +0000")
On Monday, 14 Oct 2019 at 06:24, Gürtler, Martin wrote:
> 1. What can I do in the org mode file in order to enforce ending the
> frame before the \lecture statement.
Not ideal but you could do something like this:
@@beamer:\end{frame}\lecture{This week's lecture}{week2}\begin{frame}Today's lecture: \insertlecture@@
maybe using it by defining a macro (untested)
#+macro: lecture @@beamer:\end{frame}\lecture{$1}{$2}\begin{frame}Today's lecture: \insertlecture@@
and then use as
{{{lecture(This week's lecture,week2)}}}
> 2. Would anybody be willing to implement \lecture and maybe \part in the
> exporter?
Can you play with changing the org-latex-class beamer entry? Probably not, I guess, as both part and lecture need two arguments...
--
Eric S Fraga via Emacs 27.0.50, Org release_9.2.6-552-g8c5a78
prev parent reply other threads:[~2019-10-15 12:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-14 6:24 beamer export: misplaced \end{frame} with \lecture structure Gürtler, Martin
2019-10-15 12:33 ` Fraga, Eric [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eeze89xp.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--cc=emacs-orgmode@gnu.org \
--cc=martin.guertler@htwk-leipzig.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.