emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* frame options in minted environments
@ 2015-06-24 14:46 Julien Cubizolles
  0 siblings, 0 replies; only message in thread
From: Julien Cubizolles @ 2015-06-24 14:46 UTC (permalink / raw)
  To: emacs-orgmode

Consider the following org-file:
--8<---------------cut here---------------start------------->8---
#+LATEX_HEADER: \usepackage{minted}
* First frame                                        :B_fullframe:
:BEAMER_env: fullframe

 #+begin_src latex :exports code

--8<---------------cut here---------------end--------------->8---

The \end{frame} command in the minted environment causes the export to
beamer to fail. The solution is to pass the fragile=singleslide to the
frame options, eg with BEAMER_OPT: (see [1]). Is there an option in
org-mode to automatically add this option to all verbatim environments ?
In that case, it already sets the "fragile" option, maybe changing this
default to "fragile=singleslide" would be a reasonnable choice (I'm not
sure what it entails though).


[1]: http://tex.stackexchange.com/questions/154002/minted-does-not-escape-beamers-endframe

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-06-24 14:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-24 14:46 frame options in minted environments Julien Cubizolles

Code repositories for project(s) associated with this public inbox


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).