Changeset - f54257ba6595
[Not reviewed]
0 1 1
Bradley Kuhn (bkuhn) - 10 years ago 2014-02-20 18:37:23
bkuhn@ebb.org
Move stuff to make the ToC with now ...'s and numbers to another file,
and comment it out by default.
2 files changed with 10 insertions and 9 deletions:
0 comments (0 inline, 0 general)
comprehensive-gpl-guide.tex
Show inline comments
...
 
@@ -10,15 +10,7 @@
 
              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
 
%\input{no-numbers-on-table-of-contents}
 

	
 
\begin{document}
 
\pagestyle{plain}
no-numbers-on-table-of-contents.tex
Show inline comments
 
new file 100644
 
% 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
0 comments (0 inline, 0 general)