From 53d8e916b75b983c18d4611e91d6e74cb51a49ec Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 12 Jan 2019 09:21:52 -0500 Subject: Interpret . in --pages as a shortcut for the primary file --- manual/qpdf-manual.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'manual/qpdf-manual.xml') diff --git a/manual/qpdf-manual.xml b/manual/qpdf-manual.xml index d30e8ea4..f7c528b7 100644 --- a/manual/qpdf-manual.xml +++ b/manual/qpdf-manual.xml @@ -955,6 +955,11 @@ make “” terminates parsing of page selection flags. + + Starting with qpf 8.4, the special input file name + “.” can be used shortcut for the + primary input filename. + For each file that pages should be taken from, specify the file, a password needed to open the file (if any), and a page range. The @@ -1075,7 +1080,7 @@ make infile.pdf while preserving all metadata associated with that file, you could use - qpdf + qpdf If you wanted pages 1 through 5 from infile.pdf but you wanted the rest of the @@ -1087,7 +1092,7 @@ make file1.pdf and pages 11–15 from file2.pdf in reverse, you would run - qpdf + qpdf If, for some reason, you wanted to take the first page of an encrypted file called encrypted.pdf with -- cgit v1.2.3-54-g00ecf