The \*(td string macro, which is supposed to display today's date in the form
"October 14, 1998". A Y2k fix makes it now display "October 14, 98+1900". Appears you can perform arithmetic in a string definition. PR: gnu/8321 Reviewed by: Andrew J. Korty <ajk@purdue.edu>
This commit is contained in:
parent
f46ecf8bc9
commit
e6f93514c8
@ -1519,7 +1519,8 @@ in \\f2\\*([B\\f1, \c
|
|||||||
.if \n(dw=5 .ds dw Thursday
|
.if \n(dw=5 .ds dw Thursday
|
||||||
.if \n(dw=6 .ds dw Friday
|
.if \n(dw=6 .ds dw Friday
|
||||||
.if \n(dw=7 .ds dw Saturday
|
.if \n(dw=7 .ds dw Saturday
|
||||||
.ds td \*(mo \n(dy, \n(yr+1900
|
.nr _y \n(yr+1900
|
||||||
|
.ds td \*(mo \n(dy, \n(_y
|
||||||
.\" *** PARAMETRIC INITIALIZATIONS ***
|
.\" *** PARAMETRIC INITIALIZATIONS ***
|
||||||
.rr x
|
.rr x
|
||||||
.nr $v \n(.v00+\n(.sp-1/\n(.sp \" vs as percentage of ps for .sz request
|
.nr $v \n(.v00+\n(.sp-1/\n(.sp \" vs as percentage of ps for .sz request
|
||||||
|
Loading…
Reference in New Issue
Block a user