From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Pass LaTeX exporter option prior to \documentclass Date: Tue, 1 Nov 2011 21:22:40 -0500 Message-ID: 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]:53386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLQTU-0002Hf-Vj for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 22:22:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLQTT-0000VG-Po for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 22:22:44 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:44311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLQTT-0000VB-Ia for emacs-orgmode@gnu.org; Tue, 01 Nov 2011 22:22:43 -0400 Received: by eye4 with SMTP id 4so7414160eye.0 for ; Tue, 01 Nov 2011 19:22:42 -0700 (PDT) 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: emacs-orgmode Hi, 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=3D4 Unfortunately, exporting via Orgmode causes this error with that command: ,--- | ! pdfTeX error (setup): \pdfminorversion cannot be changed after data is | written to the PDF file. `--- In searching that error, I found the 1.4 documentation, which states:[2] ,--- | it probably means that some package loaded before pdf14 did write data to the PDF =EF=AC=81le. | In case the document class is (indirectly) doing it, you=E2=80=99ll need = to load pdf14 even before the | \documentclass command, using \RequirePackage{pdf14} as the =EF=AC=81rst line of your source =EF=AC=81le. `--- Using this suggestion solves my problem. There doesn't seem to be a way to get this as the first line via Orgmode; I have to export and then go to the .tex file directly to change it. Any suggestions? I realize this is a pretty fringe case. If it's one where it's just not worth it to implement something if nothing already exists, that's completely acceptable to me. I just thought I'd bring it up! It's primarily a nuisance because impressive hasn't been updated in about a year. I wouldn't normally use it, but the ability to zoom, use a "spotlight" for the mouse, and so on are just really neat for something like this. [1] http://impressive.sourceforge.net/ [2] ftp://152.19.134.44/CTAN/macros/latex/contrib/pdf14/pdf14.pdf Thanks, John