emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Antony Ware <aware@ucalgary.ca>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: beamer export
Date: Thu, 19 Aug 2010 23:06:42 +0200	[thread overview]
Message-ID: <FB51BD76-AC53-4EDE-99D8-F92C709B468F@gmail.com> (raw)
In-Reply-To: <9275E4D6-FB42-45DE-8593-CE7FD51A7A75@ucalgary.ca>


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?

- Carsten

  reply	other threads:[~2010-08-19 21:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-19 15:16 beamer export Antony Ware
2010-08-19 21:06 ` Carsten Dominik [this message]
2010-08-19 21:20   ` Carsten Dominik
2010-08-19 21:35   ` Antony Ware
2010-08-20  6:40     ` Carsten Dominik
2010-08-20 16:40     ` Nick Dokos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FB51BD76-AC53-4EDE-99D8-F92C709B468F@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=aware@ucalgary.ca \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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