Added documenation for landscape and portrait page ranges

This commit is contained in:
John Whitington 2014-09-16 11:31:16 +01:00
parent 5b8d928c62
commit 4ce9606bc6
2 changed files with 7 additions and 0 deletions

Binary file not shown.

View File

@ -133,6 +133,7 @@ at least five pages.
\item A comma (\texttt{,}) allows one to specify several ranges, e.g. \texttt{1-2,4-5}.
\item The word \texttt{end} represents the last page number.
\item The words \texttt{odd} and \texttt{even} can be used in place of or at the end of a page range to restrict to just the odd or even pages.
\item The words \texttt{portrait} and \texttt{landscape} can be used in place of or at the end of a page range to restrict to just those pages which are portrait or landscape. Note that the meaning of ``portrait'' and ``landscape'' does not take account of any viewing rotation in place (use \texttt{-upright} first, if required). A page with equal width and height is considered neither portrait nor landscape.
\item The word \texttt{reverse} is the same as \texttt{end-1}.
\item The word \texttt{all} is the same as \texttt{1-end}.
\item A range must contain no spaces.
@ -152,6 +153,12 @@ at least five pages.
\vspace{2.5mm}
\noindent Extract the odd pages 1,3,...,13,15.
\vspace{2.5mm}
\verb!cpdf in.pdf landscape -rotate 90 -o out.pdf!
\vspace{2.5mm}
\noindent Rotate all landscape pages by ninety degrees.
\vspace{2.5mm}
\verb!cpdf in.pdf 1,all -o out.pdf!