I am asking the same question as this post:
How to type a non-breaking hyphen (dash, "-" character) in scientific or technical documents
but I don't want to use any package (just to understand how it may be done in Plain TeX with just the primitives of the language).
\mbox{non-linear}
non\mbox{-}linear
will prevent hyphenation
What about:
non-\nobreak linear
I don't know how to check where the possible break points are in TeX.




\mboxis a LaTeX-only command. For PlainTeX, you probably want\hbox. – Mico Feb 03 '24 at 16:12