🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text
Article #1335

Re: americanizing chew's calandar

#1335
From: Ping Wah Wong
Date: Sat, 02 Dec 1989 03:15
25 lines
1279 bytes
In article <RUSTY.89Dec1143649@garnet.berkeley.edu> rusty@garnet.berkeley.edu writes:
>4. Also, there seems to be a bug; with the above changes September
>1989 doesn't get the horizontal line under the last 6 days of the
>month.

I added a line (the underlined one) in the file cal.sty as follows

%
% Compute the last day in the month. Leave the answer in \lc with
% 1=Sunday 7=Saturday. This enumeration differs from \td since
% \lc is used later for \cline.
%
\lc=\ld \advance\lc by\td \divide\lc by7 \multiply\lc by-7 %
\advance\lc by\ld \advance\lc by\td%
\ifnum\lc<1 \lc=7 \fi
=====================


Seems to me it solved the problem.

-- 
-----------------------------------------------
Ping Wah Wong		Dept. ECE
			Clarkson University
			wong@sun.soe.clarkson.edu
Technical Details
Message-ID: <1989Dec2.031501.2273@sun.soe.clarkson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!image.soe.clarkson.edu!wong
References: <14068@orstcs.CS.ORST.EDU> <RUSTY.89Dec1143649@garnet.berkeley.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uunet!image.soe.clarkson.edu!wong
From: wong@sun.soe.clarkson.edu (Ping Wah Wong)
Newsgroups: comp.text
Subject: Re: americanizing chew's calandar
Message-ID: <1989Dec2.031501.2273@sun.soe.clarkson.edu>
Date: 2 Dec 89 03:15:01 GMT
References: <14068@orstcs.CS.ORST.EDU> <RUSTY.89Dec1143649@garnet.berkeley.edu>
Reply-To: wong@sun.soe.clarkson.edu (Ping Wah Wong)
Organization: Clarkson University, Potsdam, NY
Lines: 26