diff --git a/cpdfcommand.ml b/cpdfcommand.ml index 3d4c76c..c235da8 100644 --- a/cpdfcommand.ml +++ b/cpdfcommand.ml @@ -3,7 +3,7 @@ let demo = false let noncomp = false let major_version = 2 let minor_version = 1 -let version_date = "(RC1, 17th November 2014)" +let version_date = "(17th November 2014)" open Pdfutil open Pdfio diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 038111c..c586e74 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index e6282f6..dd97713 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -598,7 +598,8 @@ one of the output files. \small\noindent\verb!cpdf -scale-page " " in.pdf [] -o out.pdf! \vspace{1.5mm} - \small\noindent\verb!cpdf -scale-to-fit " " in.pdf [] -o out.pdf! + \small\noindent\verb!cpdf -scale-to-fit " " [-scale-to-fit-scale ]!\\ + \noindent\verb! in.pdf [] -o out.pdf! %\vspace{1.5mm} %\small\noindent\verb!cpdf -scale-to-fit-best " " in.pdf [] -o out.pdf! @@ -712,7 +713,16 @@ Y factors given. This scales both the page contents, and the page size itself. I \noindent Scale a file's contents on all pages to 50\% of its original dimensions. \end{framed} - \noindent To scale about a point other than the center, see the positioning commands described in Section \ref{position}. + \noindent To scale about a point other than the center, one can use the positioning commands described in Section \ref{position}. For example: + + \begin{framed} + \small\noindent\verb!cpdf -scale-contents 0.5 -topright 20 in.pdf -o out.pdf! + + \vspace{2.5mm} + \noindent Scale a file's contents on all pages to 50\% of its original dimensions about a point 20pts from its top right corner. + \end{framed} + + \section{Shift Page Contents} \index{shift page contents} @@ -767,7 +777,7 @@ of the page by the given relative value. \vspace{2.5mm} \noindent Rotate all the page contents in the input file by -ninety degrees clockwise. Doesn't change the page dimensions. +ninety degrees clockwise. Does not change the page dimensions. \end{framed} \label{upright}