Modulename : t-pocketdiary
Author     : Willi Egger
License    : Public Domain

Description
-----------

For those who are in need of a personal organizer this module offers a flexible solution based on a single sided printed A4. The pocket diary can be folded in such a way, that it forms a small booklet where only the printed pages are visible (see documentation).

The basic idea is to have to change only minimal information for getting an updated PocketDiary after first setup.
The personal organizer is based on week number and year. You can specify also a day number if you want a page containing  only that day. You can specify a month if you want the personal organizer to contain a month table.

Please refer to the documentation for further options.

Usage
-----

Create a file e.g. PocketDiary.tex

\usemodule[pocketdiary]

% Setup the bodyfont
\setupbodyfont[palatino,rm,9pt]

% Setup the language used: en, de, nl, it, fr interface is available
\mainlanguage[en]

% Setup the variables for the calculations

\setvariables
	[PocketDiary]
	[Year=2011,
	Week=16,
	Day=5,
	Month=4,
	Nextyear=yes]

% Setup the personal organizer: 
\setvariables
	[PocketDiaryLayout]
	[Page1=Lost-Returnto,
	Page2=Week,
	Page3=Day,
	Page4=Weeknext,
	Page5=Monthcurrent,
	Page6=Yearcalendar,
	Page7=Caro,
	Page8=Contact]

% Setup variables with personal information
\setvariables
	[PocketDiaryAddress]
	[Familyname=Yourfamiliname,
	Forename=Yourname,
	Street=Yourstreet xx
	Zipcode=Yourzip
	City=Yourcity,
	Country=Yourcountry
	Phone=+Yourphonenumber
	Mobile=+Yourmobilenumber,
	E-mail=Your-e-mail,
	Web=Yourwebsite]

% Setup your personal footer
\setvariables
	[PocketDiaryFooter]
	[Lefttext=PocketDiary,
	 Centertext=\pagenumber,
	 Righttext={\getvariable{PocketDiaryAddress}{Forename},{\currentdate[year]}}]

% Setup your favorite colors

\setvariables
	[PocketDiaryColors]
	[Separatorline=blue,
	Gridline={s=.75}]

% Do the typesetting
\starttext
	\setups{PocketDiary}
\stoptext