diff options
| author | Richard M. Stallman | 1995-11-19 21:27:12 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-11-19 21:27:12 +0000 |
| commit | ab3a4359338aee8adb3da6f416a5dadd4e70ffef (patch) | |
| tree | 316fcbd4c4718ccbd9d5fb31ee5d59f9286a8da0 | |
| parent | 909a7944cb8ec8b8591e75c2cb8acebdbb4d52f6 (diff) | |
| download | emacs-ab3a4359338aee8adb3da6f416a5dadd4e70ffef.tar.gz emacs-ab3a4359338aee8adb3da6f416a5dadd4e70ffef.zip | |
(cal-tex-version): Deleted.
(cal-tex-cursor-year-landscape): Doc fix.
(cal-tex-cursor-filofax-week): Renamed from cal-tex-cursor-week6.
(cal-tex-cursor-filofax-2week): Renamed from cal-tex-cursor-week5.
(cal-tex-cursor-week-monday): Renamed from cal-tex-cursor-week4.
(cal-tex-cursor-week-iso): Renamed from cal-tex-cursor-week3.
| -rw-r--r-- | lisp/calendar/cal-tex.el | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/lisp/calendar/cal-tex.el b/lisp/calendar/cal-tex.el index c0ec98bbec4..0012009f2b0 100644 --- a/lisp/calendar/cal-tex.el +++ b/lisp/calendar/cal-tex.el | |||
| @@ -49,11 +49,6 @@ | |||
| 49 | (autoload 'calendar-holiday-list "holidays" nil t) | 49 | (autoload 'calendar-holiday-list "holidays" nil t) |
| 50 | (autoload 'calendar-iso-from-absolute "cal-iso" nil t) | 50 | (autoload 'calendar-iso-from-absolute "cal-iso" nil t) |
| 51 | 51 | ||
| 52 | |||
| 53 | (defun cal-tex-version () | ||
| 54 | (interactive) | ||
| 55 | (message "Version 1, October 11, 1995")) | ||
| 56 | |||
| 57 | ;;; | 52 | ;;; |
| 58 | ;;; Customizable variables | 53 | ;;; Customizable variables |
| 59 | ;;; | 54 | ;;; |
| @@ -252,7 +247,7 @@ Optional prefix argument specifies number of years." | |||
| 252 | 247 | ||
| 253 | (defun cal-tex-cursor-year-landscape (&optional arg) | 248 | (defun cal-tex-cursor-year-landscape (&optional arg) |
| 254 | "Make a buffer with LaTeX commands for the year cursor is on. | 249 | "Make a buffer with LaTeX commands for the year cursor is on. |
| 255 | Optional prefix argument specifies numeber of years." | 250 | Optional prefix argument specifies number of years." |
| 256 | (interactive "P") | 251 | (interactive "P") |
| 257 | (cal-tex-year (extract-calendar-year (calendar-cursor-to-date t)) | 252 | (cal-tex-year (extract-calendar-year (calendar-cursor-to-date t)) |
| 258 | (if arg arg 1) | 253 | (if arg arg 1) |
| @@ -597,7 +592,8 @@ this is only an upper bound." | |||
| 597 | ;;; | 592 | ;;; |
| 598 | 593 | ||
| 599 | (defun cal-tex-cursor-week (&optional arg) | 594 | (defun cal-tex-cursor-week (&optional arg) |
| 600 | "One page calendar for week indicated by cursor. | 595 | "Make a buffer with LaTeX commands for a two-page one-week calendar. |
| 596 | It applies to the week that point is in. | ||
| 601 | Optional prefix argument specifies number of weeks. | 597 | Optional prefix argument specifies number of weeks. |
| 602 | Holidays are included if `cal-tex-holidays' is t." | 598 | Holidays are included if `cal-tex-holidays' is t." |
| 603 | (interactive "P") | 599 | (interactive "P") |
| @@ -647,8 +643,8 @@ Holidays are included if `cal-tex-holidays' is t." | |||
| 647 | (run-hooks 'cal-tex-hook))) | 643 | (run-hooks 'cal-tex-hook))) |
| 648 | 644 | ||
| 649 | (defun cal-tex-cursor-week2 (&optional arg) | 645 | (defun cal-tex-cursor-week2 (&optional arg) |
| 650 | "Make a buffer with LaTeX commands for the week cursor is on. | 646 | "Make a buffer with LaTeX commands for a two-page one-week calendar. |
| 651 | The printed output will be on two pages. | 647 | It applies to the week that point is in. |
| 652 | Optional prefix argument specifies number of weeks. | 648 | Optional prefix argument specifies number of weeks. |
| 653 | Holidays are included if `cal-tex-holidays' is t." | 649 | Holidays are included if `cal-tex-holidays' is t." |
| 654 | (interactive "P") | 650 | (interactive "P") |
| @@ -726,10 +722,10 @@ Holidays are included if `cal-tex-holidays' is t." | |||
| 726 | (cal-tex-end-document) | 722 | (cal-tex-end-document) |
| 727 | (run-hooks 'cal-tex-hook))) | 723 | (run-hooks 'cal-tex-hook))) |
| 728 | 724 | ||
| 729 | (defun cal-tex-cursor-week3 (&optional arg) | 725 | (defun cal-tex-cursor-week-iso (&optional arg) |
| 730 | "One page ISO style calendar for the ISO week indicated by cursor. | 726 | "Make a buffer with LaTeX commands for a one page ISO-style weekly calendar. |
| 731 | Optional prefix argument specifies number of weeks. | 727 | Optional prefix argument specifies number of weeks. |
| 732 | Diary entries are included if cal-tex-diary is t. | 728 | Diary entries are included if `cal-tex-diary' is t. |
| 733 | Holidays are included if `cal-tex-holidays' is t." | 729 | Holidays are included if `cal-tex-holidays' is t." |
| 734 | (interactive "P") | 730 | (interactive "P") |
| 735 | (let* ((n (if arg arg 1)) | 731 | (let* ((n (if arg arg 1)) |
| @@ -857,10 +853,11 @@ Holidays are included if `cal-tex-holidays' is t." | |||
| 857 | (cal-tex-arg height) | 853 | (cal-tex-arg height) |
| 858 | (cal-tex-nl)))) | 854 | (cal-tex-nl)))) |
| 859 | 855 | ||
| 860 | (defun cal-tex-cursor-week4 (&optional arg) | 856 | (defun cal-tex-cursor-week-monday (&optional arg) |
| 861 | "One page calendar for week indicated by cursor. | 857 | "Make a buffer with LaTeX commands for a two-page one-week calendar. |
| 862 | Week begins on Monday. | 858 | It applies to the week that point is in, and starts on Monday. |
| 863 | Optional prefix argument specifies number of weeks." | 859 | Optional prefix argument specifies number of weeks. |
| 860 | Holidays are included if `cal-tex-holidays' is t." | ||
| 864 | (interactive "P") | 861 | (interactive "P") |
| 865 | (let* ((n (if arg arg 1)) | 862 | (let* ((n (if arg arg 1)) |
| 866 | (date (calendar-gregorian-from-absolute | 863 | (date (calendar-gregorian-from-absolute |
| @@ -931,10 +928,10 @@ Optional prefix argument specifies number of weeks." | |||
| 931 | (cal-tex-e-framebox) | 928 | (cal-tex-e-framebox) |
| 932 | (cal-tex-hspace "1cm"))) | 929 | (cal-tex-hspace "1cm"))) |
| 933 | 930 | ||
| 934 | (defun cal-tex-cursor-week5 (&optional arg) | 931 | (defun cal-tex-cursor-filofax-2week (&optional arg) |
| 935 | "Two-weeks-at-a-glance Filofax style calendar for week indicated by cursor. | 932 | "Two-weeks-at-a-glance Filofax style calendar for week indicated by cursor. |
| 936 | Optional prefix argument specifies number of weeks. | 933 | Optional prefix argument specifies number of weeks. |
| 937 | Diary entries are included if cal-tex-diary is t. | 934 | Diary entries are included if `cal-tex-diary' is t. |
| 938 | Holidays are included if `cal-tex-holidays' is t." | 935 | Holidays are included if `cal-tex-holidays' is t." |
| 939 | (interactive "P") | 936 | (interactive "P") |
| 940 | (let* ((n (if arg arg 1)) | 937 | (let* ((n (if arg arg 1)) |
| @@ -1032,11 +1029,11 @@ Holidays are included if `cal-tex-holidays' is t." | |||
| 1032 | (cal-tex-end-document) | 1029 | (cal-tex-end-document) |
| 1033 | (run-hooks 'cal-tex-hook))) | 1030 | (run-hooks 'cal-tex-hook))) |
| 1034 | 1031 | ||
| 1035 | (defun cal-tex-cursor-week6 (&optional arg) | 1032 | (defun cal-tex-cursor-filofax-week (&optional arg) |
| 1036 | "One-week-at-a-glance Filofax style calendar for week indicated by cursor. | 1033 | "One-week-at-a-glance Filofax style calendar for week indicated by cursor. |
| 1037 | Optional prefix argument specifies number of weeks. | 1034 | Optional prefix argument specifies number of weeks. |
| 1038 | Weeks start on Monday. | 1035 | Weeks start on Monday. |
| 1039 | Diary entries are included if cal-tex-diary is t. | 1036 | Diary entries are included if `cal-tex-diary' is t. |
| 1040 | Holidays are included if `cal-tex-holidays' is t." | 1037 | Holidays are included if `cal-tex-holidays' is t." |
| 1041 | (interactive "P") | 1038 | (interactive "P") |
| 1042 | (let* ((n (if arg arg 1)) | 1039 | (let* ((n (if arg arg 1)) |