emacs-orgmode
[Top][All Lists]
Advanced

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

[O] [PATCH] Make [fragile] work with overlay specifications.


From: Christoph Dittmann
Subject: [O] [PATCH] Make [fragile] work with overlay specifications.
Date: Tue, 07 Feb 2012 18:34:04 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0

Hi,

I noticed something unexpected in org-beamer.el when I used overlay specifications together with optional parameters for the frame environment and the frame contained verbatim sections. In this case the exporter would add [fragile] to the frame options in a way that would break the LaTeX code.

I wrote a small patch that fixes this particular problem for me.

The following test case generates invalid LaTeX code with org-mode revision c4b23345. With the attached patch it generates valid LaTeX code.

#+LaTeX_CLASS: beamer
* overlay + optional parameter
  :PROPERTIES:
  :BEAMER_envargs: [label=abc]<1>
  :END:
  #+BEGIN_LaTeX
  \begin{verbatim}
    I am [fragile]
  \end{verbatim}
  #+END_LaTeX

Christoph

Attachment: 0001-Make-fragile-work-with-overlay-specifications.patch
Description: Text Data


reply via email to

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