[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [new exporter] workaround/replacement for org-export-as-html-bat
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [new exporter] workaround/replacement for org-export-as-html-batch |
Date: |
Tue, 12 Feb 2013 20:34:55 +0100 |
Hello,
Detlef Steuer <address@hidden> 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