%PDF- <> %âãÏÓ endobj 2 0 obj <> endobj 3 0 obj <>/ExtGState<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI] >>/Annots[ 28 0 R 29 0 R] /MediaBox[ 0 0 595.5 842.25] /Contents 4 0 R/Group<>/Tabs/S>> endobj ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<>endobj 2 0 obj<> endobj 2 0 obj<>endobj 2 0 obj<>es 3 0 R>> endobj 2 0 obj<> ox[ 0.000000 0.000000 609.600000 935.600000]/Fi endobj 3 0 obj<> endobj 7 1 obj<>/ProcSet[/PDF/Text/ImageB/ImageC/ImageI]>>/Subtype/Form>> stream
;ELC ;;; Compiled ;;; in Emacs version 25.2.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\301&\210\312\313\314\315\316\317\311\304&\210\312\320\305\321\316\322\311\304&\210\312\323\324\325\316\326\311\304&\210\312\327\330\331\332\333\316\334\311\304& \210\312\335\336\337\340\341\316\322\311\304& \210\312\342\343\344\316\317\340\341\311\304& \207" [require calendar diary-lib custom-declare-group calendar-html nil "Options for HTML calendars." :prefix "cal-html-" :group custom-declare-variable cal-html-directory "~/public_html" "Directory for HTML pages generated by cal-html." :type string cal-html-print-day-number-flag "Non-nil means print the day-of-the-year number in the monthly cal-html page." boolean cal-html-year-index-cols 3 "Number of columns in the cal-html yearly index page." integer cal-html-day-abbrev-array calendar-day-abbrev-array "Array of seven strings for abbreviated day names (starting with Sunday)." :set-after (calendar-day-abbrev-array) (vector (string :tag "Sun") (string :tag "Mon") (string :tag "Tue") (string :tag "Wed") (string :tag "Thu") (string :tag "Fri") (string :tag "Sat")) cal-html-holidays t "If non-nil, include holidays as well as diary entries." :version "24.3" cal-html-css-default (concat "<STYLE TYPE=\"text/css\">\n" " BODY { background: #bde; }\n" " H1 { text-align: center; }\n" " TABLE { padding: 2pt; }\n" " TH { background: #dee; }\n" " TABLE.year { width: 100%; }\n" " TABLE.agenda { width: 100%; }\n" " TABLE.header { width: 100%; text-align: center; }\n" " TABLE.minical TD { background: white; text-align: center; }\n" " TABLE.agenda TD { background: white; text-align: left; }\n" " TABLE.agenda TH { text-align: left; width: 20%; }\n" " SPAN.NO-YEAR { color: #0b3; font-weight: bold; }\n" " SPAN.ANN { color: #0bb; font-weight: bold; }\n" " SPAN.BLOCK { color: #048; font-style: italic; }\n" " SPAN.HOLIDAY { color: #f00; font-weight: bold; }\n" "</STYLE>\n\n") "Default cal-html css style. You can override this with a \"cal.css\" file."] 10) #@28 HTML code for end of page. (defconst cal-html-e-document-string "<BR><BR>\n</BODY>\n</HTML>" (#$ . 2430)) #@39 HTML code for beginning of table row. (defconst cal-html-b-tablerow-string "<TR>\n" (#$ . 2542)) #@33 HTML code for end of table row. (defconst cal-html-e-tablerow-string "</TR>\n" (#$ . 2645)) #@40 HTML code for beginning of table data. (defconst cal-html-b-tabledata-string " <TD>" (#$ . 2743)) #@34 HTML code for end of table data. (defconst cal-html-e-tabledata-string " </TD>\n" (#$ . 2848)) #@42 HTML code for beginning of table header. (defconst cal-html-b-tableheader-string " <TH>" (#$ . 2950)) #@36 HTML code for end of table header. (defconst cal-html-e-tableheader-string " </TH>\n" (#$ . 3059)) #@29 HTML code for end of table. (defconst cal-html-e-table-string "</TABLE>\n<!-- ================================================== -->\n" (#$ . 3165)) #@67 HTML code for a day in the minical - links NUM to month-page#NUM. (defconst cal-html-minical-day-format " <TD><a href=%s#%d>%d</TD>\n" (#$ . 3320)) #@30 Initial block for html page. (defconst cal-html-b-document-string (concat "<HTML>\n" "<HEAD>\n" "<TITLE>Calendar</TITLE>\n" "<!--This buffer was produced by cal-html.el-->\n\n" cal-html-css-default "<LINK REL=\"stylesheet\" TYPE=\"text/css\" HREF=\"cal.css\">\n" "</HEAD>\n\n" "<BODY>\n\n") (#$ . 3475)) #@47 Alist of symbols and their HTML replacements. (defconst cal-html-html-subst-list '(("&" . "&") ("\n" . "<BR>\n")) (#$ . 3785)) #@32 Return STRING as html comment. (defalias 'cal-html-comment #[(string) "\301\302\303\304\305#\"\207" [string format "<!-- ====== %s ====== -->\n" replace-regexp-in-string "--" "++"] 6 (#$ . 3922)]) #@50 Return a hyperlink to url LINK with text STRING. (defalias 'cal-html-href #[(link string) "\302\303 #\207" [link string format "<A HREF=\"%s\">%s</A>"] 4 (#$ . 4130)]) #@34 Return STRING as html header h3. (defalias 'cal-html-h3 #[(string) "\301\302\"\207" [string format "\n <H3>%s</H3>\n"] 3 (#$ . 4305)]) #@34 Return STRING as html header h1. (defalias 'cal-html-h1 #[(string) "\301\302\"\207" [string format "\n <H1>%s</H1>\n"] 3 (#$ . 4454)]) #@37 Return STRING as html table header. (defalias 'cal-html-th #[(string) "\303\304 \n$\207" [cal-html-b-tableheader-string string cal-html-e-tableheader-string format "%s%s%s"] 5 (#$ . 4603)]) #@38 Return table tag with attribute ARG. (defalias 'cal-html-b-table #[(arg) "\301\302\"\207" [arg format "\n<TABLE %s>\n"] 3 (#$ . 4800)]) #@105 Return name of html page for numeric MONTH and four-digit YEAR. For example, "2006-08.html" for 8 2006. (defalias 'cal-html-monthpage-name #[(month year) "\302\303 #\207" [year month format "%d-%.2d.html"] 4 (#$ . 4944)]) #@200 Insert a link to the html page for numeric MONTH and four-digit YEAR. If optional argument CHANGE-DIR is non-nil and MONTH is 1 or 2, the link points to a different year and so has a directory part. (defalias 'cal-html-insert-link-monthpage #[(month year &optional change-dir) "\303\304\205 \305\235\205 \306\307\n\"\310 \n\"P\311 !\"!c\207" [change-dir month year cal-html-h3 cal-html-href (1 12) format "../%d/" cal-html-monthpage-name calendar-month-name] 6 (#$ . 5174)]) #@74 Insert a link tagged with MONTH name, to index page for four-digit YEAR. (defalias 'cal-html-insert-link-yearpage #[(month year) "\302\303\304\305!\306\307\310 !\"#!c\207" [month year cal-html-h1 format "%s %s" calendar-month-name cal-html-href "index.html" number-to-string] 8 (#$ . 5659)]) #@155 Prompt for the html calendar output directory for four-digit YEAR. Return the expanded directory name, which is based on `cal-html-directory' by default. (defalias 'cal-html-year-dir-ask-user #[(year) "\302\303\304\302\305\306\" \"\"!\207" [year cal-html-directory expand-file-name read-directory-name "Enter HTML calendar directory name: " format "%d"] 7 (#$ . 5959)]) #@140 Insert the header for the numeric MONTH page for four-digit YEAR. Contains links to previous and next month and year, and current minical. (defalias 'cal-html-insert-month-header #[(month year) "\306\307!c\210c\210 c\210\310\311\f\312W\203 \fT\313\f_ \314\211$\315\n\"T\n\245\n\312W\203: \316V\203: \fS\f\316W\203C \fS*\317 \f\320#\210\310\311\f\312W\203W \fT\313\f_ \314\316$\315\n\"T\n\245\n\312W\203y \316V\203y \fS\f\316W\203\202 \fS*\321 \f\"\210\310\311\f\312W\203\225 \fT\313\f_ \314\316$\315\n\"T\n\245\n\312W\203\267 \316V\203\267 \fS\f\316W\203\300 \fS*\317 \f\320#\210c\210 c\210\310\311\f\312W\203\333 \fT\313\f_ \314\211$\315\n\"T\n\245\n\312W\203\375 \316V\203\375 \fS\f\316W\203\fS*\322 \f\"\210c\210c\210c\207" [cal-html-b-tablerow-string cal-html-b-tabledata-string macro-y nmonths year month cal-html-b-table "class=header" 12 nil 0 + -1 mod 1 cal-html-insert-link-monthpage t cal-html-insert-link-yearpage cal-html-insert-minical cal-html-e-tabledata-string cal-html-e-tablerow-string cal-html-e-table-string] 5 (#$ . 6337)]) (autoload 'holiday-in-range "holidays") #@45 Insert a minical for numeric MONTH of YEAR. (defalias 'cal-html-insert-minical #[(month year) "\306\307\310 E!\nZ\311\" \211\312U\203A \211\313W\203# \314 !S \315\246\313U\2059 \316\246\313U?\2069 \317\246\313U)\203A \320\202E \321SH*\306\322\307\f E!\nZZ\311\"\323 \"\324\325\326!\327\330!\261\210c\210\311\313 ! !W\203\220 \331\"\306 \n\\\311\"H!c\210 T\211 \202s *#c\210c\210\313$!$!W\203\267 %&\261\210$T\211$\202\241 *\f\313 ! !W\203\370 \332' \211T$c\210\306\333 \310#\311\"\313U\203\357 T\fU\204\357 #\261\210 T\211 \202\300 * \313 ! !W\203%&\261\210 T\211 \202.#(\325\334!\261\207" [month year calendar-week-start-day blank-days last end-blank-days mod calendar-day-of-week 1 7 2 0 abs 4 100 400 29 [31 28 31 30 31 30 31 31 30 31 30 31] 6 cal-html-monthpage-name nil cal-html-comment "MINICAL" cal-html-b-table "class=minical border=1 align=center" cal-html-th format + "MINICAL end" monthpage-name date cal-html-b-tablerow-string i --dotimes-limit-- cal-html-day-abbrev-array cal-html-e-tablerow-string _i cal-html-b-tabledata-string cal-html-e-tabledata-string cal-html-minical-day-format cal-html-e-table-string] 7 (#$ . 7488)]) #@103 Make a one page yearly mini-calendar for four-digit YEAR. There are 12/cols rows of COLS months each. (defalias 'cal-html-insert-year-minicals #[(year cols) "c\210\306\307 !!c\210\310\311!\n\261\210\312\313\fW\203F c\210\314T \"\210\315T \"\210c\210\316T\"\313U\203? \n\261\210T\211\202 *\261\207" [cal-html-b-document-string year cal-html-b-tablerow-string i --dotimes-limit-- cal-html-b-tabledata-string cal-html-h1 number-to-string cal-html-b-table "class=year" 12 0 cal-html-insert-link-monthpage cal-html-insert-minical mod cal-html-e-tabledata-string cols cal-html-e-tablerow-string cal-html-e-table-string cal-html-e-document-string] 4 (#$ . 8713)]) #@114 Protect special characters in STRING from HTML. Characters are replaced according to `cal-html-html-subst-list'. (defalias 'cal-html-htmlify-string #[(string) ";\203 \302\303\304\305 \"!\306#\207\307\207" [string cal-html-html-subst-list replace-regexp-in-string regexp-opt mapcar car #[(x) "\302 \"A\207" [x cal-html-html-subst-list assoc] 3] ""] 5 (#$ . 9403)]) #@130 Convert a diary entry ENTRY to html with the appropriate class specifier. Optional argument CLASS is the class specifier to use. (defalias 'cal-html-htmlify-entry #[(entry &optional class) "\2061 \303\304\305 8\"\203 \306\2021 \303\307\305 8\"\203 \310\2021 \303\311\305 @8!\305 8\"\2040 \312\2021 \313\314\315\n\316 A@!#)\207" [class entry start string-match "block" 2 "BLOCK" "anniversary" "ANN" number-to-string "NO-YEAR" "NORMAL" format "<span class=%s>%s</span>" cal-html-htmlify-string] 5 (#$ . 9778)]) #@242 Return a string of concatenated, HTML-ified diary entries. DATE-LIST is a list of diary entries. Return only those matching DATE. Optional argument HOLIDAYS non-nil means the input is actually a list of holidays, rather than diary entries. (defalias 'cal-html-htmlify-list #[(date-list date &optional holidays) "\305\306\307 \307\211\203' @\211@\203 \310\f\n@\"\203 \nBA\211\204\f \307\311!+\312#\207" [result date-list p --dolist-tail-- date mapconcat #[(x) "\302 \205 \303\"\207" [x holidays cal-html-htmlify-entry "HOLIDAY"] 3] nil calendar-date-equal reverse "<BR>\n "] 6 (#$ . 10298)]) #@67 Generate a list of all diary-entries from absolute date D1 to D2. (defalias 'cal-html-list-diary-entries #[(d1 d2) "\3031\n \304 0\202 \305\306\"\210)\307\207\205 \310\311 !\n ZT\312#\207" [#1=#:err d1 d2 (debug error) diary-check-diary-file message "Not adding diary entries: %S" nil diary-list-entries calendar-gregorian-from-absolute t] 4 (#$ . 10915)]) #@214 Insert HTML commands for a range of days in monthly calendars. HTML commands are inserted for the days of the numeric MONTH in four-digit YEAR. Includes diary entries in DIARY-LIST, and holidays in HOLIDAY-LIST. (defalias 'cal-html-insert-agenda-days #[(month year diary-list holiday-list) "\306\307\310 E!\nZ\311\" \211\312U\203@ \211\313W\203\"