Changeset - 52962a2af723
[Not reviewed]
0 1 0
Bradley Kuhn (bkuhn) - 10 years ago 2014-02-20 15:55:51
bkuhn@ebb.org
Temporarily added this code to generate a ToC without page numbers.
I doubt this will be kept permanently.

I learned this from:
http://tex.stackexchange.com/questions/55465/remove-dots-page-numbers-from-toc
1 file changed with 10 insertions and 0 deletions:
0 comments (0 inline, 0 general)
comprehensive-gpl-guide.tex
Show inline comments
...
 
@@ -9,6 +9,16 @@
 
              left=1in, right=1in, top=1.25in, bottom=.75in,
 
           ]{geometry}
 

	
 
% 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
 

	
 
\begin{document}
 
\pagestyle{plain}
 
\pagenumbering{roman}
0 comments (0 inline, 0 general)