From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suvayu Ali Subject: Re: org-e-beamer: Few queries Date: Wed, 14 Nov 2012 01:59:57 +0100 Message-ID: <20121114005957.GB27174@kuru.dyndns-at-home.com> References: <87y5i5yr9r.fsf@yagnesh.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([208.118.235.92]:52164) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYRKq-0006tl-DS for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 20:00:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYRKm-0004JG-2O for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 20:00:07 -0500 Received: from mail-wg0-f49.google.com ([74.125.82.49]:45237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYRKl-0004EP-15 for emacs-orgmode@gnu.org; Tue, 13 Nov 2012 20:00:03 -0500 Received: by mail-wg0-f49.google.com with SMTP id gg4so3820401wgb.30 for ; Tue, 13 Nov 2012 17:00:01 -0800 (PST) Content-Disposition: inline In-Reply-To: <87y5i5yr9r.fsf@yagnesh.org> 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@gnu.org On Wed, Nov 14, 2012 at 09:14:40AM +0900, Yagnesh Raghava Yakkala wrote: > > Hello, > > I am trying to use new beamer exporter. I have few questions. > > o) When trying to export emacs batch mode, it is asking for "Output file:" > (export script and setup file for batch process are attached) > > #!/bin/sh > # batch export > > emacs -q --batch -l setup.el \ > -f org-e-beamer-export-to-latex org-beamer-template.org > I believe you have the order wrong. Emacs first has to open the file before you can export it. Try this: $ emacs -q --batch -l setup.el org-beamer-template.org \ -f org-e-beamer-export-to-latex -- Suvayu Open source is the future. It sets us free.