From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 12:21:27 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=bcaec53f2ae79eaae304a408d2b5 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOvIj-00036z-Bq for emacs-orgmode@gnu.org; Tue, 24 May 2011 13:21:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOvIi-0002XT-3h for emacs-orgmode@gnu.org; Tue, 24 May 2011 13:21:49 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:39971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOvIi-0002XM-0F for emacs-orgmode@gnu.org; Tue, 24 May 2011 13:21:48 -0400 Received: by vxk20 with SMTP id 20so6608019vxk.0 for ; Tue, 24 May 2011 10:21:47 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --bcaec53f2ae79eaae304a408d2b5 Content-Type: text/plain; charset=ISO-8859-1 I'm having the same trouble which seems to be reported in this thread (I'm not running Aquamacs though, just GNU Emacs under Linux, with orgmode v7.4): http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28752.html I've followed tutorials, and orgmode isn't generating beamer \block structures (I checked the LaTeX code generated: it is generating \itemize rather than \block). Did anyone ever figure out the reason for this? --------------------------------------------------------------------------------- [Orgmode] Baffled by beamer blocks Philip J. Hollenback Tue, 17 Aug 2010 08:31:43 -0700 I've got a basic org-mode 7.01g + beamer setup working and am able to create and export presentations. However I am completely unable to create presentations with blocks in them. I've followed the examples on the website such as http://orgmode.org/worg/org-tutorials/org-beamer.php with no success. When I try to write a presentation with blocks, I find that instead of blocks I end up with nested lists in the frames. The LaTeX output shows no \block structures. I see no error messages in any of my emacs buffers. I should note that I'm running Aquamacs 1.9 on the mac. Can anyone suggest what in my setup might be preventing blocks from working? I'm really baffled at this point. Thanks, P. -- Philip J. Hollenback phil...@pobox.com www.hollenback.net --bcaec53f2ae79eaae304a408d2b5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I'm having the same trouble which seems to be reported in this thread (= I'm not running Aquamacs though, just GNU Emacs under Linux, with orgmo= de v7.4): http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28752.html<= /a>


I've followed tutorials, and orgmode isn't generating beame= r \block structures (I checked the LaTeX code generated: it is generating \= itemize rather than \block).

Did anyone ever figure out the reason f= or this?

-----------------------------------------------------------------------= ----------

[Orgmode] Baffled by beamer blocks

Philip J. Holle= nback
Tue, 17 Aug 2010 08:31:43 -0700

I've got a basic org-mo= de 7.01g + beamer setup working and am able to
create and export presentations.=A0 However I am completely unable to
cr= eate presentations with blocks in them.=A0 I've followed the examples o= n
the website such as
http://orgmode.org/worg/org-tutorials/org-beamer.php
with no success.

When I try to write a presentation with blocks, I f= ind that instead of
blocks I end up with nested lists in the frames.=A0 = The LaTeX output shows
no \block structures.=A0 I see no error messages = in any of my emacs
buffers. I should note that I'm running Aquamacs 1.9 on the mac.
Can anyone suggest what in my setup might be preventing blocks from
wor= king?=A0 I'm really baffled at this point.

