From mboxrd@z Thu Jan 1 00:00:00 1970 From: suvayu ali <fatkasuvayu+linux@gmail.com> Subject: Re: Pass LaTeX exporter option prior to \documentclass Date: Thu, 3 Nov 2011 18:55:26 +0100 Message-ID: <CAMXnza3b_NZ7Wd4nNfVSDQRU6CaSVTnZXM=kh6hsz1tBOSGbFw@mail.gmail.com> References: <CA+M2ft9rM+1R7sJ2SaEWrP_mmyfsKzVi_VVRUcjm9BYpt6O1GQ@mail.gmail.com> <CAMXnza2YuUwcUYA1DjJsBx4iRnNV2LAb3tLj1KXLWi2SrYrFTg@mail.gmail.com> <CAMXnza0nS7ywzW=FTP9_25N5yEv9OZ3CHSvB-OgLqAHk02BMDQ@mail.gmail.com> <CA+M2ft8Uc9ZuPi9Nu=sWSLNnvWqOsC47zrSLTMxY9YsGhtQZuQ@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: <emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org> Received: from eggs.gnu.org ([140.186.70.92]:52681) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <fatkasuvayu@gmail.com>) id 1RM1W3-0007RT-5U for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 13:55:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <fatkasuvayu@gmail.com>) id 1RM1W2-0003Jg-4n for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 13:55:51 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:57466) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <fatkasuvayu@gmail.com>) id 1RM1W1-0003JN-TB for emacs-orgmode@gnu.org; Thu, 03 Nov 2011 13:55:50 -0400 Received: by bkas6 with SMTP id s6so1691009bka.0 for <emacs-orgmode@gnu.org>; Thu, 03 Nov 2011 10:55:47 -0700 (PDT) In-Reply-To: <CA+M2ft8Uc9ZuPi9Nu=sWSLNnvWqOsC47zrSLTMxY9YsGhtQZuQ@mail.gmail.com> List-Id: "General discussions about Org-mode." <emacs-orgmode.gnu.org> List-Unsubscribe: <https://lists.gnu.org/mailman/options/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=unsubscribe> List-Archive: <http://lists.gnu.org/archive/html/emacs-orgmode> List-Post: <mailto:emacs-orgmode@gnu.org> List-Help: <mailto:emacs-orgmode-request@gnu.org?subject=help> List-Subscribe: <https://lists.gnu.org/mailman/listinfo/emacs-orgmode>, <mailto:emacs-orgmode-request@gnu.org?subject=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 <jw.hendy@gmail.com> Cc: emacs-orgmode <emacs-orgmode@gnu.org> On Thu, Nov 3, 2011 at 18:48, John Hendy <jw.hendy@gmail.com> wrote: > On Wed, Nov 2, 2011 at 5:30 AM, suvayu ali <fatkasuvayu+linux@gmail.com> wrote: >> On Wed, Nov 2, 2011 at 03:43, suvayu ali <fatkasuvayu+linux@gmail.com> 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. GL -- Suvayu Open source is the future. It sets us free.