diff --git a/Changes b/Changes index 86e204e..f90dbf6 100644 --- a/Changes +++ b/Changes @@ -19,7 +19,7 @@ o Show more form information in -info o Allow JSON / PDF syntax in dict processing and object exploration o Show %Bookmark text when stamping text o Change units for -info[-json] and -page-info[-json] -o Optionally add dot leaders to tables of contents +o Optionally add dot leaders to tables of content Fixes: diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 645f7dd..031e39c 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index 8af0027..0d995ae 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -2076,7 +2076,7 @@ The option \texttt{-squeeze-no-pagedata} avoids the reprocessing of page data, w \small\noindent\verb!cpdf -bookmarks-open-to-level in.pdf -o out.pdf! \vspace{1.5mm} - \small\noindent\verb!cpdf -table-of-contents [-toc-title] [-toc-no-bookmark]!\\ + \small\noindent\verb!cpdf -table-of-contents [-toc-title] [-toc-no-bookmark] [-toc-dot-leaders]!\\ \small\noindent\verb! [-font ] [-font-size ] in.pdf -o out.pdf! \end{framed} @@ -2226,14 +2226,18 @@ Cpdf can automatically generate a table of contents from existing bookmarks, add \noindent\small\verb! in.pdf -o out.pdf! \end{framed} +\noindent Dot leaders may be added with \texttt{-toc-dot-leaders}: + + \begin{framed} + \noindent\small\verb!cpdf -table-of-contents -toc-dot-leaders in.pdf -o out.pdf! + \end{framed} + \noindent By default, an entry for the new table of contents will be added to the document's bookmarks. To suppress this behaviour, add \texttt{-toc-no-bookmark}: \begin{framed} \noindent\small\verb!cpdf -table-of-contents -toc-no-bookmark in.pdf -o out.pdf! \end{framed} - - \clearpage\pagestyle{empty} \begin{cpdflib}