Because there are too many Underfull \vbox (badness 10000) has occurred while \output is active messages, I am trying to use \hbadness=10000 to suppress them. If I use TeXworks, then where should I locate \hbadness=10000? I tried the following, but it did nothing.
\documentclass{book}
\hbadness=10000
\begin{document}
This is the document with many underfull vbox messages.
\end{document}
Thanks for your help.
\hbadness=10000(or\vbadness) means you are telling tex you really do not care how bad the output is. Why use TeX at all in that case? It would be far better to fix the errors in your document that are causing the warnings. However putting it where you show will work. If you have an example where it is not working as expected then edit the question toshow an example of your issue. – David Carlisle Jul 12 '20 at 15:31\vbadnessnot\hbadness– David Carlisle Jul 12 '20 at 15:32\vbadnessand not\hbadness. That said, you may want to examine what the root cause of the underfull\vboxerror is rather than just turn off the error. – Don Hosek Jul 12 '20 at 15:36