From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: options and batch exporting Date: Thu, 16 Sep 2010 02:15:29 +0200 Message-ID: <87aanih7by.fsf@gmx.de> References: <79198B02-06BC-46C6-B396-914DB94F2CB7@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=42139 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow28Z-00034D-8v for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:15:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow28X-0007vz-Vm for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:15:39 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:54819 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1Ow28X-0007vi-HT for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:15:37 -0400 In-Reply-To: <79198B02-06BC-46C6-B396-914DB94F2CB7@gmail.com> (Samuel Potter's message of "Wed, 15 Sep 2010 17:04:12 -0700") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Potter Cc: Org-mode ml Samuel Potter writes: > Hi all, > Sorry if this has been answered before -- wasn't able to track down a > solution on my own. I have an org-mode file that has a set of > #+OPTIONS: and #+STYLE: headers that I'd like to export to HTML from a > shell script. Unfortunately, when I do so, it seems that the headers > are being ignored. Any advice? > > I'm running: > > emacs --batch --load=$ORGPATH --visit=CA_Cell.org --funcall org-mode --funcall org-export-as-html > > where $ORGPATH is the path to org.el. This does not work here either. You'll need to set $ORGPATH to the path to your org-install.el. org-install.el is automatically build for you through sh$ make autoloads Best wishes Sebastian