Finished page label work.
This commit is contained in:
parent
fc8ef116ce
commit
3b9b91e5f3
BIN
blank20.pdf
BIN
blank20.pdf
Binary file not shown.
|
@ -2782,6 +2782,7 @@ let go () =
|
|||
input file, and we're just extracting pages, might we use a
|
||||
lazy read? *)
|
||||
(*Pdfwrite.debug_whole_pdf pdf;*)
|
||||
flprint "Just one file, we'll use Pdfpage.pdf_of_pages...\n";
|
||||
if hd ranges <> "all" || hd rotations <> Pdfmerge.DNR || !Pdfpage.flat_pagetrees then
|
||||
let pdf = if hd rotations <> Pdfmerge.DNR then prerotate_pdf pdf (hd rotations) else pdf in
|
||||
let range = parse_pagespec pdf (hd ranges) in
|
||||
|
|
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
|
@ -1568,7 +1568,10 @@ given page range.
|
|||
\small\noindent\verb!cpdf -add-page-labels in.pdf -o out.pdf!\\
|
||||
\noindent\verb! [-label-style <style>]!\\
|
||||
\noindent\verb! [-label-prefix <string>]!\\
|
||||
\noindent\verb! [-label-startval <integer>]!
|
||||
\noindent\verb! [-label-startval <integer>]!\\
|
||||
|
||||
\vspace{1.5mm}
|
||||
\small\noindent\verb!cpdf -remove-page-labels in.pdf -o out.pdf!
|
||||
\end{framed}
|
||||
\section{Listing Fonts}
|
||||
\index{fonts!listing}
|
||||
|
@ -1807,6 +1810,8 @@ i, ii, iii, iv, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, A-0, A-1, A-2, A-3, A-4, A-5
|
|||
|
||||
\noindent By default the labels begin at page number 1 for each range. To override this, we can use \texttt{-label-startval} (we used $0$ in the final command), where we want the numbers to begin at zero rather than one.
|
||||
|
||||
Page labels may be removed altogether by using \texttt{-remove-page-labels} command.
|
||||
|
||||
\chapter{File Attachments}
|
||||
\index{attachments}
|
||||
\begin{framed}
|
||||
|
|
Loading…
Reference in New Issue