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 11:30:38 +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]:49597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLY60-0007Uh-Vk for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 06:31:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLY60-0005Hp-7q for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 06:31:00 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:62393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLY60-0005Hg-21 for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 06:31:00 -0400 Received: by bkas6 with SMTP id s6so8784bka.0 for ; Wed, 02 Nov 2011 03:30:59 -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 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} Using tex commands is probably better than shell expansion. -- Suvayu Open source is the future. It sets us free.