From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: export org file to html from command-line Date: Thu, 07 Apr 2011 10:42:58 +0530 Message-ID: <81oc4iiqzp.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=55143 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7hWv-0004NY-H1 for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 01:13:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7hWu-0005L4-IX for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 01:13:17 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:33652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7hWu-0005Kk-Cz for emacs-orgmode@gnu.org; Thu, 07 Apr 2011 01:13:16 -0400 Received: by iwg8 with SMTP id 8so2833181iwg.0 for ; Wed, 06 Apr 2011 22:13:15 -0700 (PDT) In-Reply-To: (Sean Davis's message of "Wed, 6 Apr 2011 21:36:29 -0400") 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: Sean Davis Cc: emacs-orgmode@gnu.org Sean Davis writes: > I would like to have a way to export a file to html from the > command-line ,----[ C-h f org-export-as-html-batch RET ] | org-export-as-html-batch is a compiled Lisp function in `org-html.el'. | | (org-export-as-html-batch) | | Call the function `org-export-as-html'. | This function can be used in batch processing as: | emacs --batch | --load=$HOME/lib/emacs/org.el | --eval "(setq org-export-headline-levels 2)" | --visit=MyFile --funcall org-export-as-html-batch | | [back] `---- --