emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Table of Contents in html export
@ 2010-08-26  0:04 Andrei Jirnyi
  2010-08-26 15:01 ` Sebastian Rose
  0 siblings, 1 reply; 2+ messages in thread
From: Andrei Jirnyi @ 2010-08-26  0:04 UTC (permalink / raw)
  To: emacs-orgmode

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!!
--aj

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Table of Contents in html export
  2010-08-26  0:04 Table of Contents in html export Andrei Jirnyi
@ 2010-08-26 15:01 ` Sebastian Rose
  0 siblings, 0 replies; 2+ messages in thread
From: Sebastian Rose @ 2010-08-26 15:01 UTC (permalink / raw)
  To: Andrei Jirnyi; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-26 15:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-26  0:04 Table of Contents in html export Andrei Jirnyi
2010-08-26 15:01 ` Sebastian Rose

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).