fix #H7444 - bad line split in Guidebook

Reported for Windows beta3 but turns out to be present in 3.6.1
distribution.
| #wait
|      Rest one move while doing nothing. Default key is '.', and '
|      ' if rest_on_space is on.
where the line split occurs in the middle of "' '".  We should
switch from the ascii single quote to the 'nroff open and close
single quote escapes but I haven't gotten around to that.
Preceding the space with backslash prevents a line break there.
This commit is contained in:
PatR
2018-10-14 14:30:02 -07:00
parent 8612cc0f88
commit 2e21e6b10a
2 changed files with 9 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
.\" $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.279 $ $NHDT-Date: 1539547136 2018/10/14 19:58:56 $
.\" $NHDT-Branch: NetHack-3.6.2-beta01 $:$NHDT-Revision: 1.280 $ $NHDT-Date: 1539552590 2018/10/14 21:29:50 $
.\"
.\" This is an excerpt from the 'roff' man page from the 'groff' package.
.\" NetHack's Guidebook.mn currently does *not* adhere to these guidelines.
@@ -1326,7 +1326,7 @@ Autocompletes.
Debug mode only.
.lp #wait
Rest one move while doing nothing.
Default key is '.', and also ' ' if
Default key is '.', and also '\ ' if
rest_on_space is on.
.lp #wear
Wear a piece of armor. Default key is 'W'.
@@ -3849,17 +3849,18 @@ MENUCOLOR="* cursed *"=red
MENUCOLOR="* cursed *(being worn)"=red&underline
.ei
.ed
.\" these quotes with leading or trailing space should be flagged "don't split"
specifies that any menu line with \(lq blessed \(rq contained
in it will be shown in green color, lines with \(lq cursed \(rq will be
shown in red, and lines with \(lq cursed \(rq followed by \(lq(being worn)\(rq
.\" note backslash-quoted spaces to prevent line breaks within " word "
specifies that any menu line with \(lq\ blessed\ \(rq contained
in it will be shown in green color, lines with \(lq\ cursed\ \(rq will be
shown in red, and lines with \(lq\ cursed\ \(rq followed
by \(lq(being worn)\(rq
on the same line will be shown in red color and underlined.
You can have multiple MENUCOLOR entries in your config file,
and the last MENUCOLOR-line in your config file that matches
a menu line will be used for the line.
.pg
Note that if you intend to have one or more color specifications match
\(lq uncursed \(rq, you will probably want to turn the
\(lq\ uncursed\ \(rq, you will probably want to turn the
.op implicit_uncursed
option off so that all items known to be uncursed are actually
displayed with the \(lquncursed\(rq description.

View File

@@ -163,6 +163,7 @@ Elbereth hypocrisy penalty doesn't apply if attacking a monster which isn't
Elbereth hypocrisy penalty reduced when alignment is already low
during character creation, don't unset alternate weapon when a shield gets
worn (was preventing knight from having lance set up as uswapwep)
preformatted Guidebook.txt split line in middle of "' '" for #wait command
Fixes to Post-3.6.1 Problems that Were Exposed Via git Repository