diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index c63e1af..9389ee7 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index e1951e7..e5e9304 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -750,7 +750,7 @@ The encryption parameters described in Chapter \ref{encryption} may be added to \noindent\verb! in.pdf [] -o out.pdf! \vspace{1.5mm} - \small\noindent\verb!cpdf -hard-box [-fast] in.pdf [] -o out.pdf! + \small\noindent\verb!cpdf -hard-box [-fast] in.pdf [] [-mediabox-if-missing] -o out.pdf! \vspace{1.5mm} \small\noindent\verb!cpdf -show-boxes [-fast] in.pdf [] -o out.pdf! @@ -973,7 +973,7 @@ A hard box (one which clips its contents by inserting a clipping rectangle) may \small\verb!cpdf -hard-box /TrimBox in.pdf -o out.pdf! \end{framed} -\noindent This means the resultant file may be used as a stamp without contents outside the given box reappearing. +\noindent This means the resultant file may be used as a stamp without contents outside the given box reappearing. The \texttt{-mediabox-if-missing} option may also be used here. \section{Showing Boxes and Printer's Marks} \index{printer's marks}\index{trim marks} @@ -990,7 +990,7 @@ Bleed box & Pink \end{tabular} \medskip -The \texttt{-trim-marks} operation adds trim marks to a PDF file. The bleed and trim boxes must both be present. +The \texttt{-trim-marks} operation adds trim marks to a PDF file. The trim box must be present. \chapter{Encryption and Decryption} \pagestyle{fancy} @@ -1159,10 +1159,10 @@ for instance to copy bookmarks. \index{bookmarks!listing} The \texttt{-list-bookmarks} operation prints (to standard output) the bookmarks in a file. The first column gives the level of the tree at which a -particular bookmark is. Then the text of the bookmark in quotes, then the page -number which the bookmark points to, then the destination (see below) then (optionally) the word "open" if the +particular bookmark is. Then the text of the bookmark in quotes. Then the page +number which the bookmark points to. Then (optionally) the word "open" if the bookmark should have its children (at the level immediately below) visible when -the file is loaded. For example, upon executing +the file is loaded. Then the destination (see below). For example, upon executing \begin{framed} \small\verb!cpdf -list-bookmarks doc.pdf! \end{framed} @@ -1170,7 +1170,7 @@ the file is loaded. For example, upon executing \noindent the result might be: \begin{framed}{\small\begin{verbatim} 0 "Part 1" 1 open -1 "Part 1A" 2 [2 /XYZ 200 400 null] +1 "Part 1A" 2 "[2 /XYZ 200 400 null]" 1 "Part 1B" 3 0 "Part 2" 4 1 "Part 2a" 5\end{verbatim}}\end{framed} @@ -2418,7 +2418,7 @@ giving the part of the version number after the decimal point. For example: \noindent Change file to PDF 1.4. \end{framed} \noindent This does not alter any of the actual data in the file --- -just the supposed version number. +just the supposed version number. For PDF versions starting with 2 add ten to the number. For example, for PDF version 2.0, use \texttt{-set-version 10}. \section{Copy ID} \index{file ID!copy}