doc/tmac.nh (ED): Don't dedent below zero.
This quietens several warnings from GNU troff in the "range" category.
troff: backtrace: './doc/tmac.nh':92: macro 'ED'
troff: backtrace: file './doc/Guidebook.mn':5950
troff:./doc/Guidebook.mn:5950: warning: treating -120u indentation as
zero
Unfortunately, the similar `ed` macro in Bishop's "mn" package
contributes several more.
But with this change (and its forerunners in this series), the NetHack
Guidebook is now warning-free with "-wall -Wtab -Wrange" ("mn" has
problems with tab characters too), even with the increasingly fastidious
syntactical checks of the forthcoming groff 1.24 release.
This commit is contained in:
@@ -89,7 +89,8 @@
|
||||
. if \\n(id=0 \{\
|
||||
. di \" end diversion
|
||||
. fi \" resume filling
|
||||
. in -\\n(piu \" dedent
|
||||
. ie \\n(.i<\\n(pi .in 0
|
||||
. el .in -\\n(piu \" dedent
|
||||
. ev \" pop environment
|
||||
. ne \\n(dnu \" be sure you have room
|
||||
. nf \" don't reprocess display
|
||||
|
||||
Reference in New Issue
Block a user