Document -toc-dot-leaders

This commit is contained in:
John Whitington
2024-12-03 18:41:01 +00:00
parent 5f1446b59b
commit 95811e3e38
3 changed files with 8 additions and 4 deletions

View File

@ -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:

Binary file not shown.

View File

@ -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 <n> 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>] [-font-size <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}