fix #K3886 - "%USERPROFILE%\NetHack\" in Guidebook

Report was that recent Guidebook.txt contained a couple of instances
of spurious "(rq".  In Guidebook.mn, "\\%USERPROFILE%\\NetHack\\(rq"
needed three backslashes near the end, the first two to insert one
into the output and the third for intended "\(rq" directive.  It also
shouldn't have leading backslashes; expansion of %USERPROFILE% doesn't
need that.  "\%" would work but isn't necessary.

Also, prevent "%USERPROFILE\NetHack\" from being hyphenated, plus a
minor change in wording so that it won't be in position to warrant
that.
This commit is contained in:
PatR
2023-03-16 22:34:58 -07:00
parent da0e2571a0
commit 0178ed81e1
2 changed files with 17 additions and 14 deletions

View File

@@ -3719,19 +3719,21 @@ operating systems.\\
%.lp ""
On UNIX, Linux and macOS it is \mbox{``.nethackrc''} in the user's home
directory. The file may not exist, but it is a normal ASCII text file and
directory.
The file may not exist, but it is a normal ASCII text file and
can be created with any text editor.\\
%.lp ""
On Windows, it is \mbox{``.nethackrc''} in the folder
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}. The
file may not exist, but it is a normal ASCII text file and can be created
with any text editor.
On Windows, the name is \mbox{``.nethackrc''} location in the folder
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}.
The file may not exist,
but it is a normal ASCII text file and can be created with any
text editor.
After runing {\it NetHack\/} for the first time, you should find a default
template for ths configuration file named \mbox{``.nethackrc.template''} in
\mbox{{``\%USERPROFILE\%\textbackslash NetHack\textbackslash''}}.
If you had not created the configuration file, {\it NetHack\/} will create
the configuration file for you using the default template file.
If you have not created the configuration file, {\it NetHack\/} will create
the configuration file for you using the default template file.\\
%.lp ""
On MS-DOS it is \mbox{``defaults.nh''} in the same folder as