close #150: modified ExtractPagesParameters with two methods to add page
ranges.