There are a number of ways to extract a range of pages from a PDF file: there are PDF related toolkits for doing it.
For example, to extract pages 22-36 from a 100-page PDF file using pdftk:
pdftk A=100p-inputfile.pdf cat A22-36 output outfile_p22-p36.pdf
Original source: https://www.linux.com/training-tutorials/tech-tip-extract-pages-pdf