diff --git a/doc/Guidebook.mn b/doc/Guidebook.mn index d582294e9..f76f91413 100644 --- a/doc/Guidebook.mn +++ b/doc/Guidebook.mn @@ -3420,8 +3420,8 @@ for system administrators. .hn 2 Using a configuration file .pg -.\" hw: don't hyphenate file names -.hw .nethackrc defaults.nh nethack.exe nethackW.exe +.\" hw: don't hyphenate file names; percent-sign doesn't need special handling +.hw .nethackrc defaults.nh nethack.exe nethackW.exe %USERPROFILE%\\NetHack\\ The default name of the configuration file varies on different operating systems. .pg @@ -3432,15 +3432,16 @@ and macOS it is \(lq.nethackrc\(rq in the user's home directory. The file may not exist, but it is a normal ASCII text file and can be created with any text editor. .pg -On Windows, it is \(lq.nethackrc\(rq in the folder -\(lq\\%USERPROFILE%\\NetHack\\(rq. The file may not exist, +On Windows, the name is \(lq.nethackrc\(rq located in the folder +\(lq%USERPROFILE%\\NetHack\\\(rq. +The file may not exist, but it is a normal ASCII text file can can be created with any text editor. After running NetHack for the first time, you should find a default template for the configuration file named \(lq.nethackrc.template\(rq -in \(lq\\%USERPROFILE%\\NetHack\\(rq. -If you had not created the configuration file, NetHack will create -the configuration file for you using the default template file. +in \(lq%USERPROFILE%\\NetHack\\\(rq. +If you have not created the configuration file, NetHack will create +one for you using the default template file. .pg On MS-DOS, it is \(lqdefaults.nh\(rq in the same folder as nethack.exe. .pg diff --git a/doc/Guidebook.tex b/doc/Guidebook.tex index 6f036f586..d724936bb 100644 --- a/doc/Guidebook.tex +++ b/doc/Guidebook.tex @@ -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