From: "Sebastien Vauban" <sva-news-D0wtAvR13HarG/iDocfnWg@public.gmane.org>
To: emacs-orgmode-mXXj517/zsQ@public.gmane.org
Subject: Re: TOC in HTML export - how to change formatting of ToDo levels?
Date: Tue, 21 May 2013 09:50:58 +0200 [thread overview]
Message-ID: <86bo84kbz1.fsf@somewhere.org> (raw)
In-Reply-To: 30770A50-8E4E-40DA-BD6A-1CFEB2F5C3CF@therogoffs.com
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
next prev parent reply other threads:[~2013-05-21 7:50 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-20 23:22 TOC in HTML export - how to change formatting of ToDo levels? David Rogoff
2013-05-21 7:50 ` Sebastien Vauban [this message]
-- strict thread matches above, loose matches on Subject: below --
2013-05-21 18:15 David Rogoff
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86bo84kbz1.fsf@somewhere.org \
--to=sva-news-d0wtavr13harg/idocfnwg@public.gmane.org \
--cc=emacs-orgmode-mXXj517/zsQ@public.gmane.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.