From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali Subject: Re: Pass LaTeX exporter option prior to \documentclass Date: Wed, 2 Nov 2011 03:43:25 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLQns-0004L2-8W for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 22:43:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLQnr-0004MN-Cs for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 22:43:48 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:53759) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLQnr-0004MG-7Y for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 22:43:47 -0400 Received: by eye4 with SMTP id 4so7420798eye.0 for ; Tue, 01 Nov 2011 19:43:46 -0700 (PDT) In-Reply-To: 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: John Hendy Cc: emacs-orgmode Hi John, On Wed, Nov 2, 2011 at 03:22, John Hendy wrote: > > I'm creating a beamer presentation and screencasting a walkthrough of > it for work. I wanted to use impress!ve, but was getting errors about > there being no pages in the document. [1] In looking this error up, it > seems that impressive requires pdf version 1.4, which can be passed > with this: > > \pdfminorversion=4 > Disclaimer: What follows is an extremely hacky untested solution using some shell foo. By default org-latex-to-pdf-process is bound to something like this: pdflatex -interaction nonstopmode -output-directory %o %f You could try replacing that with the following: pdflatex -interaction nonstopmode -output-directory %o \pdfminorversion=4 $(cat %f) Hope this helps. -- Suvayu Open source is the future. It sets us free.