diff --git a/html_manual/cpdfmanual.html b/html_manual/cpdfmanual.html index a2dbe71..f11688e 100644 --- a/html_manual/cpdfmanual.html +++ b/html_manual/cpdfmanual.html @@ -64,6 +64,22 @@ class="pcrr7t-">typewriter font in a box. For example:

+

When describing the general form of a command, rather than a particular example, square brackets +[] are used to enclose optional parts, and angled braces <> to enclose general descriptions which +may be substituted for particular instances. For example, +

+

describes a command line which requires an operation and, optionally, a range. An exception is that +we use in.pdf and out.pdf instead of <input file> and <output file> to reduce verbosity. +Under Microsoft Windows, type cpdf.exe instead of cpdf. diff --git a/html_manual/cpdfmanual.pdf b/html_manual/cpdfmanual.pdf new file mode 100644 index 0000000..6737f68 Binary files /dev/null and b/html_manual/cpdfmanual.pdf differ diff --git a/html_manual/cpdfmanual.tex b/html_manual/cpdfmanual.tex index c960f79..e2712d9 100644 --- a/html_manual/cpdfmanual.tex +++ b/html_manual/cpdfmanual.tex @@ -1,6 +1,6 @@ %FIXME: Document that -upright also shifts the page to 0,0 \documentclass{book} -\usepackage{palatino} +\usepackage{textcomp} \usepackage{microtype} \usepackage{graphics} \usepackage[plainpages=false,pdfpagelabels,pdfborder=0 0 0]{hyperref} @@ -68,27 +68,27 @@ Excel are registered trademarks of Microsoft Corporation. Command lines to be typed are shown in \texttt{typewriter\hspace{-1mm} font} in a box. For example: -\noindent\fbox{% - \parbox{\textwidth}{% - \small\texttt{cpdf in.pdf -o out.pdf} - }% -} +\noindent\fbox{\parbox{\textwidth}{ +\small\texttt{cpdf in.pdf -o out.pdf} +}} + -\end{document} -\begin{framed} -\small\verb!cpdf in.pdf -o out.pdf! -\end{framed} \noindent When describing the general form of a command, rather than a particular example, square brackets \verb|[]| are used to enclose optional parts, and angled braces \verb!<>! to enclose general descriptions which may be substituted for particular instances. For example, -\begin{framed}\small\verb!cpdf in.pdf [] -o out.pdf! -\end{framed} + +\noindent\fbox{\parbox{\textwidth}{\small\texttt{cpdf in.pdf [] -o out.pdf} +}} + \noindent describes a command line which requires an operation and, optionally, a range. An exception is that we use \texttt{in.pdf} and \texttt{out.pdf} instead of \texttt{} and \texttt{} to reduce verbosity. Under Microsoft Windows, type \texttt{cpdf.exe} instead of \texttt{cpdf}. + + + \cleardoublepage \mainmatter %\chapterstyle{hangnum} @@ -98,22 +98,22 @@ verbosity. Under Microsoft Windows, type \texttt{cpdf.exe} instead of \texttt{cp \label{basicusage} - \begin{framed} - \small - \noindent\begin{verbatim} - -o -idir -recrypt - -stdout -stdin -stdin-user - -stdin-owner -producer -creator - -change-id -l -cpdflin - -keep-l -no-preserve-objstm -create-objstm - -control -args -utf8 - -stripped -raw -no-embed-font\end{verbatim}\end{framed} + +\noindent\fbox{\parbox{\textwidth}{ +\texttt{-o\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ -idir \textlangle directory\textrangle \ \ \ \ -recrypt\\ + -stdout \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ -stdin \ \ \ \ \ \ \ \ \ \ \ \ \ \ -stdin-user \textlangle password\textrangle\\ + -stdin-owner \textlangle password\textrangle \ -producer \textlangle text\textrangle \ \ \ \ \ -creator \textlangle text\textrangle\\ + -change-id \ \ \ \ \ \ \ \ \ \ \ \ \ -l \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ -cpdflin \textlangle filename\textrangle\\ + -keep-l \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ -no-preserve-objstm \ -create-objstm\\ + -control \textlangle filename\textrangle \ \ \ \ \ -args \textlangle filename\textrangle \ \ \ \ \ -utf8\\ + -stripped \ \ \ \ \ \ \ \ \ \ \ \ \ \ -raw \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ -no-embed-font}}} The Coherent PDF tools provide a wide range of facilities for modifying PDF files created by other means. There is a single command-line program \cpdf\ (\texttt{cpdf.exe} under Microsoft Windows). The rest of this manual describes the options that may be given to this program. +\end{document} \index{input files} \index{output files} \section{Input and Output Files}