emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Rogoff <david@therogoffs.com>
To: emacs-orgmode@gnu.org
Subject: TOC in HTML export - how to change formatting of ToDo levels?
Date: Mon, 20 May 2013 16:22:07 -0700	[thread overview]
Message-ID: <30770A50-8E4E-40DA-BD6A-1CFEB2F5C3CF@therogoffs.com> (raw)

Hi all.

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.

Thanks!

 David

FYI, running emacs 24.3.1 on RHEL 5.3 and org-mode 7.9.3f

             reply	other threads:[~2013-05-20 23:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-20 23:22 David Rogoff [this message]
2013-05-21  7:50 ` TOC in HTML export - how to change formatting of ToDo levels? Sebastien Vauban
  -- 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

  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=30770A50-8E4E-40DA-BD6A-1CFEB2F5C3CF@therogoffs.com \
    --to=david@therogoffs.com \
    --cc=emacs-orgmode@gnu.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 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).