aboutsummaryrefslogtreecommitdiffstats
path: root/manual/qpdf.1
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2024-01-02 00:55:45 +0100
committerJay Berkenbilt <ejb@ql.org>2024-01-02 00:57:32 +0100
commitd8d70ecca264fa5c681dca992a03cfa4c46b3f43 (patch)
treef9960a48f4550f6a9fc2d09cef27fba66852bdd5 /manual/qpdf.1
parent9db5d75b2b40083f339525f7a59b4408cb1b5d2c (diff)
downloadqpdf-d8d70ecca264fa5c681dca992a03cfa4c46b3f43.tar.zst
Support comma-separated numeric values with --collate (fixes #505)
Diffstat (limited to 'manual/qpdf.1')
-rw-r--r--manual/qpdf.18
1 files changed, 6 insertions, 2 deletions
diff --git a/manual/qpdf.1 b/manual/qpdf.1
index d758dca3..bf5e9792 100644
--- a/manual/qpdf.1
+++ b/manual/qpdf.1
@@ -414,11 +414,13 @@ Related Options:
Run qpdf --help=page-selection for details.
.TP
.B --collate \-\- collate with --pages
---collate[=n]
+--collate[=n[,m,...]]
Collate rather than concatenate pages specified with --pages.
With a numeric parameter, collate in groups of n. The default
-is 1. Run qpdf --help=page-selection for additional details.
+is 1. With comma-separated numeric parameters, take n from the
+first file, m from the second, etc. Run
+qpdf --help=page-selection for additional details.
.TP
.B --split-pages \-\- write pages to separate files
--split-pages[=n]
@@ -737,6 +739,8 @@ Run qpdf --help=page-ranges for help with page ranges.
Use --collate=n to cause pages to be collated in groups of n pages
(default 1) instead of concatenating the input.
+Use --collate=i,j,k,... to take i from the first, then j from the
+second, then k from the third, then i from the first, etc.
Examples: