From 462973ab537bf0c1bdb312353d1506ac5cccff10 Mon Sep 17 00:00:00 2001 From: "G. Branden Robinson" Date: Thu, 2 Nov 2023 11:29:37 -0500 Subject: [PATCH] doc/Guidebook.mn: Drop junk syntax These *roff control lines were ill-formed. `.fi` is a request to turn on filling, not a closing bracket for an `if` request (*roff is not a Bourne shell). https://www.gnu.org/software/groff/manual/groff.html.node/Conditional-Blocks.html Further, *roff generally does not accept more than one request per input line. Exceptions to this rule are the control structuring requests (`if`, `ie`, `el`, and in GNU troff, `while`, `do` and `nop`). But here, only one (`do`-nested) request is governed by the `if` anyway. --- doc/Guidebook.mn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index 8a7362014..ce007c593 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -33,8 +33,8 @@ .\" building Guidebook.txt doesn't have CR font available; groff 1.23 issues .\" a warning each time any font can't be loaded; earlier versions silently .\" proceeded so lack of CR (fixed-width, moot for plain text) didn't matter -.if \n(fF .do ftr CR R .fi \" if using fixed-width, substitute R for CR -. \" (the substitution affects both '\f' and '.ft') +.if \n(fF .do ftr CR R \" if using fixed-width, substitute R for CR +. \" (the substitution affects both '\f' and '.ft') . .ds h0 "NetHack Guidebook .ds h1 @@ -3392,7 +3392,7 @@ Never wore any armor. .PL Ascended Delivered the Amulet to its final destination. .PE -.if !\n(fF .in -5n .fi \" undo proportional-width font-specific indentation +.if !\n(fF .in -5n \" undo proportional-width font-specific indentation .sp .lp "Notes: " .pg