Deprecation note: NewPage #345
pgundlach
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The command
<NewPage>
is now (version 4.5.14) deprecated. Please use<ClearPage>
instead.The problem with
<NewPage>
is that page ship out is not immediate. See the following example:which leads to
When you use
<ClearPage>
instead, everything is fine:Since there is a change in semantics you need to update from
which creates an empty page while
does not. To get the same behaviour, you need to force a new page:
You can now set the matter which will be used for the new page:
which sets the matter at the beginning of a new page. See the following example:
which produces (with two runs!) this output:
Beta Was this translation helpful? Give feedback.
All reactions