# [texhax] How to detect \nonstopmode?

Karl Berry karl at freefriends.org
Tue Sep 27 20:19:08 CEST 2005

I was wondering if there is any way to detect that \nonstopmode (or
any other mode) is active.

I don't believe it can be done in regular TeX, but eTeX has a parameter
\interactionmode for this.

Best,
Karl