Thanks,
P.
--= =A0
Philip J. Hollenback
phil...@pobox.= com
www.hollenback.net
--bcaec53f2ae79eaae304a408d2b5-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 21:43:53 +0200 Message-ID: <80fwo351fq.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Benjamin, Benjamin Slade wrote: > I'm having the same trouble which seems to be reported in this thread (I'm > not running Aquamacs though, just GNU Emacs under Linux, with orgmode v7.= 4): > http://www.mail-archive.com/emacs-orgmode-mXXj517/zsQ@public.gmane.org/msg28752.html > > > I've followed tutorials, and orgmode isn't generating beamer \block > structures (I checked the LaTeX code generated: it is generating \itemize > rather than \block). > > Did anyone ever figure out the reason for this? > > -------------------------------------------------------------------------= -------- > > [Orgmode] Baffled by beamer blocks > > Philip J. Hollenback > Tue, 17 Aug 2010 08:31:43 -0700 > > I've got a basic org-mode 7.01g + beamer setup working and am able to > create and export presentations. However I am completely unable to > create presentations with blocks in them. I've followed the examples on > the website such as http://orgmode.org/worg/org-tutorials/org-beamer.php > with no success. > > When I try to write a presentation with blocks, I find that instead of > blocks I end up with nested lists in the frames. The LaTeX output shows > no \block structures. I see no error messages in any of my emacs > buffers. I should note that I'm running Aquamacs 1.9 on the mac. > > Can anyone suggest what in my setup might be preventing blocks from > working? I'm really baffled at this point. > > Thanks, > P. > -- > Philip J. Hollenback > phil...-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org > www.hollenback.net If you search for accurate help, please post an "ECM" (Example Complete and Minimal), so that one can very quickly try your file, report if it works or not, and try to spot the problem. Best regards, Seb --=20 S=C3=A9bastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 22:11:07 +0100 Message-ID: <87wrhfkdn8.fsf@ucl.ac.uk> References: <80fwo351fq.fsf@somewhere.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOysq-0004R4-Pv for emacs-orgmode@gnu.org; Tue, 24 May 2011 17:11:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QOysp-0006WV-Ki for emacs-orgmode@gnu.org; Tue, 24 May 2011 17:11:20 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:48955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOysp-0006V5-G7 for emacs-orgmode@gnu.org; Tue, 24 May 2011 17:11:19 -0400 Received: from [85.210.143.40] (helo=localhost) by vscane-b.ucl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1QOyse-0000mj-Tk for emacs-orgmode@gnu.org; Tue, 24 May 2011 22:11:09 +0100 In-Reply-To: <80fwo351fq.fsf@somewhere.org> (Sebastien Vauban's message of "Tue, 24 May 2011 21:43:53 +0200") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org > Benjamin Slade wrote: >> I'm having the same trouble which seems to be reported in this thread (I'm >> not running Aquamacs though, just GNU Emacs under Linux, with orgmode v7.4): >> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg28752.html Benjamin, But that is quite old. That thread ended inconclusively because the OP never got back to us with further details. And as Sebastien says: [...] "Sebastien Vauban" writes: > If you search for accurate help, please post an "ECM" (Example Complete and > Minimal), so that one can very quickly try your file, report if it works or > not, and try to spot the problem. > > Best regards, > Seb Please give us a small *complete* org file (say, one slide with one or two blocks) that doesn't work and we can see what is happening. It might also be worthwhile updating your version to org to the most recent stable release (7.5), if you can. In any case, I would suggest you look at the configuration options in your org file, specifically #+BEAMER_FRAME_LEVEL and the H: #+OPTIONS setting. I use org+beamer practically daily and it works just fine! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.299.gb638.dirty) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 19:05:25 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QP1bf-0005cy-6e for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:05:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QP1be-0001LP-1y for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:05:47 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:46571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QP1bd-0001LL-RY for emacs-orgmode@gnu.org; Tue, 24 May 2011 20:05:46 -0400 Received: by vxk20 with SMTP id 20so6962635vxk.0 for ; Tue, 24 May 2011 17:05:45 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Thanks, Sebastien and Eric. I updated to org-mode v7.5 [stable], but I'm still having the same problem. I include below a minimal example and also the snippet of code in my .emacs config file which is relevant. Cheers, Ben. %%Minimal example begins%% #+startup: beamer #+LaTeX_CLASS: beamer #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t #+OPTIONS: TeX:t LaTeX:t skip:nil d:nil todo:t pri:nil tags:not-in-toc #+BEAMER_FRAME_LEVEL: 2 #+MACRO: BEAMERMODE presentation #+MACRO: BEAMERTHEME Madrid #+MACRO: BEAMERCOLORTHEME lily #+MACRO: BEAMERSUBJECT RMRF #+MACRO: BEAMERINSTITUTE Miskatonic University, Astrology Dept. #+TITLE: Presentation with Org-Mode and Beamer #+AUTHOR: Someone * My presentation ** Overview 1. Blocks 2. That's it ** Blocks Nothing to see here. *** A block :B_example: :PROPERTIES: :BEAMER_env: example :END: - Hello, world - I can't see any block here! %%Minimal example ends%% I have the following in my .emacs, in case there's something here that is causing a problem (taken from http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html ) %%snippet from .emacs begins%% ;; #+LaTeX_CLASS: beamer in org files (unless (boundp 'org-export-latex-classes) (setq org-export-latex-classes nil)) (add-to-list 'org-export-latex-classes ;; beamer class, for presentations '("beamer" "\\documentclass[11pt]{beamer}\n \\mode<{{{beamermode}}}>\n \\usetheme{{{{beamertheme}}}}\n \\usecolortheme{{{{beamercolortheme}}}}\n \\beamertemplateballitem\n \\setbeameroption{show notes} \\usepackage[utf8]{inputenc}\n \\usepackage[T1]{fontenc}\n \\usepackage{hyperref}\n \\usepackage{color} \\usepackage{listings} \\lstset{numbers=none,language=[ISO]C++,tabsize=4, frame=single, basicstyle=\\small, showspaces=false,showstringspaces=false, showtabs=false, keywordstyle=\\color{blue}\\bfseries, commentstyle=\\color{red}, }\n \\usepackage{verbatim}\n \\institute{{{{beamerinstitute}}}}\n \\subject{{{{beamersubject}}}}\n" ("\\section{%s}" . "\\section*{%s}") ("\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}" "\\begin{frame}[fragile]\\frametitle{%s}" "\\end{frame}"))) ;; letter class, for formal letters (add-to-list 'org-export-latex-classes '("letter" "\\documentclass[11pt]{letter}\n \\usepackage[utf8]{inputenc}\n \\usepackage[T1]{fontenc}\n \\usepackage{color}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))) %%snippet from .emacs ends%% ________________________________ From: Eric S Fraga Subject: Re: [O] orgmode/beamer - won't export blocks Date: Tue, 24 May 2011 22:11:07 +0100 User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) ________________________________ > Benjamin Slade wrote: >> I'm having the same trouble which seems to be reported in this thread (I'm >> not running Aquamacs though, just GNU Emacs under Linux, with orgmode v7.4): >> http://www.mail-archive.com/address@hidden/msg28752.html Benjamin, But that is quite old. That thread ended inconclusively because the OP never got back to us with further details. And as Sebastien says: [...] "Sebastien Vauban" writes: > If you search for accurate help, please post an "ECM" (Example Complete and > Minimal), so that one can very quickly try your file, report if it works or > not, and try to spot the problem. > > Best regards, > Seb Please give us a small *complete* org file (say, one slide with one or two blocks) that doesn't work and we can see what is happening. It might also be worthwhile updating your version to org to the most recent stable release (7.5), if you can. In any case, I would suggest you look at the configuration options in your org file, specifically #+BEAMER_FRAME_LEVEL and the H: #+OPTIONS setting. I use org+beamer practically daily and it works just fine! -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.299.gb638.dirty) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: orgmode/beamer - won't export blocks Date: Fri, 27 May 2011 08:01:44 +0100 Message-ID: <87y61s1vaf.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35486) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPr3N-0001do-CK for emacs-orgmode@gnu.org; Fri, 27 May 2011 03:01:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QPr3M-00078N-A6 for emacs-orgmode@gnu.org; Fri, 27 May 2011 03:01:49 -0400 Received: from vscane-b.ucl.ac.uk ([144.82.108.141]:35299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QPr3M-00078E-5Y for emacs-orgmode@gnu.org; Fri, 27 May 2011 03:01:48 -0400 In-Reply-To: (Benjamin Slade's message of "Tue, 24 May 2011 19:05:25 -0500") 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Benjamin Slade Cc: emacs-orgmode@gnu.org Benjamin Slade writes: > Thanks, Sebastien and Eric. > > I updated to org-mode v7.5 [stable], but I'm still having the same problem. > > I include below a minimal example and also the snippet of code in my > .emacs config file which is relevant. Thanks for the example. More importantly, thanks for the snippet of configuration code. The problem, I believe, lies there as your simple file works just fine for me (assuming you have oddeven levels being used; it doesn't work if you have odd only). I would suggest that you no longer need (or want) to customise the org-export-latex-classes variable for beamer. Try removing that customisation, restart emacs and see what happens? HTH. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.312.gf194) From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: orgmode/beamer - won't export blocks Date: Fri, 27 May 2011 12:20:19 -0500 Message-ID: References: <87y61s1vaf.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:44812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ0iH-00075j-8X for emacs-orgmode@gnu.org; Fri, 27 May 2011 13:20:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQ0iG-00031s-9L for emacs-orgmode@gnu.org; Fri, 27 May 2011 13:20:41 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:45348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQ0iG-00031n-6B for emacs-orgmode@gnu.org; Fri, 27 May 2011 13:20:40 -0400 Received: by vxk20 with SMTP id 20so2007063vxk.0 for ; Fri, 27 May 2011 10:20:39 -0700 (PDT) In-Reply-To: <87y61s1vaf.fsf@ucl.ac.uk> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: e.fraga@ucl.ac.uk, emacs-orgmode@gnu.org Thank you for the help. Yes, removing the configuration code from .emacs results in the correct behaviour (i.e. blocks are now exported properly). Quick question -- is there still a way of setting up beamer/orgmode configuration in .emacs? thanks, --Ben On 27 May 2011 02:01, Eric S Fraga wrote: > Benjamin Slade writes: > >> Thanks, Sebastien and Eric. >> >> I updated to org-mode v7.5 [stable], but I'm still having the same probl= em. >> >> I include below a minimal example and also the snippet of code in my >> .emacs config file which is relevant. > > Thanks for the example. =A0More importantly, thanks for the snippet of > configuration code. =A0The problem, I believe, lies there as your simple > file works just fine for me (assuming you have oddeven levels being > used; it doesn't work if you have odd only). > > I would suggest that you no longer need (or want) to customise the > org-export-latex-classes variable for beamer. > > Try removing that customisation, restart emacs and see what happens? > > HTH. > -- > : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 > : using Org-mode version 7.5 (release_7.5.312.gf194) > From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: orgmode/beamer - won't export blocks Date: Fri, 27 May 2011 23:35:11 +0200 Message-ID: <80aae7hlo0.fsf@somewhere.org> References: <87y61s1vaf.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Benjamin, Benjamin Slade wrote: > Thank you for the help. > > Yes, removing the configuration code from .emacs results in the > correct behaviour (i.e. blocks are now exported properly). Where did you find that way to do? I guess in old threads... Is it still on Worg, this should be removed. > Quick question -- is there still a way of setting up beamer/orgmode > configuration in .emacs? Why are you asking that? It's even better: you don't need any special configuration anymore (like before) for beamer to work out of the box. The only lines I still have in my .emacs about beamer are: #+begin_src emacs-lisp ;; XXX 2010-03-25 TEMP Fix for conflict TikZ/hyperref: loading ;; `atbegshi' before document class beamer (add-to-list 'org-export-latex-classes '("beamer" "\\RequirePackage{atbegshi} \\documentclass{beamer}\n" org-beamer-sectioning)) #+end_src Maybe even not needed anymore... Best regards, Seb --=20 S=C3=A9bastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: orgmode/beamer - won't export blocks Date: Sun, 29 May 2011 12:06:08 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:58166) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQjRe-0003pF-5X for emacs-orgmode@gnu.org; Sun, 29 May 2011 13:06:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQjRd-0003tp-7O for emacs-orgmode@gnu.org; Sun, 29 May 2011 13:06:30 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:34040) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQjRd-0003te-34 for emacs-orgmode@gnu.org; Sun, 29 May 2011 13:06:29 -0400 Received: by vxk20 with SMTP id 20so3016487vxk.0 for ; Sun, 29 May 2011 10:06:28 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Seb, So you don't include LaTeX packages that you always want to be loaded in the .emacs config? I have a bunch of packages that I would need for my beamer presentations and it would be nice just to have them automatically included every time. By the bye, I found the old config code from here: http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-an= d.html cheers, --Ben ---------------------------------------------------------------------------= -- From: Sebastien Vauban Subject: Re: [O] orgmode/beamer - won't export blocks Date: Fri, 27 May 2011 23:35:11 +0200 User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) Hi Benjamin, Benjamin Slade wrote: > Thank you for the help. > > Yes, removing the configuration code from .emacs results in the > correct behaviour (i.e. blocks are now exported properly). Where did you find that way to do? I guess in old threads... Is it still o= n Worg, this should be removed. > Quick question -- is there still a way of setting up beamer/orgmode > configuration in .emacs? Why are you asking that? It's even better: you don't need any special configuration anymore (like before) for beamer to work out of the box. The only lines I still have in my .emacs about beamer are: #+begin_src emacs-lisp ;; XXX 2010-03-25 TEMP Fix for conflict TikZ/hyperref: loading ;; `atbegshi' before document class beamer (add-to-list 'org-export-latex-classes '("beamer" "\\RequirePackage{atbegshi} \\documentclass{beamer}\n" org-beamer-sectioning)) #+end_src Maybe even not needed anymore... Best regards, Seb --=20 S=C3=A9bastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: orgmode/beamer - won't export blocks Date: Mon, 30 May 2011 16:42:03 +0200 Message-ID: <80boykxnb8.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 Benjamin, Benjamin Slade wrote: > So you don't include LaTeX packages that you always want to be loaded in = the > .emacs config? No, I tend to avoid doing such. This really is the worst place to think of.= .. because your .emacs file is personal. Then, you cannot (easily) share any of your custom with anybody... > I have a bunch of packages that I would need for my beamer presentations = and > it would be nice just to have them automatically included every time. If you want to do so, either put your list of packages - in an Org file that you #+INCLUDE as needed, or - in your own theme (that's what I generally end up doing). Both are better places, IMHO, for customs. Best regards, Seb --=20 S=C3=A9bastien Vauban From mboxrd@z Thu Jan 1 00:00:00 1970 From: Benjamin Slade Subject: Re: orgmode/beamer - won't export blocks Date: Mon, 30 May 2011 11:18:42 -0500 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:45877) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QR5BH-0003fn-V8 for emacs-orgmode@gnu.org; Mon, 30 May 2011 12:19:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QR5BH-0002gu-7Q for emacs-orgmode@gnu.org; Mon, 30 May 2011 12:19:04 -0400 Received: from mail-vx0-f169.google.com ([209.85.220.169]:52315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QR5BH-0002gq-1d for emacs-orgmode@gnu.org; Mon, 30 May 2011 12:19:03 -0400 Received: by vxk20 with SMTP id 20so3641266vxk.0 for ; Mon, 30 May 2011 09:19:02 -0700 (PDT) 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi Seb, Many thanks for your reply. One last question: do you have an example (or a link to an explanation about) making one's "own theme"? (I understand the #+INCLUDE option). cheers, --Ben > Message: 20 > Date: Mon, 30 May 2011 16:42:03 +0200 > From: "Sebastien Vauban" > To: emacs-orgmode@gnu.org > Subject: Re: [O] orgmode/beamer - won't export blocks > Message-ID: <80boykxnb8.fsf@somewhere.org> > Content-Type: text/plain; charset=3Dutf-8 > > Hi Benjamin, > > Benjamin Slade wrote: >> So you don't include LaTeX packages that you always want to be loaded in= the >> .emacs config? > > No, I tend to avoid doing such. This really is the worst place to think o= f... > because your .emacs file is personal. Then, you cannot (easily) share any= of > your custom with anybody... > >> I have a bunch of packages that I would need for my beamer presentations= and >> it would be nice just to have them automatically included every time. > > If you want to do so, either put your list of packages > > - in an Org file that you #+INCLUDE as needed, or > - in your own theme (that's what I generally end up doing). > > Both are better places, IMHO, for customs. > > Best regards, > =A0Seb From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: orgmode/beamer - won't export blocks Date: Mon, 30 May 2011 19:44:04 +0200 Message-ID: <80vcwsm6cb.fsf@somewhere.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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 Benjamin, Benjamin Slade wrote: >>> I have a bunch of packages that I would need for my beamer presentations and >>> it would be nice just to have them automatically included every time. >> >> If you want to do so, either put your list of packages >> >> - in an Org file that you #+INCLUDE as needed, or >> - in your own theme (that's what I generally end up doing). >> >> Both are better places, IMHO, for customs. > > Many thanks for your reply. One last question: do you have an example > (or a link to an explanation about) making one's "own theme"? (I > understand the #+INCLUDE option). I haven't yet found a real tutorial about making his own Beamer theme. I just copied one of beamers themes and modified it to meet my needs. After you have a new theme, run texhash so that LaTeX finds the new theme -- if needed. An extract from my file `beamerthemesva.sty': #+begin_src latex % Copyright 2010, 2011 by Seb Vauban \ProvidesPackage{beamerthemesva}[2011/05/26 v1.0 sva beamer theme] \usefonttheme{sva}% Put yours, or a default one \usecolortheme{sva}% Put yours, or a default one \useinnertheme{sva}% Put yours, or a default one \useoutertheme{sva}% Put yours, or a default one % Color hyperref links and urls \definecolor{sva-color-link}{HTML}{1968BA} % blue \definecolor{sva-color-url}{HTML}{003399} % darker blue \hypersetup{% colorlinks=true,% avoid the red boxed around cross-references linkcolor=sva-color-link,% color of internal links urlcolor=sva-color-url, % color of external links }% #+end_src Check how the currently existing theme are created. Not that hard. Not that easy, though... Best regards, Seb -- Sebastien Vauban