(autoload 'calendar-holiday-list "holidays" nil t)
(autoload 'calendar-iso-from-absolute "cal-iso" nil t)
-
-(defun cal-tex-version ()
- (interactive)
- (message "Version 1, October 11, 1995"))
-
;;;
;;; Customizable variables
;;;
(defun cal-tex-cursor-year-landscape (&optional arg)
"Make a buffer with LaTeX commands for the year cursor is on.
-Optional prefix argument specifies numeber of years."
+Optional prefix argument specifies number of years."
(interactive "P")
(cal-tex-year (extract-calendar-year (calendar-cursor-to-date t))
(if arg arg 1)
;;;
(defun cal-tex-cursor-week (&optional arg)
- "One page calendar for week indicated by cursor.
+ "Make a buffer with LaTeX commands for a two-page one-week calendar.
+It applies to the week that point is in.
Optional prefix argument specifies number of weeks.
Holidays are included if `cal-tex-holidays' is t."
(interactive "P")
(run-hooks 'cal-tex-hook)))
(defun cal-tex-cursor-week2 (&optional arg)
- "Make a buffer with LaTeX commands for the week cursor is on.
-The printed output will be on two pages.
+ "Make a buffer with LaTeX commands for a two-page one-week calendar.
+It applies to the week that point is in.
Optional prefix argument specifies number of weeks.
Holidays are included if `cal-tex-holidays' is t."
(interactive "P")
(cal-tex-end-document)
(run-hooks 'cal-tex-hook)))
-(defun cal-tex-cursor-week3 (&optional arg)
- "One page ISO style calendar for the ISO week indicated by cursor.
+(defun cal-tex-cursor-week-iso (&optional arg)
+ "Make a buffer with LaTeX commands for a one page ISO-style weekly calendar.
Optional prefix argument specifies number of weeks.
-Diary entries are included if cal-tex-diary is t.
+Diary entries are included if `cal-tex-diary' is t.
Holidays are included if `cal-tex-holidays' is t."
(interactive "P")
(let* ((n (if arg arg 1))
(cal-tex-arg height)
(cal-tex-nl))))
-(defun cal-tex-cursor-week4 (&optional arg)
- "One page calendar for week indicated by cursor.
-Week begins on Monday.
-Optional prefix argument specifies number of weeks."
+(defun cal-tex-cursor-week-monday (&optional arg)
+ "Make a buffer with LaTeX commands for a two-page one-week calendar.
+It applies to the week that point is in, and starts on Monday.
+Optional prefix argument specifies number of weeks.
+Holidays are included if `cal-tex-holidays' is t."
(interactive "P")
(let* ((n (if arg arg 1))
(date (calendar-gregorian-from-absolute
(cal-tex-e-framebox)
(cal-tex-hspace "1cm")))
-(defun cal-tex-cursor-week5 (&optional arg)
+(defun cal-tex-cursor-filofax-2week (&optional arg)
"Two-weeks-at-a-glance Filofax style calendar for week indicated by cursor.
Optional prefix argument specifies number of weeks.
-Diary entries are included if cal-tex-diary is t.
+Diary entries are included if `cal-tex-diary' is t.
Holidays are included if `cal-tex-holidays' is t."
(interactive "P")
(let* ((n (if arg arg 1))
(cal-tex-end-document)
(run-hooks 'cal-tex-hook)))
-(defun cal-tex-cursor-week6 (&optional arg)
+(defun cal-tex-cursor-filofax-week (&optional arg)
"One-week-at-a-glance Filofax style calendar for week indicated by cursor.
Optional prefix argument specifies number of weeks.
Weeks start on Monday.
-Diary entries are included if cal-tex-diary is t.
+Diary entries are included if `cal-tex-diary' is t.
Holidays are included if `cal-tex-holidays' is t."
(interactive "P")
(let* ((n (if arg arg 1))