Enable automated date generation on the Guidebook source files.

This commit is contained in:
Kenneth Lorber
2022-01-11 15:39:20 -05:00
parent a8e9e1b488
commit 3a4cee5955
3 changed files with 5 additions and 1 deletions

2
doc/.gitattributes vendored
View File

@@ -10,3 +10,5 @@ tmac.nh NUSUBST
fixes* NH_header=no fixes* NH_header=no
*.txt NH_header=no *.txt NH_header=no
* NH_filestag=(file%s_for_all_versions) * NH_filestag=(file%s_for_all_versions)
Guidebook.tex NH_DATESUB
Guidebook.mn NH_DATESUB

View File

@@ -1,4 +1,4 @@
.\" $NHDT-Branch: NetHack-3.7 $:$NHDT-Revision: 1.414 $ $NHDT-Date: 1613011698 2021/02/11 02:48:18 $ .\" $NHDT-Branch: keni-datesub2 $:$NHDT-Revision: 1.437 $ $NHDT-Date: 1641933560 2022/01/11 20:39:20 $
.\" .\"
.\" This is an excerpt from the 'roff' man page from the 'groff' package. .\" This is an excerpt from the 'roff' man page from the 'groff' package.
.\" Guidebook.mn currently does *not* fully adhere to these guidelines. .\" Guidebook.mn currently does *not* fully adhere to these guidelines.
@@ -35,6 +35,7 @@
.ds vr "NetHack 3.7 .ds vr "NetHack 3.7
.ds f0 "\*(vr .ds f0 "\*(vr
.ds f1 .ds f1
.\"DO NOT REMOVE NH_DATESUB .ds f2 "DATE(%B %-d, %Y)
.ds f2 "November 16, 2021 .ds f2 "November 16, 2021
. .
.\" A note on some special characters: .\" A note on some special characters:

View File

@@ -45,6 +45,7 @@
%.au %.au
\author{Original version - Eric S. Raymond\\ \author{Original version - Eric S. Raymond\\
(Edited and expanded for 3.7 by Mike Stephenson and others)} (Edited and expanded for 3.7 by Mike Stephenson and others)}
%DO NOT REMOVE NH_DATESUB \date{DATE(%B %-d, %Y)}
\date{November 16, 2021} \date{November 16, 2021}
\maketitle \maketitle