diff --git a/www/Makefile.in b/www/Makefile.in index 3efdd1e9..35f49ecb 100644 --- a/www/Makefile.in +++ b/www/Makefile.in @@ -69,6 +69,7 @@ install: sed $(SEDSCRIPT) < moon.rem-DIST > $(DESTDIR)$(SCRIPTDIR)/moon.rem sed $(SEDSCRIPT) < sunrise.rem-DIST > $(DESTDIR)$(SCRIPTDIR)/sunrise.rem sed $(SEDSCRIPT) < sunset.rem-DIST > $(DESTDIR)$(SCRIPTDIR)/sunset.rem + cp blank.rem $(DESTDIR)$(SCRIPTDIR)/blank.rem sed $(SEDSCRIPT) < calendar.html-DIST > $(DESTDIR)$(HTMLDIR)/calendar.html sed $(SEDSCRIPT) < hebhtml > $(DESTDIR)$(SCRIPTDIR)/hebhtml sed $(SEDSCRIPT2) < rem2html > $(DESTDIR)$(SCRIPTDIR)/rem2html$(CGISUFFIX) @@ -76,6 +77,7 @@ install: chmod 644 $(DESTDIR)$(SCRIPTDIR)/moon.rem chmod 644 $(DESTDIR)$(SCRIPTDIR)/hebdate.rem chmod 644 $(DESTDIR)$(SCRIPTDIR)/sunset.rem + chmod 644 $(DESTDIR)$(SCRIPTDIR)/blank.rem chmod 644 $(DESTDIR)$(HTMLDIR)/calendar.html chmod 755 $(DESTDIR)$(SCRIPTDIR)/cal_dispatch$(CGISUFFIX) chmod 755 $(DESTDIR)$(SCRIPTDIR)/rem2html$(CGISUFFIX) diff --git a/www/blank.rem b/www/blank.rem new file mode 100644 index 00000000..1b92650d --- /dev/null +++ b/www/blank.rem @@ -0,0 +1,5 @@ +[moondate(0)] SPECIAL MOON 0 +[moondate(1)] SPECIAL MOON 1 +[moondate(2)] SPECIAL MOON 2 +[moondate(3)] SPECIAL MOON 3 +REM Monday SPECIAL WEEK (W[weekno()]) diff --git a/www/calps b/www/calps index e7eeb502..8bfcd58d 100644 --- a/www/calps +++ b/www/calps @@ -7,5 +7,5 @@ echo "Content-type: application/postscript" echo -$REMIND -p /dev/null | $REM2PS -e -c3 -l +$REMIND -p $DIR/blank.rem | $REM2PS -e -c3 -l exit 0 diff --git a/www/hebdate.rem-DIST b/www/hebdate.rem-DIST index a323cb8c..c7b4133a 100644 --- a/www/hebdate.rem-DIST +++ b/www/hebdate.rem-DIST @@ -29,6 +29,8 @@ ENDIF # # ########################################################################## +SET n $NumTrig + # --- HERE ARE THE JEWISH HOLIDAYS --- # Set the variable InIsrael to 1 if you live in Israel. Otherwise, # you get the Diaspora versions of Jewish holidays @@ -138,6 +140,10 @@ ENDIF fset msgprefix(x) "" +IF $NumTrig > n + REM SPECIAL SHADE 224 224 255 +ENDIF + # Counting the omer - do the whole spiel, i.e: # "This is the xth day of the omer, being y weeks and z days of the omer." # Nice Remind programming example here! @@ -165,7 +171,7 @@ ELSE [trigger(moondate(2))] SPECIAL MOON 2 [trigger(moondate(3))] SPECIAL MOON 3 REM PS Border Border moveto /DayFont findfont 10 scalefont setfont ([hebday(today())] [hebmon(today())]) show - REM SPECIAL HTML

[hebday(today())] [hebmon(today())]

+ REM SPECIAL HTML

[hebday(today())] [hebmon(today())]

ENDIF