emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] TOC in HTML export - how to change formatting of ToDo levels?


From: Sebastien Vauban
Subject: Re: [O] TOC in HTML export - how to change formatting of ToDo levels?
Date: Tue, 21 May 2013 09:50:58 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3 (windows-nt)

Hi David,

David Rogoff wrote:
> I've just started diving back into org-mode. I'm mostly using it for ToDo /
> Status tracking. I've been trying to change the format of the TOC entries with
> little success. I've figured out how to use org-export-html-style to change
> the CSS markup for my customized ToDo levels, but that just affects the
> formatting in the body of the document. The table of contents appears to
> ignore that. I've been digging through org-html.el and the TOC formatting
> (around line 1474) looks to be mostly card-coded with almost no variables to
> control anything. Any ToDo status of done is not marked up at all and anything
> else is just marked as class "todo" instead of the actual class of the item.
>
> Am I missing something? The only solution I've found is to write a script to
> fix the HTML after exporting. Any better solution? It's a very big ToDo list
> and I (and others who will look at the document) want to see the actual status
> (preferably with the CSS font/text markups) in the TOC to know which items to
> look into for further details.

You should be able to customize the todo class only within the TOC context
with such a rule:

--8<---------------cut here---------------start------------->8---
    #table-of-contents .todo {
        ...
    }
--8<---------------cut here---------------end--------------->8---

Best regards,
  Seb

-- 
Sebastien Vauban




reply via email to

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