Open clach04 opened 2 years ago
I've not had time to implement this, as a quick workaround I'm generating the entire PDF (which for 3000 pages is pretty quick, a few secs) and then extracting the desired pages using another tool (hand written using PyPDF2), for example pdftk.
Neat option(s) would be to take in parameters for:
end
number of pages have been producedstart
number of pages have been processed.e.g.
only output the pages 10 through to and including 20 to the output PDF file.
Alternative (possibly follow on feature) would be a pages parameter which could take ranges, e.g.:
--pages "10-20"
same as above demo--pages "1,3,5,7,9"
all the odd numbered pages below 10--pages "1,2, 3,10-20"
- pages 1, 2, and 3 and then the range 10-20--pages "10-20, 99-102"
- range 10-20 and 99-102