Bug#769219: function moved
On Wed, Nov 12, 2014 at 09:46:28PM +0100, David Bremner wrote:
> Bill Allombert <ballombe@debian.org> writes:
> >> That function is now in ox-html.el
> >
> > Are you sure ?
> > grep org-export-as-html-batch /usr/share/emacs/site-lisp/org-mode/ox-html.el
> > does not return anything.
>
> Sorry, I was misled by emacs function name completion. The following is
> a partial solution. There is still some cruft at the top of the
> generated html. Hopefully I'll get a chance to look at that in the next
> few days, if nobody else figures it out first. The messages about
> missing htmlize.el are strange since it is included in the org-mode
> package, but apparently not in the version of org included with emacs.
>
> diff --git a/Makefile b/Makefile
> index a10b93d..794678c 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -11,7 +11,7 @@ perl-policy.sgml: version.ent
> perl -pli -e 's,./Process.org,Process.txt,g' $@
> %.html: %.org
> $(EMACS) --batch -Q -l ./README-css.el -l org --visit $^ \
> - --funcall org-export-as-html-batch >/dev/null 2>&1
> + --funcall org-html-export-to-html
What to do for ascii :
emacs24 --batch -Q -l ./README-css.el -l org -l org-ascii
--visit Process.org --funcall org-export-as-ascii
Cannot open load file: No such file or directory, org-ascii
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
Reply to: