Add toc
From ThorstensHome
Home < Software < Add tocContents |
Overview
add_toc is a Program that adds a table of content to an html file.
Download
→ download KDE 4 version here
To download the latest development source code, open a Linux terminal and issue:
svn co svn://linuxintro.org/addtoc
Installation
To install add_toc, in this example on SUSE Linux 11.1
- Make sure you have the needed software packages installed, tidy, cmake and KDE4:
yast -i tidy cmake kdelibs4-devel
- Download the tarball and unpack it:
wget http://www.staerk.de/files/add_toc/add_toc.tar.gz tar xvzf add_toc.tar.gz
- And build it:
cd addtoc/ cmake . && make && make install
Run it
Prerequisites
You must have your html files UTF-8 encoded. For info how to do this, read http://www.linuxintro.org/wiki/Unicode.
Call it
Call addtoc like this:
add_toc example.htm 2>/dev/null

