From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Pass LaTeX exporter option prior to \documentclass Date: Thu, 3 Nov 2011 13:07:36 -0500 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]:60269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM1hT-00028M-2k for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 14:07:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RM1hR-0005hj-QI for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 14:07:39 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:56464) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RM1hR-0005hX-Ht for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 14:07:37 -0400 Received: by eye4 with SMTP id 4so1627309eye.0 for ; Thu, 03 Nov 2011 11:07:36 -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: suvayu ali Cc: emacs-orgmode On Thu, Nov 3, 2011 at 12:55 PM, suvayu ali wrote: > On Thu, Nov 3, 2011 at 18:48, John Hendy wrote: >> On Wed, Nov 2, 2011 at 5:30 AM, suvayu ali wrote: >>> On Wed, Nov 2, 2011 at 03:43, suvayu ali wrote: >>>> You could try replacing that with the following: >>>> >>>> pdflatex -interaction nonstopmode -output-directory %o >>>> \pdfminorversion=4 $(cat %f) >>> >>> I did some testing. The following should work. >>> >>> pdflatex -interaction nonstopmode -output-directory %o >>> \\pdfminorversion=4 \\input{%f} >> >> Thanks for the workaround! So, to be clear, I'd type in what you wrote >> when I'm prompted for the command to use after =C-c C-e p=? > > No. I don't think org prompts for the command when exporting. You > should use customize to set the variable org-latex-to-pdf-process to > the above command. > Ah, sorry. You're right. I was thinking of =C-c C-c= from the .tex file buffer. Thanks again! It was a fringe scenario for sure! John > GL > > -- > Suvayu > > Open source is the future. It sets us free. >