mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Document WEEK special. Clean up rem2ps handling of WEEK.
This commit is contained in:
@@ -3958,6 +3958,14 @@ The COLOR special is "doubly special", because in its normal operating
|
||||
mode, \fBremind\fR treats a COLOR special just like a MSG-type reminder.
|
||||
Also, if you invoke \fBRemind\fR with \fB\-cc\fR..., then it approximates
|
||||
SPECIAL COLOR reminders on your terminal.
|
||||
.PP
|
||||
The \fBWEEK\fR special lets you place annotations such as the week
|
||||
number in the calendar. For example, this would number each Sunday
|
||||
with the ISO 8601 week number:
|
||||
|
||||
.nf
|
||||
REM Sunday SPECIAL WEEK (W[weekno()])
|
||||
.fi
|
||||
|
||||
.SH MISCELLANEOUS
|
||||
.PP
|
||||
|
||||
@@ -960,7 +960,7 @@ int DoQueuedPs(void)
|
||||
break;
|
||||
|
||||
case SPECIAL_WEEK: /* Week number */
|
||||
printf("gsave Border Border moveto /EntryFont findfont EntrySize 1.2 div scalefont setfont (");
|
||||
printf("gsave Border Border 2 div moveto /EntryFont findfont EntrySize 1.2 div scalefont setfont (");
|
||||
s = e->entry+fnoff;
|
||||
while(*s && isspace(*s)) {
|
||||
s++;
|
||||
|
||||
Reference in New Issue
Block a user