I added the pagination script <!–nextpage–> at the end of the paragraph. It breaks the pages nicely, but some extra text codes are displayed at the top of the page for every page except the first page, and additionally the last page text codes are displayed at the top and bottom of the page.