emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] HTML export, TODO keyword face


From: Bastien
Subject: Re: [O] HTML export, TODO keyword face
Date: Wed, 26 Oct 2011 19:25:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

Hi Peter,

Peter Baranyi <address@hidden> 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
>  "<style type=\"text/css\">
>     <!--/*--><![CDATA[/*><!--*/
> .FAIL  { color: red; }
> .MISSING   { color: red; }
>     /*]]>*/-->
>  </style>")
>
> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]