From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vikas Rawal Subject: Batch export to html Date: Wed, 7 Dec 2011 16:46:21 +0530 Message-ID: <20111207111621.GA9897@panahar> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([140.186.70.92]:35401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYFUb-00066D-N2 for emacs-orgmode@gnu.org; Wed, 07 Dec 2011 06:16:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RYFUX-0002JO-PG for emacs-orgmode@gnu.org; Wed, 07 Dec 2011 06:16:53 -0500 Received: from mail-iy0-f169.google.com ([209.85.210.169]:43661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RYFUX-0002JG-MH for emacs-orgmode@gnu.org; Wed, 07 Dec 2011 06:16:49 -0500 Received: by iahk25 with SMTP id k25so915776iah.0 for ; Wed, 07 Dec 2011 03:16:48 -0800 (PST) Content-Disposition: inline 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 I would like to export an org file to html using a batch command. This is the command I tried. emacs --batch --load=$HOME/lisp/org-7.01/lisp/org.el --eval "(setq org-export-headline-levels 1)" --visit=$HOME/file.org --funcall org-export-as-html-batch But I get an error which says: Symbol's function definition is void: org-in-block-p Could anyone explain what this could mean? Thanks, Vikas