Documentation fixes

This commit is contained in:
John Whitington 2019-10-21 11:54:34 +01:00
parent 153aed080a
commit d9291dfd85
3 changed files with 4 additions and 4 deletions

View File

@ -1793,7 +1793,7 @@ and specs =
" Justify multiline text right"); " Justify multiline text right");
("-justify-center", ("-justify-center",
Arg.Unit setjustifycenter, Arg.Unit setjustifycenter,
" Justify multiline text centre"); " Justify multiline text center");
("-underneath", ("-underneath",
Arg.Unit setunderneath, Arg.Unit setunderneath,
" Text stamp is underneath content"); " Text stamp is underneath content");
@ -1856,7 +1856,7 @@ and specs =
" Output file information"); " Output file information");
("-page-info", ("-page-info",
Arg.Unit (setop PageInfo), Arg.Unit (setop PageInfo),
" Output file information"); " Output page information");
("-set-author", ("-set-author",
Arg.String setauthor, Arg.String setauthor,
" Set Author"); " Set Author");
@ -1895,7 +1895,7 @@ and specs =
" Just set XMP metadata, not old-fashioned metadata"); " Just set XMP metadata, not old-fashioned metadata");
("-create-metadata", ("-create-metadata",
Arg.Unit (setop CreateMetadata), Arg.Unit (setop CreateMetadata),
" Create XML metadata from scratch."); " Create XMP metadata from scratch.");
("-set-page-layout", ("-set-page-layout",
Arg.String setpagelayout, Arg.String setpagelayout,
" Set page layout upon document opening"); " Set page layout upon document opening");

Binary file not shown.

View File

@ -2169,7 +2169,7 @@ $cpdf -list-attached-files 14psfonts.pdf
The \texttt{-dump-attachments} operation, when given a PDF file and a directory path as the output, will write each attachment under its filename (as displayed by \texttt{-list-attached-files} to thath directory. The directory must exist prior to the call. The \texttt{-dump-attachments} operation, when given a PDF file and a directory path as the output, will write each attachment under its filename (as displayed by \texttt{-list-attached-files} to thath directory. The directory must exist prior to the call.
\begin{framed} \begin{framed}
\small\verb!cpdf -dump-attached-files in.pdf -o /home/fred/attachments! \small\verb!cpdf -dump-attachments in.pdf -o /home/fred/attachments!
\end{framed} \end{framed}
\noindent Unless the \texttt{-raw} option is given, the filenames are stripped of dubious special characters before writing. It is converted from unicode to 7 bit ASCII, and the following characters are removed, in addition to any character with ASCII code less than 32: \noindent Unless the \texttt{-raw} option is given, the filenames are stripped of dubious special characters before writing. It is converted from unicode to 7 bit ASCII, and the following characters are removed, in addition to any character with ASCII code less than 32: