emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: Peter Baranyi <peter.baranyi@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: HTML export, TODO keyword face
Date: Wed, 26 Oct 2011 19:25:17 +0200	[thread overview]
Message-ID: <877h3roebm.fsf@gnu.org> (raw)
In-Reply-To: <CAFALDwFRQMoZ=0SgMs3unuVfHupypaFLxYWV0q10ABOU_ZSsTQ@mail.gmail.com> (Peter Baranyi's message of "Tue, 25 Oct 2011 14:11:23 +0200")

Hi Peter,

Peter Baranyi <peter.baranyi@gmail.com> 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	other threads:[~2011-10-26 17:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-25 12:11 HTML export, TODO keyword face Peter Baranyi
2011-10-26 17:25 ` Bastien [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877h3roebm.fsf@gnu.org \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=peter.baranyi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).