From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrice Popineau Subject: Re: Different set of packages for LaTeX export Date: Fri, 2 Oct 2015 06:50:03 +0200 Message-ID: References: <20151001204426.6393bd1d@arcor.com> <87fv1uv1h5.fsf@gmx.us> <20151002053046.7859f6e9@arcor.com> Reply-To: fabrice.popineau@centralesupelec.fr Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1134f294c34816052117e6f7 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhsIs-0001Cd-6v for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 00:50:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhsIm-0006bx-VD for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 00:50:42 -0400 Received: from smtp2.supelec.fr ([160.228.120.31]:50316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhsIm-00065s-M7 for emacs-orgmode@gnu.org; Fri, 02 Oct 2015 00:50:36 -0400 Received: from localhost (localhost [127.0.0.1]) by smtp2.supelec.fr (Postfix) with ESMTP id CB96680195 for ; Fri, 2 Oct 2015 06:50:24 +0200 (CEST) Received: from smtp2.supelec.fr ([127.0.0.1]) by localhost (smtp2.supelec.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ycNT8GKZSgIi for ; Fri, 2 Oct 2015 06:50:24 +0200 (CEST) Received: from mail-oi0-f46.google.com (mail-oi0-f46.google.com [209.85.218.46]) by smtp2.supelec.fr (Postfix) with ESMTPSA id 54D5E80187 for ; Fri, 2 Oct 2015 06:50:24 +0200 (CEST) Received: by oiww128 with SMTP id w128so52446583oiw.2 for ; Thu, 01 Oct 2015 21:50:23 -0700 (PDT) In-Reply-To: <20151002053046.7859f6e9@arcor.com> 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: Manfred Lotz Cc: "emacs-orgmode@gnu.org" --001a1134f294c34816052117e6f7 Content-Type: text/plain; charset=UTF-8 2015-10-02 5:30 GMT+02:00 Manfred Lotz : > On Thu, 01 Oct 2015 21:21:42 +0200 > Rasmus wrote: > > > Hi Manfred, > > > > Manfred Lotz writes: > > > > > When creating slides, i.e using beamer I get an option clash > > > during compiling the tex file because beamer did already load > > > hyperref. > > > > > > How can I solve it? > > > > > > Could I have a different package list if the class is beamer? > > > > No you can only discriminate based on the compiler version (and > > actually only in ox-latex, not ox-beamer). > > > > Hm, I think it would be great if a package list could be mapped to a > certain LaTeX class. > > To solve this, I set up my own LaTeX class. I find it at least as good as to rely on Org configuration. Actually, I removed the list of packages that Org is exporting. My LaTeX class can produce slides, course notes, exams and so on. Based on options, I can chose which kind of document and a few things like the style (font, etc.). Fabrice --001a1134f294c34816052117e6f7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


2015-10-02 5:30 GMT+02:00 Manfred Lotz <manfred.lotz@arcor.de&= gt;:
On Thu, 01 O= ct 2015 21:21:42 +0200
Rasmus <rasmus@gmx.us> wrote:
> Hi Manfred,
>
> Manfred Lotz <manfred.lotz= @arcor.de> writes:
>
> > When creating slides, i.e using beamer I get an option clash
> > during compiling the tex file because beamer did already load
> > hyperref.
> >
> > How can I solve it?
> >
> > Could I have a different package list if the class is beamer?
>
> No you can only discriminate based on the compiler version (and
> actually only in ox-latex, not ox-beamer).
>

Hm, I think it would be great if a package list could be mapped to a=
certain LaTeX class.


To solve this,= I set up my own LaTeX class. I find it at least as good as to rely
on Org configuration. Actually, I removed the list of packages that Org = is exporting.
My LaTeX class can produce slides, course notes, ex= ams and so on. Based on
options, I can chose which kind of docume= nt and a few things like the style (font, etc.).

F= abrice

--001a1134f294c34816052117e6f7--