aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2001-04-25 05:57:59 +0000
committerEli Zaretskii2001-04-25 05:57:59 +0000
commit010e81be85874945eeb20e362c8464d3d758e92f (patch)
tree8199ec64491a1ba25d4044d856f33209f8f6dfdc
parenta8575fe53124527ec1284d3da52463c65d7b0a36 (diff)
downloademacs-010e81be85874945eeb20e362c8464d3d758e92f.tar.gz
emacs-010e81be85874945eeb20e362c8464d3d758e92f.zip
Add Option Index, produced only in the on-line version of the manual.
-rw-r--r--man/emacs.texi37
1 files changed, 37 insertions, 0 deletions
diff --git a/man/emacs.texi b/man/emacs.texi
index 424199dafd9..4b4a80fbb59 100644
--- a/man/emacs.texi
+++ b/man/emacs.texi
@@ -3,6 +3,12 @@
3@setchapternewpage odd 3@setchapternewpage odd
4@settitle GNU Emacs Manual 4@settitle GNU Emacs Manual
5@setfilename ../info/emacs 5@setfilename ../info/emacs
6@c The Option Index is produced only in the on-line version,
7@c because the index entries related to command-line options
8@c tend to point to the same pages and all begin with a dash.
9@ifnottex
10@defcodeindex op
11@end ifnottex
6@synindex pg cp 12@synindex pg cp
7 13
8@c The edition number appears in several places in this file 14@c The edition number appears in several places in this file
@@ -142,6 +148,10 @@ Indexes (nodes containing large menus)
142* Command Index:: An item for each command name. 148* Command Index:: An item for each command name.
143* Variable Index:: An item for each documented variable. 149* Variable Index:: An item for each documented variable.
144* Concept Index:: An item for each concept. 150* Concept Index:: An item for each concept.
151@c This is last because @ifnottex leaves an empty line.
152@ifnottex
153* Option Index:: An item for every command-line option.
154@end ifnottex
145 155
146Important General Concepts 156Important General Concepts
147* Screen:: How to interpret what you see on the screen. 157* Screen:: How to interpret what you see on the screen.
@@ -1439,13 +1449,40 @@ edit files while running shell commands.
1439@include ack.texi 1449@include ack.texi
1440@end ifinfo 1450@end ifinfo
1441 1451
1452@c The Option Index is produced only in the on-line version,
1453@c because the index entries related to command-line options
1454@c tend to point to the same pages and all begin with a dash.
1455@c This, and the need to keep the node links consistent, are
1456@c the reasons for the funky @iftex/@ifnottex dance below.
1457@c The Option Index is _not_ before Key Index, because that
1458@c would require changes in the glossary.texi's @node line.
1459@c It is not after Concept Index for similar reasons.
1460
1461@iftex
1442@node Key Index, Command Index, Glossary, Top 1462@node Key Index, Command Index, Glossary, Top
1443@unnumbered Key (Character) Index 1463@unnumbered Key (Character) Index
1444@printindex ky 1464@printindex ky
1465@end iftex
1466
1467@ifnottex
1468@node Key Index, Option Index, Glossary, Top
1469@unnumbered Key (Character) Index
1470@printindex ky
1471
1472@node Option Index, Command Index, Key Index, Top
1473@unnumbered Command-Line Options Index
1474@printindex op
1445 1475
1476@node Command Index, Variable Index, Option Index, Top
1477@unnumbered Command and Function Index
1478@printindex fn
1479@end ifnottex
1480
1481@iftex
1446@node Command Index, Variable Index, Key Index, Top 1482@node Command Index, Variable Index, Key Index, Top
1447@unnumbered Command and Function Index 1483@unnumbered Command and Function Index
1448@printindex fn 1484@printindex fn
1485@end iftex
1449 1486
1450@node Variable Index, Concept Index, Command Index, Top 1487@node Variable Index, Concept Index, Command Index, Top
1451@unnumbered Variable Index 1488@unnumbered Variable Index