\write and \immediate\write

David Carlisle d.p.carlisle at gmail.com
Sat Jul 13 09:50:48 CEST 2019

a \write node does not introduce a breakpoint so it isn't directly because
of the \write, do you have


which adds a glue node from the space  (and so a breakpoint) ?

The other reason could be that a \write node affects the reference point of
a box so

\vtop{aaa} and \vtop{\write20{zzz}aaa} align differently, so once any box
on the page is differently positioned all the page breaking decisions can

On Sat, 13 Jul 2019 at 08:44, Rodolfo Medina <rodolfo.medina at gmail.com>

> Dear TeXperts,
> when I put \write...  in a certain point of my TeX document, I get there a
> page
> break that I don't want...  (Break that does not occur with
> \immediate\write...)  Is there a way to avoid that break?  I can't
> reproduce an
> example right now, will try to do if necessary...  For now, if you have an
> `\immediate' answer...  ;-)
> Thanks for any help,
> Cheers,
> Rodolfo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/texhax/attachments/20190713/eb8fa123/attachment.html>

More information about the texhax mailing list