From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Table of Contents in html export Date: Thu, 26 Aug 2010 17:01:09 +0200 Message-ID: <8739u1ifka.fsf@gmx.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=39937 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OodxF-0002K6-E5 for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 11:01:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OodxC-0003k1-RJ for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 11:01:25 -0400 Received: from mailout-de.gmx.net ([213.165.64.22]:40352 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OodxC-0003jQ-DA for emacs-orgmode@gnu.org; Thu, 26 Aug 2010 11:01:22 -0400 In-Reply-To: (Andrei Jirnyi's message of "Thu, 26 Aug 2010 00:04:38 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Andrei Jirnyi Cc: emacs-orgmode@gnu.org Andrei Jirnyi 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:
> 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