aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2006-10-28 21:59:56 +0000
committerGlenn Morris2006-10-28 21:59:56 +0000
commitce5c9f22f8ae3cc05e79ebdeecc3078c18a81921 (patch)
tree2c3a6ab57e81b02e3717d445d74b7dc0e9c3715b
parent86ab1238440991ec6edf0ee1861818e8429d613b (diff)
downloademacs-ce5c9f22f8ae3cc05e79ebdeecc3078c18a81921.tar.gz
emacs-ce5c9f22f8ae3cc05e79ebdeecc3078c18a81921.zip
(Writing Calendar Files): Rename section (was "LaTeX Calendar").
Describe new package cal-html.
-rw-r--r--man/calendar.texi48
1 files changed, 42 insertions, 6 deletions
diff --git a/man/calendar.texi b/man/calendar.texi
index 4c424888baf..8b66cb6113e 100644
--- a/man/calendar.texi
+++ b/man/calendar.texi
@@ -35,7 +35,7 @@ about more specialized features.
35* Scroll Calendar:: Bringing earlier or later months onto the screen. 35* Scroll Calendar:: Bringing earlier or later months onto the screen.
36* Counting Days:: How many days are there between two dates? 36* Counting Days:: How many days are there between two dates?
37* General Calendar:: Exiting or recomputing the calendar. 37* General Calendar:: Exiting or recomputing the calendar.
38* LaTeX Calendar:: Print a calendar using LaTeX. 38* Writing Calendar Files:: Writing calendars to files of various formats.
39* Holidays:: Displaying dates of holidays. 39* Holidays:: Displaying dates of holidays.
40* Sunrise/Sunset:: Displaying local times of sunrise and sunset. 40* Sunrise/Sunset:: Displaying local times of sunrise and sunset.
41* Lunar Phases:: Displaying phases of the moon. 41* Lunar Phases:: Displaying phases of the moon.
@@ -341,11 +341,47 @@ buries all buffers related to the calendar, selecting other buffers.
341(If a frame contains a dedicated calendar window, exiting from the 341(If a frame contains a dedicated calendar window, exiting from the
342calendar iconifies that frame.) 342calendar iconifies that frame.)
343 343
344@node LaTeX Calendar 344@node Writing Calendar Files
345@section LaTeX Calendar 345@section Writing Calendar Files
346@cindex calendar and La@TeX{} 346
347 These packages produce files of various formats containing calendar
348and diary entries, for display purposes.
349
350@cindex calendar and HTML
351 The Calendar HTML commands produce files of HTML code that contain
352calendar and diary entries. Each file applies to one month, and has a
353name of the format @file{@var{yyyy}-@var{mm}.html}, where @var{yyyy} and
354@var{mm} are the four-digit year and two-digit month, respectively. The
355variable @code{cal-html-directory} specifies the default output
356directory for the HTML files.
357
358@vindex cal-html-css-default
359 Diary entries enclosed by @code{<} and @code{>} are interpreted as
360HTML tags (for example: this is a diary entry with <font
361color=''red''>some red text</font>). You can change the overall
362appearance of the displayed HTML pages (for example, the color of
363various page elements, header styles) via a stylesheet @file{cal.css} in
364the directory containing the HTML files (see the value of the variable
365@code{cal-html-css-default} for relevant style settings).
347 366
348 The Calendar La@TeX{} commands produce a buffer of La@TeX{} code that 367@kindex t @r{(Calendar mode)}
368@table @kbd
369@item H m
370Generate a one-month calendar (@code{cal-html-cursor-month}).
371@item H y
372Generate a calendar file for each month of a year, as well as an index
373page (@code{cal-html-cursor-year}). By default, this command writes
374files to a @var{yyyy} subdirectory - if this is altered some hyperlinks
375between years will not work.
376@end table
377
378 If the variable @code{cal-html-print-day-number-flag} is
379non-@code{nil}, then the monthly calendars show the day-of-the-year
380number. The variable @code{cal-html-year-index-cols} specifies the
381number of columns in the yearly index page.
382
383@cindex calendar and La@TeX{}
384 The Calendar La@TeX{} commands produce a buffer of La@TeX{} code that
349prints as a calendar. Depending on the command you use, the printed 385prints as a calendar. Depending on the command you use, the printed
350calendar covers the day, week, month or year that point is in. 386calendar covers the day, week, month or year that point is in.
351 387
@@ -401,7 +437,7 @@ If the variable @code{cal-tex-diary} is non-@code{nil} (the default is
401calendars only). If the variable @code{cal-tex-rules} is non-@code{nil} 437calendars only). If the variable @code{cal-tex-rules} is non-@code{nil}
402(the default is @code{nil}), the calendar displays ruled pages 438(the default is @code{nil}), the calendar displays ruled pages
403in styles that have sufficient room. You can use the variable 439in styles that have sufficient room. You can use the variable
404@code{cal-tex-preamble-extra} to insert extra LaTeX commands in the 440@code{cal-tex-preamble-extra} to insert extra La@TeX{} commands in the
405preamble of the generated document if you need to. 441preamble of the generated document if you need to.
406 442
407@node Holidays 443@node Holidays