emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Andrei Jirnyi <a-jirnyi@northwestern.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Table of Contents in html export
Date: Thu, 26 Aug 2010 17:01:09 +0200	[thread overview]
Message-ID: <8739u1ifka.fsf@gmx.de> (raw)
In-Reply-To: <i54b2m$9l$1@dough.gmane.org> (Andrei Jirnyi's message of "Thu, 26 Aug 2010 00:04:38 +0000 (UTC)")

Andrei Jirnyi <a-jirnyi@northwestern.edu> writes:
> Hi all,
>
> Are there any options to modify the table of contents in the exported html
> files (other than whether to show it and to what level)? Or, if there are
> no such options, perhaps I could modify some elisp functions?
>
> Specifically, what I wanted to do was to:
>
> - change its name to just "Contents"
> - put a separator between the TOC and the first section?
>
> If I add smth like
> #+html: <hr>
> at the beginning, it gets inserted between the title and the TOC :(
>
> Thanks!!


M-x customize-variable RET org-export-language-setup RET


...and use CSS to add border and spacing at the bottom:

div#table-of-contents
{
  padding-bottom:30px;
  border-bottom:1px solid #000000;
}


HTH

  Sebastian

      reply	other threads:[~2010-08-26 15:01 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-26  0:04 Table of Contents in html export Andrei Jirnyi
2010-08-26 15:01 ` Sebastian Rose [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=8739u1ifka.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=a-jirnyi@northwestern.edu \
    --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).