Files @ cd25fdd2c919
Branch filter:

Location: Copyleft/guide/no-numbers-on-table-of-contents.tex

bkuhn
Document work-around for 'next' branch rebases.

Upstream in the copyleft.org tutorial repository, the next branch is
sometimes rebased against the master branch. (For example, this occurs
when there have been quick fixes done on 'master' while new drafting
occurs on 'next'.)

This procedure, while convoluted, is the best way I've found to
compensate for this problem. Hosting sites like Gitorious really aren't
designed for rebased branches.
1
2
3
4
5
6
7
8
9
% BEGIN CODE TO FORCE NO PAGE NUMBER ON ToC
\usepackage{tocloft}
\addtocontents{toc}{\cftpagenumbersoff{part}} %% Similarly for subsection, figure... as you wish
\addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
\addtocontents{toc}{\cftpagenumbersoff{chapter}}
\addtocontents{toc}{\cftpagenumbersoff{section}} %% Similarly for subsection, figure... as you wish
\addtocontents{toc}{\cftpagenumbersoff{subsection}} %% Similarly for subsection, figure... as you wish
\renewcommand{\cftdot}{} %empty {} for no dots. you can have any symbol inside. For example put {\ensuremath{\ast}} and see what happens.
% END  CODE TO FORCE NO PAGE NUMBER ON ToC