[tex-eplain] Prevent page break

Frampton, John j.frampton at neu.edu
Wed Jun 1 00:00:01 CEST 2016


You have to make sure that there is nothing “breakable” before the \par\nobreak.   Most commonly, vertical skip filled in by a macro causes problems.  If you say \vbox{….}\par\nobreak, you might be able to avoid this.



Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



From: Rodolfo Medina<mailto:rodolfo.medina at gmail.com>
Sent: Tuesday, May 31, 2016 5:53 PM
To: tex-eplain at tug.org<mailto:tex-eplain at tug.org>
Subject: [tex-eplain] Prevent page break



Hi to all of you Eplain users.

Here am I again with another different problem.

At a certain point of a document, I want to insert an eps figure that TeX
probably considers to be too large so that it acts its page breaking at a point
that I don't want to.  I know I should provide an example of that, and I will,
but it's not so easy because it involves some long macros of mine.  For the
same reason, closing all the stuff in a vertical box is not a good solution
because that way isolates those macros and limitates their functionality: in
fact, they are sectioning and subsectioning macros that I created years ago for
plain TeX.

While working to produce an example of my problem, I want to ask you listers
for a general and effective way - if any exists, and good also for my case - to
prevent page breaking in plain and Eplain TeX: because simply

 \par\nobreak

doesn't for me.

Thanks to all in advance, and Karl again for his work on ps -> pdf bookmarks.

Rodolfo

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tex-eplain/attachments/20160531/2d83a293/attachment.html>


More information about the tex-eplain mailing list