Short:    THE calendar creator for FW & Pagestream
Author:   Ron Goertz
Uploader: rgoertz@wsu.edu
Type:     util/rexx
Replaces: util/rexx/FWCalendar*


A macro for creating calendars in Final Writer v4+ and PageStream v3+, and a macro for adding
events to those calendars.

Features:
   Over 100 user-definable variables
   Same program works with Final Writer & PageStream!
   Calendars are fully resizable by changing only the margins - no
      need to change font sizes!
   Start the calendar on any day of the week (eg, Monday, Tuesday, ..., Sunday)

   Mini calendars
   "Shadowed" days from previous/next months
   Different backgrounds for weekends, highlights, and holidays
   Option to print full year on a single page
   Add Julian dates
   Add sunrise/sunset times (via SunCalc)
   Add sequential week numbers

   Automatic holidays
   Multiple holidays on a day
   Easter and Easter-based events can be included

   Single-day events
   Multi-day/week events
   Multiple-line events
   Repeated weekly events
   Boxed events

   Fully localized
   Full control over colors and fonts
   Test Mode to verify variables (FW version only)
   Separate settings for Monthly and Yearly calendars
   Launch a program or macro after the calendar is done
   Y2K Compliant!


CALENDAR MACRO HISTORY

3.15  16 Feb 99
      Changed a command to allow macro to work with pre-v 3.4 PageStream

3.10  14 Feb 99
      Added StretchDate variable
      Added Font.Highlight variable (can be different from Font.Date)
      Improved French translation file (thanks Pierre!)
      Improved print routines to allow both single and double quotes
      CAUTION: Calendars created not compatible with pre-v 3.10 AddEvent.rexx
      Allowed for the absence of any Highlight data

3.05  13 Feb 99
      Added Swedish FWCalendar.data file (thanks Börje!)
      Added option to print week number
      Added text colors for Julian days, weeknumbers, and sunrise/sunset times
      Added text prefixes for Julian days, weeknumbers, and sunrise/sunset times

3.02  7 Feb 99
      Fixed an even smaller bug in TestMode

3.01  6 Feb 99
      Fixed a small bug in TestMode

3.00  1 Feb 99
      Extensive re-write - CHECK YOUR VARIABLES!
      Fully scaleable
      Works on Final Writer AND Pagestream
      Fully localizable (see localization)
      Updated Spanish data file
      Added Julian dates
      Added sunrise/sunset times (via SunCalc)
      Added the ability to launch a program or macro after the calendar is done

2.25  29 Dec 98
      Separate data files can be used for Yearly and Monthly calendars
      Added 'Orientation' ('Tall' or 'Wide') to variables
      Multiple highlights on a single date improved (NO limitations!)
      Floating date for Easter determined
      Events based on time-after-Easter added (see Installation instructions)
      Fixed the part of the Guide explaining how floating dates are calculated
      Fixed the entry for calculating Thanksgiving (wrong on a recent upload, though
         previously working?)
      Fixed the year for mini-calendars printed at the turn of the year (also wrong
         on a recent upload, though previously working)

2.20  10 Oct 98
      Multiple highlights on a single date are now allowed (see Highlights)

2.15  Allowed true cancellation of the "Save changes to document?" requestor
      Added a TestMode to check the variables in the FWCalendar.data file.
      Corrected the order in which user variables are read; resulted in the
         proper use of localized values for BlackName and WhiteName.
      If Extended mode is turned off, the empty boxes are no longer drawn

2.10  Moved ALL user variables to FWCalendar.data file
      Added control over colors for about everything (see variables)
      Re-wrote (cleaned up) LOTS of the code

2.05  Not a version change, because it's exactly the same as the previous
         version 2.05 without my mistake of accidentally commenting out two
         essential lines. Do have some updates to the German and Italian
         translation (FWCalendar.data) files, though. SORRY!

2.05  Deleted my hard-coded margins. Oops!
      Canned the FW requestors in favor of Reqtools requestors
      Changed the way the upper area (the area with the mini-calendars
         and the month name) is calculated to allow for hard-coding margins
         (Dieter Zimmermann wanted his calendars to appear on the lower half
         of a portrait-oriented page, presumably to allow the addition of a
         picture on the upper half. Good idea, Dieter!)

2.0   Now 'localized' for American, German, Spanish, French,
         Italian, and Portugese

1.4   Full-year calendar now fills the full page
      Font widths now work

1.3   Fixed macro to allow use of a comma for the decimal point
         instead of the period

1.2   Added box/bold of highlight dates in mini-calendars
      Added option to print full year of calendars on a single
         page

1.1   de-Americanized macro (no longer assumes US Letter paper
         and inch units)

1.01  Corrected default margins
      Removed my personal highlights
      Set default fonts to more likely locations

1.0   First release

ADDEVENT MACRO HISTORY

3.15  16 Feb 99
      Changed a command to allow macro to work with pre-v 3.4 PageStream

3.10  14 Feb 99
      Improved print routines to allow both single and double quotes
      CAUTION: Not compatible with pre-v 3.10 FWCalendars

3.00  1 Feb 99
      Fully localizable (see localization)
      Can use either MUIRexx (recommended) or Gui4Cli

2.50  29 Dec 98
      Fixed some calls that may or may not have caused some people problems

2.45  10 Oct 98
      Modified slightly to work around the fact that on some machines the
         Gui4Cli routine signalled that it was done before it really was.

2.40  Accommodated changes in FWCalendar.data file

2.35  Accommodated the upper-area-calculation change made in FWCalendar.rexx
         macro.

2.3   Fixed bug that didn't allow the close gadget to work
      Now 'localized' for American, German, Spanish, French,
         Italian, and Portugese

2.2   Can now (indirectly) enter the '$' in events (see User Variables)

2.1   Fixed macro to allow use of a comma for the decimal point
         instead of the period

2.0   Now REQUIRES Gui4Cli, but what an improvement!
      Can enter weekly events

1.2   de-Americanized macro (no longer assumes US Letter paper
        and inch units)

1.1   Corrected default margins
      Set default fonts to more likely locations
      Added multi-line, auto-breaking, non-boxed events

1.0   First release


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
     717     334 53.4% 10-Sep-98 22:50:36  FWCalendar.info
   25375    7265 71.3% 16-Feb-99 22:30:20 +AddEvent.rexx
    1762     679 61.4% 15-Feb-99 11:12:38 +FWCalendar.data
    1987     881 55.6% 15-Feb-99 11:17:54 +FWCalendar.data
    1945     876 54.9% 15-Feb-99 11:15:52 +FWCalendar.data
    1377     688 50.0% 15-Feb-99 11:17:04 +FWCalendar.data
   55909   14946 73.2% 17-Feb-99 17:47:20 +FWCalendar.Guide
   43941   11146 74.6% 16-Feb-99 22:21:30 +FWCalendar.rexx
    3250     853 73.7% 22-Dec-98 11:58:26 +FWCalendarE.data
    1053     502 52.3% 15-Feb-99 11:16:48 +FWCalendar.data
     734     386 47.4% 15-Feb-99 11:16:22 +FWCalendar.data
    1929     827 57.1% 15-Feb-99 11:16:06 +FWCalendar.data
-------- ------- ----- --------- --------
  139979   39383 71.8% 20-Feb-99 01:00:22   12 files
