aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2006-05-06 12:53:25 +0000
committerEli Zaretskii2006-05-06 12:53:25 +0000
commitb00ed2e89cbbb4f4fefc7a08154b276f8f56563c (patch)
tree4c9269310e08c5fe411cb42e8d9723e943bb3b89
parent844040f3f39ce869cb43bf8a26805f7157ad75d2 (diff)
downloademacs-b00ed2e89cbbb4f4fefc7a08154b276f8f56563c.tar.gz
emacs-b00ed2e89cbbb4f4fefc7a08154b276f8f56563c.zip
(Calendar/Diary, Holidays, Displaying the Diary)
(Displaying the Diary, Special Diary Entries, Importing Diary): Replace inforef to emacs-xtra by conditional xref's, depending on @iftex/@ifnottex. (Calendar/Diary) [ifnottex]: Add menu item for "Advanced Calendar/Diary Usage". (Time Intervals) [ifnottex]: @include cal-xtra.texi.
-rw-r--r--man/calendar.texi78
1 files changed, 57 insertions, 21 deletions
diff --git a/man/calendar.texi b/man/calendar.texi
index b48b1d547de..79f2624192d 100644
--- a/man/calendar.texi
+++ b/man/calendar.texi
@@ -24,9 +24,11 @@ particular date; @kbd{Mouse-3} brings up a menu of commonly used
24calendar features that are independent of any particular date. To exit 24calendar features that are independent of any particular date. To exit
25the calendar, type @kbd{q}. 25the calendar, type @kbd{q}.
26 26
27@iftex
27 This chapter describes the basic calendar features. 28 This chapter describes the basic calendar features.
28@inforef{Advanced Calendar/Diary Usage,, emacs-xtra}, for information 29@xref{Advanced Calendar/Diary Usage,,, emacs-xtra}, for information
29about more specialized features. 30about more specialized features.
31@end iftex
30 32
31@menu 33@menu
32* Calendar Motion:: Moving through the calendar; selecting a date. 34* Calendar Motion:: Moving through the calendar; selecting a date.
@@ -43,6 +45,9 @@ about more specialized features.
43* Importing Diary:: Converting diary events to/from other formats. 45* Importing Diary:: Converting diary events to/from other formats.
44* Daylight Savings:: How to specify when daylight savings time is active. 46* Daylight Savings:: How to specify when daylight savings time is active.
45* Time Intervals:: Keeping track of time intervals. 47* Time Intervals:: Keeping track of time intervals.
48@ifnottex
49* Advanced Calendar/Diary Usage:: Advanced Calendar/Diary customization.
50@end ifnottex
46@end menu 51@end menu
47 52
48@node Calendar Motion 53@node Calendar Motion
@@ -444,14 +449,19 @@ window.
444 To view the distribution of holidays for all the dates shown in the 449 To view the distribution of holidays for all the dates shown in the
445calendar, use the @kbd{x} command. This displays the dates that are 450calendar, use the @kbd{x} command. This displays the dates that are
446holidays in a different face (or places a @samp{*} after these dates, if 451holidays in a different face (or places a @samp{*} after these dates, if
447display with multiple faces is not available). @inforef{Calendar 452display with multiple faces is not available).
448Customizing, calendar-holiday-marker, emacs-xtra}. The command applies 453@iftex
449both to the currently visible months and to other months that 454@xref{Calendar Customizing, calendar-holiday-marker,, emacs-xtra}.
450subsequently become visible by scrolling. To turn marking off and erase 455@end iftex
451the current marks, type @kbd{u}, which also erases any diary marks 456@ifnottex
452(@pxref{Diary}). If the variable @code{mark-holidays-in-calendar} is 457@xref{Calendar Customizing, calendar-holiday-marker}.
453non-@code{nil}, creating or updating the calendar marks holidays 458@end ifnottex
454automatically. 459 The command applies both to the currently visible months and to
460other months that subsequently become visible by scrolling. To turn
461marking off and erase the current marks, type @kbd{u}, which also
462erases any diary marks (@pxref{Diary}). If the variable
463@code{mark-holidays-in-calendar} is non-@code{nil}, creating or
464updating the calendar marks holidays automatically.
455 465
456@kindex a @r{(Calendar mode)} 466@kindex a @r{(Calendar mode)}
457@findex list-calendar-holidays 467@findex list-calendar-holidays
@@ -1029,14 +1039,19 @@ current date is visible).
1029 To get a broader view of which days are mentioned in the diary, use 1039 To get a broader view of which days are mentioned in the diary, use
1030the @kbd{m} command. This displays the dates that have diary entries in 1040the @kbd{m} command. This displays the dates that have diary entries in
1031a different face (or places a @samp{+} after these dates, if display 1041a different face (or places a @samp{+} after these dates, if display
1032with multiple faces is not available). @inforef{Calendar Customizing, 1042with multiple faces is not available).
1033diary-entry-marker, emacs-xtra}. The command applies both to the 1043@iftex
1034currently visible months and to other months that subsequently become 1044@xref{Calendar Customizing, diary-entry-marker,, emacs-xtra}.
1035visible by scrolling. To turn marking off and erase the current marks, 1045@end iftex
1036type @kbd{u}, which also turns off holiday marks (@pxref{Holidays}). 1046@ifnottex
1037If the variable @code{mark-diary-entries-in-calendar} is 1047@xref{Calendar Customizing, diary-entry-marker}.
1038non-@code{nil}, creating or updating the calendar marks diary dates 1048@end ifnottex
1039automatically. 1049 The command applies both to the currently visible months and to
1050other months that subsequently become visible by scrolling. To turn
1051marking off and erase the current marks, type @kbd{u}, which also
1052turns off holiday marks (@pxref{Holidays}). If the variable
1053@code{mark-diary-entries-in-calendar} is non-@code{nil}, creating or
1054updating the calendar marks diary dates automatically.
1040 1055
1041@kindex s @r{(Calendar mode)} 1056@kindex s @r{(Calendar mode)}
1042@findex show-all-diary-entries 1057@findex show-all-diary-entries
@@ -1055,7 +1070,13 @@ can customize it like @code{lpr-region} (@pxref{Printing}).
1055 The command @kbd{M-x diary} displays the diary entries for the current 1070 The command @kbd{M-x diary} displays the diary entries for the current
1056date, independently of the calendar display, and optionally for the next 1071date, independently of the calendar display, and optionally for the next
1057few days as well; the variable @code{number-of-diary-entries} specifies 1072few days as well; the variable @code{number-of-diary-entries} specifies
1058how many days to include. @inforef{Diary Customizing,, emacs-xtra}. 1073how many days to include.
1074@iftex
1075@xref{Diary Customizing,,, emacs-xtra}.
1076@end iftex
1077@ifnottex
1078@xref{Diary Customizing, number-of-diary-entries}.
1079@end ifnottex
1059 1080
1060 If you put @code{(diary)} in your @file{.emacs} file, this 1081 If you put @code{(diary)} in your @file{.emacs} file, this
1061automatically displays a window with the day's diary entries, when you 1082automatically displays a window with the day's diary entries, when you
@@ -1360,7 +1381,12 @@ entry applies to all months of the year.@refill
1360specifying the name of a face or a single-character string to use when 1381specifying the name of a face or a single-character string to use when
1361marking the entry in the calendar. Most generally, sexp diary entries 1382marking the entry in the calendar. Most generally, sexp diary entries
1362can perform arbitrary computations to determine when they apply. 1383can perform arbitrary computations to determine when they apply.
1363@inforef{Sexp Diary Entries,, emacs-xtra}. 1384@iftex
1385@xref{Sexp Diary Entries,,, emacs-xtra}.
1386@end iftex
1387@ifnottex
1388@inforef{Sexp Diary Entries}.
1389@end ifnottex
1364 1390
1365@node Appointments 1391@node Appointments
1366@section Appointments 1392@section Appointments
@@ -1479,8 +1505,14 @@ and adds the results to an Emacs diary file. For example:
1479 1505
1480@noindent 1506@noindent
1481You can use an @code{#include} directive to add the import file contents 1507You can use an @code{#include} directive to add the import file contents
1482to the main diary file, if these are different files. @inforef{Fancy Diary 1508to the main diary file, if these are different files.
1483Display,, emacs-xtra}. 1509@iftex
1510@xref{Fancy Diary Display,,, emacs-xtra}.
1511@end iftex
1512@ifnottex
1513@xref{Fancy Diary Display}.
1514@end ifnottex
1515
1484 1516
1485@findex icalendar-export-file, icalendar-export-region 1517@findex icalendar-export-file, icalendar-export-region
1486 Use @code{icalendar-export-file} to interactively export an entire 1518 Use @code{icalendar-export-file} to interactively export an entire
@@ -1608,6 +1640,10 @@ you change the value of any of timeclock's customizable variables, you
1608should run the command @kbd{M-x timeclock-reread-log} to update the 1640should run the command @kbd{M-x timeclock-reread-log} to update the
1609data in Emacs from the file. 1641data in Emacs from the file.
1610 1642
1643@ifnottex
1644@include cal-xtra.texi
1645@end ifnottex
1646
1611@ignore 1647@ignore
1612 arch-tag: 4531ef09-9df3-449d-9c52-2b5a4a337f92 1648 arch-tag: 4531ef09-9df3-449d-9c52-2b5a4a337f92
1613@end ignore 1649@end ignore