emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] Re: planner publish color


From: Sacha Chua
Subject: [emacs-wiki-discuss] Re: planner publish color
Date: Fri, 23 Apr 2004 15:11:00 +0800
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Hans Halvorson <address@hidden> writes:

> I don't get color coding when I publish the task list from
> planner-mode to html.  (But color-coding is fine when editing in
> emacs.)  Is this as simple as setting some variable?

Oh, this is controlled by the style sheet. It's not in planner.el as I
wasn't quite sure how to add new style definitions nicely (I think
I'll make another alist for this... <muses>), but here's the relevant
snippet from my style.css:

.taskA { color: red }
.taskB { color: green }
.taskC { color: navy }
.taskX { text-decoration: line-through; color: gray }

If you look at the HTML source, you'll see that all the tasks are
marked up in CSS spans.
-- 
Sacha Chua <address@hidden> - Ateneo CS faculty geekette
interests: emacs, gnu/linux, making computer science education fun
http://sacha.free.net.ph/ - PGP Key ID: 0xE7FDF77C




reply via email to

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