diff --git a/Changes b/Changes index 4e2bae0..b230da6 100644 --- a/Changes +++ b/Changes @@ -1,2 +1,18 @@ -Version 1.8 (October 2014) +Version 1.8 (November 2014) + +o New external linearizer cpdflin replaces original one +o Encryption now much, much faster. +o Faster parsing of delayed object streams on large files +o -decompress now leaves object streams decompressed +o New -squeeze option to reduce the size of PDF files +o Select pages by landscape-ness or portrait-ness in a page range +o New -set-open-action option +o New -recrypt option to re-encrypt output +o Reads XML metadata and outputs it on -info +o New -center position for text +o -stamp can now use positions, just like stamping text +o Better handling of permissions for files with user passwords +o Can encrypt output of -split-bookmarks now +o -args replaces -control with better behaviour +o Can scale a stamp to fit before stamping with -scale-stamp-to-fit diff --git a/Makefile b/Makefile index 44b800e..953c011 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ OCAMLLDFLAGS = -g all : native-code native-code-library byte-code-library top htdoc clean :: - rm -rf doc + rm -rf doc foo foo2 out.pdf out2pdf LIBINSTALL_FILES = cpdf.a cpdf.cma cpdf.cmxa \ $(foreach x,$(MODS),$x.mli) $(foreach x,$(MODS),$x.cmi) diff --git a/cpdfmanual.pdf b/cpdfmanual.pdf index 1588aea..0a8c229 100644 Binary files a/cpdfmanual.pdf and b/cpdfmanual.pdf differ diff --git a/cpdfmanual.tex b/cpdfmanual.tex index cbd5080..7a43141 100644 --- a/cpdfmanual.tex +++ b/cpdfmanual.tex @@ -179,9 +179,17 @@ example: \begin{framed} \small\verb!cpdf in.pdf user=fred reverse -o out.pdf! \end{framed} + +\noindent To re-encrypt the file with its existing encryption upon writing, which is required if only the user password was supplied, but allowed in any case, add the \texttt{-recrypt} option: + +\begin{framed} +\small\verb!cpdf in.pdf user=fred reverse -recrypt -o out.pdf! +\end{framed} + \noindent The password required (owner or user) depends upon the operation being performed. Separate facilities are provided to decrypt and encrypt files -(See \Sref{crypt}). +(See \Sref{crypt}). + \section{Standard Input and Standard Output} \index{standard input} \index{standard output} Thus far, we have assumed that the input PDF will be read from a file on