From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Pass LaTeX exporter option prior to \documentclass Date: Fri, 4 Nov 2011 20:29:12 +0100 Message-ID: References: <25343.1320427793@alphaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41884) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMPSK-000438-VW for emacs-orgmode@gnu.org; Fri, 04 Nov 2011 15:29:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RMPSJ-0006Pz-JU for emacs-orgmode@gnu.org; Fri, 04 Nov 2011 15:29:36 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:54367) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RMPSJ-0006Pu-Ar for emacs-orgmode@gnu.org; Fri, 04 Nov 2011 15:29:35 -0400 Received: by bkas6 with SMTP id s6so2937177bka.0 for ; Fri, 04 Nov 2011 12:29:33 -0700 (PDT) In-Reply-To: <25343.1320427793@alphaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode Hi John, On Fri, Nov 4, 2011 at 18:29, Nick Dokos wrote: > Alternatively, you can define a new entry in org-export-latex-classes > that does what you want - I just cribbed the existing beamer entry and > modified it a bit (I had called it "beamerpdf14" at first, but apparently > numerics are not allowed): > > ,---- > | (require 'org-latex) > | (setq beamerpdf =C2=A0'("beamerpdf" "\\pdfminorversion=3D4\\documentcla= ss{beamer}" org-beamer-sectioning)) > | (add-to-list 'org-export-latex-classes beamerpdf t) > `---- > > and then set > > #+LATEX_CLASS: beamerpdf > > in your org file. For the record, I would say Nick's solution is a more flexible setup. --=20 Suvayu Open source is the future. It sets us free.