From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [bug?][ox-beamer] hyperref crashes when options are specified Date: Wed, 28 May 2014 19:33:10 +0200 Message-ID: <87r43dyfjd.fsf@gmail.com> References: <8738fuov59.fsf@gmx.us> <87oayhoqku.fsf@gmail.com> <87iooponob.fsf@gmx.us> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WphiU-00085w-OO for emacs-orgmode@gnu.org; Wed, 28 May 2014 13:32:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WphiO-0003z5-Mr for emacs-orgmode@gnu.org; Wed, 28 May 2014 13:32:42 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:39381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WphiO-0003yr-H9 for emacs-orgmode@gnu.org; Wed, 28 May 2014 13:32:36 -0400 Received: by mail-wi0-f179.google.com with SMTP id bs8so4170962wib.6 for ; Wed, 28 May 2014 10:32:35 -0700 (PDT) In-Reply-To: <87iooponob.fsf@gmx.us> (rasmus@gmx.us's message of "Wed, 28 May 2014 18:47:32 +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: Rasmus Cc: emacs-orgmode@gnu.org Rasmus writes: > Customizing an Org package alist, Org inserts code that is invalid in > a Beamer context. Code generated is valid and conform to expectations, but, unfortunately, incompatible with "beamer" class. >> You could define an appropriate class for `beamer' back-end instead. > > Org-latex-classes gives me access to [NO-DEFAULT-PACKAGES]. Not > removing a single element from it as far as I understand. Or am i > mistaken? You probably shouldn't add this package to default header in the first place. `org-latex-packages-alist' is a better place. Anyway, yes, you need to remove all packages/default-packages first in your dedicated "beamer" class. > IMO, a wrapper around the header like org-latex-guess-babel-language > would be better, but I don't have strong opinions on this. Again, we shouldn't try to start fixing incompatibilities between packages and classes, or between packages in Org. Your configuration is broken, not Org. Regards, -- Nicolas Goaziou