[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#769219: function moved

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
 %.validate: %
 	nsgmls -wall -gues $<

Reply to: