From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Baranyi Subject: HTML export, TODO keyword face Date: Tue, 25 Oct 2011 14:11:23 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:49600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIfqo-0006jf-9k for emacs-orgmode@gnu.org; Tue, 25 Oct 2011 08:11:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIfqm-0006QT-BI for emacs-orgmode@gnu.org; Tue, 25 Oct 2011 08:11:26 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:47846) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIfqm-0006QI-8J for emacs-orgmode@gnu.org; Tue, 25 Oct 2011 08:11:24 -0400 Received: by iagf6 with SMTP id f6so671224iag.0 for ; Tue, 25 Oct 2011 05:11:23 -0700 (PDT) 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: emacs-orgmode@gnu.org Hi, I set up org todo keyword faces like so: (setq org-todo-keyword-faces '(("FAIL" . org-warning) ("MISSING" . org-warning) )) But at html export, the keywords are green because they are done states. So additionally I have to set : (setq org-export-html-style-extra "") I think the default style should be what is set in org-todo-keyword-faces. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: HTML export, TODO keyword face Date: Wed, 26 Oct 2011 19:25:17 +0200 Message-ID: <877h3roebm.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:54620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJ7Di-0003wQ-HH for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 13:24:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJ7Dh-0004SL-9R for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 13:24:54 -0400 Received: from mail-wy0-f169.google.com ([74.125.82.169]:49984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJ7Dh-0004SB-4C for emacs-orgmode@gnu.org; Wed, 26 Oct 2011 13:24:53 -0400 Received: by wyg34 with SMTP id 34so2317311wyg.0 for ; Wed, 26 Oct 2011 10:24:52 -0700 (PDT) In-Reply-To: (Peter Baranyi's message of "Tue, 25 Oct 2011 14:11:23 +0200") 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: Peter Baranyi Cc: emacs-orgmode@gnu.org Hi Peter, Peter Baranyi writes: > I set up org todo keyword faces like so: > > (setq org-todo-keyword-faces > '(("FAIL" . org-warning) > ("MISSING" . org-warning) > )) > > But at html export, the keywords are green because they are done > states. So additionally I have to set : > > (setq org-export-html-style-extra > "") > > I think the default style should be what is set in > org-todo-keyword-faces. This would be nice but would require much more flexibility than what `org-export-html-style-default' provides for now. But you found the workaround, and it's not that far. Thanks for sharing this, -- Bastien