From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Beamer confusion: environments are ignored Date: Thu, 23 Feb 2012 09:36:36 +0100 Message-ID: <8062eyt08b.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi James, James Harkins wrote: > Still having Beamer problems. C-c C-e p is making the PDF at the end, > but it's ignoring structural tags except for lists. > > I've pasted a simple example under my name. In the resulting .tex > file, the code for both frames is identical, except for "sec" labels. > The second frame contains Beamer environment properties while the > first frame does not, so it looks like the block environments are not > doing anything. > > For that matter, I just checked the tex file generated by Carsten's > demo presentation in the org manual, and there's no evidence of the > blocks at all. The only TeX environments that appear with \begin are > {document}, {frame} and {itemize} -- but Carsten's demo uses: > > :PROPERTIES: > :BEAMER_env: block > :BEAMER_envargs: C[t] > :BEAMER_col: 0.5 > :END: > > ... > > :PROPERTIES: > :BEAMER_col: 0.5 > :BEAMER_env: block > :BEAMER_envargs: <2-> > :END: > > ... > > :PROPERTIES: > :BEAMER_env: block > :END: > > ... and a :B_note: tag, which claims it "will be formatted as a beamer > note" but it isn't. > > For my own short file, I would have assumed that I did something > wrong, but that's less plausible for example code from the manual. So > I suppose it must be an installation or configuration problem. > > Ideas? > > Tonight's experimentation is driven by the simple use case I mentioned > before -- centering a paragraph (and eventually putting some extra > space around it, but I can handle that later). E.g., > > - A bullet heading within the frame > A free paragraph > > Centered text > > - Another bullet > > Am I on the right track by looking at blocks? Could somebody give me a > quick example of how to do this, and I'll try to extrapolate to other > uses? For horizontal centering, a workaround (or simply a solution) can be something like: #+LaTeX: \begin{center} #+ATTR_LaTeX: width=0.75\linewidth [[~/Pictures/Dock.jpg]] #+LaTeX: \end{center} Best regards, Seb -- Sebastien Vauban