From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] workaround/replacement for org-export-as-html-batch Date: Tue, 12 Feb 2013 20:34:55 +0100 Message-ID: <874nhhba1s.fsf@gmail.com> References: <20130212123640.517a92e1@vknecht-intel.unibw-hamburg.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:53577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5LdL-00086N-Th for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 14:35:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U5LdI-0005rW-MQ for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 14:35:15 -0500 Received: from mail-wi0-f173.google.com ([209.85.212.173]:37278) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U5LdI-0005r0-GB for emacs-orgmode@gnu.org; Tue, 12 Feb 2013 14:35:12 -0500 Received: by mail-wi0-f173.google.com with SMTP id hq4so4858486wib.6 for ; Tue, 12 Feb 2013 11:35:11 -0800 (PST) In-Reply-To: <20130212123640.517a92e1@vknecht-intel.unibw-hamburg.de> (Detlef Steuer's message of "Tue, 12 Feb 2013 12:36:40 +0100") 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: Detlef Steuer Cc: emacs-orgmode@gnu.org Hello, Detlef Steuer writes: > I rely on > > emacs --batch \ > --eval "(add-to-list 'load-path \"${HOME}/GIT/org-mode/lisp/\")"\ > --load ${HOME}/GIT/org-mode/lisp/org.el \ > --visit file.org \ > --funcall org-export-as-html-batch > > somewhere in my HTML generating workflow. You may want to set-up a publishing project instead. Does `org-html-export-to-html' works as a replacement for `org-export-as-html-batch'? > I see org-export-as-html-batch in the FIXME section in the source. The FIXME section ought to be fixed anyway. > Is there any easy workaround for the moment? Or a guess when it will leave that section? > > Naively loading the old stuff by adding a > ---eval "(add-to-list 'load-path \"${HOME}/GIT/org-mode/contrib/oldexp/\")"\ > line to the call above did not work either. > I then get: > --- > Exporting... > Symbol's value as variable is void: org-export-with-sub-superscripts > --- The old export framework is not usable anymore from master branch. Regards, -- Nicolas Goaziou