From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: beamer export Date: Thu, 19 Aug 2010 23:20:46 +0200 Message-ID: References: <9275E4D6-FB42-45DE-8593-CE7FD51A7A75@ucalgary.ca> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=33584 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmCXp-0002WR-HV for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 17:21:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmCXe-0004Ws-Cj for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 17:20:55 -0400 Received: from postduif.ic.uva.nl ([145.18.40.180]:47466) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmCXe-0004Wd-4s for emacs-orgmode@gnu.org; Thu, 19 Aug 2010 17:20:54 -0400 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Antony Ware , "emacs-orgmode@gnu.org" On Aug 19, 2010, at 11:06 PM, Carsten Dominik wrote: > > On Aug 19, 2010, at 5:16 PM, Antony Ware wrote: > >> I've been having a problem exporting to beamer. I've now found the >> problem and fixed it, but it was (to my mind) something pretty >> obscure, and I think it might be of interest to the list, at least >> as a salutary tale. >> >> When I opened an org file such as the example beamer presentation >> from the manual (section 12.6.6) and executed C-c C-e d, it kept >> generating a .tex file with an article document class, instead of >> the expected beamer class. >> >> After a few days of frustrated searching through the manual and >> tutorials, and this list, for any clues, I found some advice to run >> something like >> >> /usr/bin/emacs -Q -l test.el >> >> with a series of versions of test.el progressively approximating >> my .emacs file. I was expecting the problem to lie in one of my >> org- or latex-specific settings, but eventually found the cause of >> the problem to be that the variable >> >> case-fold-search >> >> was being set to nil (its default value) as one of my custom-set- >> variables. I don't remember why. Anyway, according to the >> information from C-h v, this makes the setting buffer-local, and >> for some reason that fouled up the beamer export. When I commented >> out that line, everything worked as advertised. >> >> I'd be interested to hear from anyone who could shed light on why >> that might be. > > Well, > > apparently Org does do a search that relies on case-fold-search > being t. Normally when this is the case > I try to set this explicitly to t during the function call. > Can you make a minimal example with your setup and a small file > which reproduced the error? In fact, I just did put a case-fold-search binding in places where I think it was missing. Could pu pull the latest version and then try again *with your original setup*? Thanks! - Carsten