I am new to groff (ms macros) and currently making a table of content parser that builds automatically a table of content by using a double pass through the groff command. However I would actually need to add a page break at the end of a few parts of the document, including the table of content (my school requires this).
Is there such a macro as a page break? Something that would basically stop printing on the current page and continue on the next one. I've been looking through the man page and several online resources and can not find anything about that.
I have thought of just printing blank text, but then it can't be dynamically generated easily so it needs to be edited manually at the end.
I also am interested in other groff macro types if they include such features as automatic table of content and page breaks.
EDIT: this is for PDF generation for academic and professional (school related) paperwork