To learn how to add and remove pages for both types of documents, see Set pagination and line and page breaks in Pages on Mac