Bug 101800 - Little documentation about pdfseparate PDF-page-pattern argument
Summary: Little documentation about pdfseparate PDF-page-pattern argument
Status: RESOLVED FIXED
Alias: None
Product: poppler
Classification: Unclassified
Component: utils (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-16 10:10 UTC by Léonard
Modified: 2017-07-31 17:40 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
pdfseparate PDF-page-pattern documentation enhancement (1.25 KB, patch)
2017-07-16 10:10 UTC, Léonard
Details | Splinter Review

Description Léonard 2017-07-16 10:10:12 UTC
Created attachment 132705 [details] [review]
pdfseparate PDF-page-pattern documentation enhancement

There is no documentation explaining that the pdfseparate's argument PDF-page-pattern can contains any number format compatible to printf format. The documentation talk only about %d.
So I propose a patch to enhance the man page and the error message when %d is missing.

A typical use case would be to extract page 5 to 15 of a pdf file, and then use pdfunite to reunify them. In this case, using %02d helps keeping the order of pages (05, 06, 07, ..., 09, 10, 11, ...).
With only %d you'll have (11, 12, 13, 14, 15, 5, 6, 7, ...)
Comment 1 Albert Astals Cid 2017-07-31 17:40:31 UTC
Pushed


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.