more
This commit is contained in:
parent
f1d970f02d
commit
9054a246ae
|
@ -3932,7 +3932,7 @@ let go () =
|
|||
let range = parse_pagespec pdf pagespec in
|
||||
let pdf = Cpdf.crop_pdf ~box:"/ArtBox" xywhlist pdf range in
|
||||
write_pdf false pdf
|
||||
| _ -> error "crop: bad command line"
|
||||
| _ -> error "art: bad command line"
|
||||
end
|
||||
| Some Bleed ->
|
||||
begin match args.inputs, args.out with
|
||||
|
@ -3942,7 +3942,7 @@ let go () =
|
|||
let range = parse_pagespec pdf pagespec in
|
||||
let pdf = Cpdf.crop_pdf ~box:"/BleedBox" xywhlist pdf range in
|
||||
write_pdf false pdf
|
||||
| _ -> error "crop: bad command line"
|
||||
| _ -> error "bleed: bad command line"
|
||||
end
|
||||
| Some Trim ->
|
||||
begin match args.inputs, args.out with
|
||||
|
@ -3952,7 +3952,7 @@ let go () =
|
|||
let range = parse_pagespec pdf pagespec in
|
||||
let pdf = Cpdf.crop_pdf ~box:"/TrimBox" xywhlist pdf range in
|
||||
write_pdf false pdf
|
||||
| _ -> error "crop: bad command line"
|
||||
| _ -> error "trim: bad command line"
|
||||
end
|
||||
| Some MediaBox ->
|
||||
begin match args.inputs, args.out with
|
||||
|
|
BIN
cpdfmanual.pdf
BIN
cpdfmanual.pdf
Binary file not shown.
|
@ -751,7 +751,8 @@ The encryption parameters described in Chapter \ref{encryption} may be added to
|
|||
\noindent\verb! in.pdf [<range>] -o out.pdf!
|
||||
|
||||
\vspace{1.5mm}
|
||||
\small\noindent\verb!cpdf -hard-box [-fast] in.pdf [<range>] [-mediabox-if-missing] -o out.pdf!
|
||||
\small\noindent\verb!cpdf -hard-box <boxname> [-fast] in.pdf [<range>]!\\
|
||||
\small\noindent\verb! [-mediabox-if-missing] -o out.pdf!
|
||||
|
||||
\vspace{1.5mm}
|
||||
\small\noindent\verb!cpdf -show-boxes [-fast] in.pdf [<range>] -o out.pdf!
|
||||
|
|
Loading…
Reference in New Issue