From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Davison Subject: Re: Agenda export to html error Date: Sun, 12 Jul 2009 12:21:31 -0400 Message-ID: <87my79rhx0.fsf@stats.ox.ac.uk> References: <86vdlyaqdv.fsf@neuf.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MQ1oE-00030R-MG for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 12:21:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MQ1o8-0002xN-NZ for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 12:21:49 -0400 Received: from [199.232.76.173] (port=53408 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MQ1o8-0002xI-Iu for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 12:21:44 -0400 Received: from markov.stats.ox.ac.uk ([163.1.210.1]:37921) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MQ1o8-0005QZ-3t for emacs-orgmode@gnu.org; Sun, 12 Jul 2009 12:21:44 -0400 In-Reply-To: <86vdlyaqdv.fsf@neuf.fr> (Nicolas Goaziou's message of "Sun, 12 Jul 2009 17:10:36 +0200") 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: emacs-orgmode@gnu.org Nicolas Goaziou writes: > Hello, > > When I try to export my agenda view to html (C-x C-w test.html), I get > an "Invalid face" error in the minibuffer and no output file. The > Message buffer tells me "face-attribute: Invalid face". > > Exporting to postscript works well though. > > I have tried with and without setting org-todo-keyword-faces with no > success. > > Would anyone have a clue about this problem ? I think this is caused by a problem with an Emacs component called htmlize, when used on Emacs 23 (are you using Emacs 23?). Carsten has put the appropriate new version of htmlize.el into the org-mode/contrib/lisp directory, to address this problem. So my suggestion is to try (add-to-list 'load-path "location/of/org-mode/contrib/lisp") (require 'htmlize) and see if that fixes it (The aim is to make sure that the version of htmlize in org-mode/contrib/lisp gets used as opposed to the version that comes with Emacs). Dan > > Thanks, > > -- > Nicolas Goaziou > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode