From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Potter Subject: options and batch exporting Date: Wed, 15 Sep 2010 17:04:12 -0700 Message-ID: <79198B02-06BC-46C6-B396-914DB94F2CB7@gmail.com> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=55786 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow1xY-0000i8-Eb for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:04:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow1xX-0006nC-8f for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:04:16 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:55157) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow1xW-0006n6-VD for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:04:15 -0400 Received: by pxi5 with SMTP id 5so463495pxi.0 for ; Wed, 15 Sep 2010 17:04:14 -0700 (PDT) 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: Org-mode ml 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=3D$ORGPATH --visit=3DCA_Cell.org --funcall org-mode = --funcall org-export-as-html where $ORGPATH is the path to org.el. The headers are the following: #+TITLE: CA\_Cell #+OPTIONS: H:3 num:nil toc:nil author:nil timestamp:nil creator:nil = *:t #+STYLE: (text follows...) Thanks! Samuel Potter sfpotter at uw dot edu not sfp dot list at gmail dot com 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Potter Subject: Re: options and batch exporting Date: Wed, 15 Sep 2010 17:42:11 -0700 Message-ID: <2FADBCB9-2AF1-4C8A-B88D-A636B803CD27@gmail.com> References: <79198B02-06BC-46C6-B396-914DB94F2CB7@gmail.com> <87aanih7by.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v1078) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=57034 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ow2YK-0000Md-OW for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:42:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Ow2YJ-0002J4-Ic for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:42:16 -0400 Received: from mail-pv0-f169.google.com ([74.125.83.169]:41239) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ow2YJ-0002Is-7W for emacs-orgmode@gnu.org; Wed, 15 Sep 2010 20:42:15 -0400 Received: by pvc30 with SMTP id 30so481535pvc.0 for ; Wed, 15 Sep 2010 17:42:13 -0700 (PDT) In-Reply-To: <87aanih7by.fsf@gmx.de> 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: Org-mode ml I tried the same script but pointing $ORGPATH to org-install.el, but = still no luck... The export is still ignoring my #+OPTIONS and #+STYLE = headers. Samuel Potter sfpotter at uw dot edu not sfp dot list at gmail dot com On Sep 15, 2010, at 5:15 PM, Sebastian Rose wrote: > 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?=20 >>=20 >> I'm running: >>=20 >> emacs --batch --load=3D$ORGPATH --visit=3DCA_Cell.org --funcall = org-mode --funcall org-export-as-html >>=20 >> where $ORGPATH is the path to org.el. >=20 >=20 > This does not work here either. You'll need to set $ORGPATH to the = path > to your org-install.el. >=20 > org-install.el is automatically build for you through >=20 > sh$ make autoloads >=20 >=20 >=20 > Best wishes >=20 >=20 > Sebastian