Mercurial > hg > xemacs-beta
comparison man/info.texi @ 398:74fd4e045ea6 r21-2-29
Import from CVS: tag r21-2-29
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:13:30 +0200 |
parents | cc15677e0335 |
children | 697ef44129c6 |
comparison
equal
deleted
inserted
replaced
397:f4aeb21a5bad | 398:74fd4e045ea6 |
---|---|
1 \input texinfo @c -*-texinfo-*- | 1 \input texinfo @c -*-texinfo-*- |
2 @comment %**start of header | 2 @comment %**start of header |
3 @setfilename ../info/info.info | 3 @setfilename ../info/info.info |
4 @settitle Info 1.0 | 4 @settitle Info |
5 @comment %**end of header | 5 @comment %**end of header |
6 @comment $Id: info.texi,v 1.4 1998/06/30 06:35:28 steve Exp $ | 6 @comment $Id: info.texi,v 1.4.2.4 2000/01/18 07:27:42 yoshiki Exp $ |
7 | 7 |
8 @dircategory Texinfo documentation system | 8 @dircategory Texinfo documentation system |
9 @direntry | 9 @direntry |
10 * Info: (info). Documentation browsing system. | 10 * Info: (info). Documentation browsing system. |
11 @end direntry | 11 @end direntry |
12 | 12 |
13 @ifinfo | 13 @ifinfo |
14 This file describes how to use Info, | 14 This file describes how to use Info, the on-line, menu-driven GNU |
15 the on-line, menu-driven GNU documentation system. | 15 documentation system. |
16 | 16 |
17 Copyright (C) 1989, 92, 96, 97 Free Software Foundation, Inc. | 17 Copyright (C) 1989, 92, 96, 97, 98, 99 Free Software Foundation, Inc. |
18 | 18 |
19 Permission is granted to make and distribute verbatim copies of | 19 Permission is granted to make and distribute verbatim copies of |
20 this manual provided the copyright notice and this permission notice | 20 this manual provided the copyright notice and this permission notice |
21 are preserved on all copies. | 21 are preserved on all copies. |
22 | 22 |
42 @title Info | 42 @title Info |
43 @subtitle The online, menu-driven GNU documentation system | 43 @subtitle The online, menu-driven GNU documentation system |
44 @author Brian Fox | 44 @author Brian Fox |
45 @page | 45 @page |
46 @vskip 0pt plus 1filll | 46 @vskip 0pt plus 1filll |
47 Copyright @copyright{} 1989, 1992, 1993, 1996, 1997 Free Software | 47 Copyright @copyright{} 1989, 92, 93, 96, 97, 98, 99 Free Software |
48 Foundation, Inc. | 48 Foundation, Inc. |
49 @sp 2 | 49 @sp 2 |
50 | |
51 Published by the Free Software Foundation @* | 50 Published by the Free Software Foundation @* |
52 59 Temple Place - Suite 330 @* | 51 59 Temple Place - Suite 330 @* |
53 Boston, MA 02111-1307, USA. | 52 Boston, MA 02111-1307, USA. |
54 | 53 |
55 Permission is granted to make and distribute verbatim copies of | 54 Permission is granted to make and distribute verbatim copies of |
65 into another language, under the above conditions for modified versions, | 64 into another language, under the above conditions for modified versions, |
66 except that this permission notice may be stated in a translation approved | 65 except that this permission notice may be stated in a translation approved |
67 by the Free Software Foundation. | 66 by the Free Software Foundation. |
68 @end titlepage | 67 @end titlepage |
69 | 68 |
70 @ifinfo | 69 @node Top |
71 @node Top, Getting Started, , (dir) | |
72 @top Info: An Introduction | 70 @top Info: An Introduction |
73 | 71 |
74 Info is a program for reading documentation, which you are using now. | 72 Info is a program for reading documentation, which you might be using |
75 | 73 now to read this. |
76 To learn how to use Info, type the command @kbd{h}. It brings you | 74 |
77 to a programmed instruction sequence. | 75 To learn how to use Info, type the command @kbd{h} while using the Info |
78 | 76 program. It brings you to a programmed instruction sequence. |
79 @c Need to make sure that `Info-help' goes to the right node, | |
80 @c which is the first node of the first chapter. (It should.) | |
81 @c (Info-find-node "info" | |
82 @c (if (< (window-height) 23) | |
83 @c "Help-Small-Screen" | |
84 @c "Help"))) | |
85 | |
86 To learn advanced Info commands, type @kbd{n} twice. This brings you to | |
87 @cite{Info for Experts}, skipping over the `Getting Started' chapter. | |
88 @end ifinfo | |
89 | 77 |
90 @menu | 78 @menu |
91 * Getting Started:: Getting started using an Info reader. | 79 * Getting Started:: Getting started using an Info reader. |
92 * Advanced Info:: Advanced commands within Info. | 80 * Advanced Info:: Advanced commands within Info. |
93 * Create an Info File:: How to make your own Info file. | 81 * Creating an Info File:: How to make your own Info file. |
94 * The Standalone Info Program: (info-stnd.info). | |
95 @end menu | 82 @end menu |
96 | 83 |
97 @node Getting Started, Advanced Info, Top, Top | 84 @node Getting Started, Advanced Info, Top, Top |
98 @comment node-name, next, previous, up | 85 @comment node-name, next, previous, up |
99 @chapter Getting Started | 86 @chapter Getting Started |
100 | 87 |
101 This first part of the Info manual describes how to get around inside | 88 This first part of the Info manual describes how to get around inside |
102 of Info. The second part of the manual describes various advanced | 89 of Info. The second part of the manual describes various advanced |
103 Info commands, and how to write an Info as distinct from a Texinfo | 90 Info commands, and how to write an Info as distinct from a Texinfo |
104 file. The third part is about how to generate Info files from | 91 file. The third part is about how to generate Info files from |
105 Texinfo files. | 92 Texinfo files. |
106 | 93 |
107 @iftex | 94 @iftex |
108 This manual is primarily designed for use on a computer, so that you can | 95 This manual is primarily designed for use on a computer, so that you can |
109 try Info commands while reading about them. Reading it on paper is less | 96 try Info commands while reading about them. Reading it on paper is less |
110 effective, since you must take it on faith that the commands described | 97 effective, since you must take it on faith that the commands described |
111 really do what the manual says. By all means go through this manual now | 98 really do what the manual says. By all means go through this manual now |
112 that you have it; but please try going through the on-line version as | 99 that you have it; but please try going through the on-line version as |
113 well. | 100 well. |
114 | 101 |
115 There are two ways of looking at the online version of this manual: | 102 There are two ways of looking at the online version of this manual: |
116 | 103 |
117 @enumerate | 104 @enumerate |
118 @item | 105 @item |
338 actually just part of the text of the node formatted specially so that | 325 actually just part of the text of the node formatted specially so that |
339 Info can interpret it. The beginning of a menu is always identified | 326 Info can interpret it. The beginning of a menu is always identified |
340 by a line which starts with @samp{* Menu:}. A node contains a menu if and | 327 by a line which starts with @samp{* Menu:}. A node contains a menu if and |
341 only if it has a line in it which starts that way. The only menu you | 328 only if it has a line in it which starts that way. The only menu you |
342 can use at any moment is the one in the node you are in. To use a | 329 can use at any moment is the one in the node you are in. To use a |
343 menu in any other node, you must move to that node first. | 330 menu in any other node, you must move to that node first. |
344 | 331 |
345 After the start of the menu, each line that starts with a @samp{*} | 332 After the start of the menu, each line that starts with a @samp{*} |
346 identifies one subtopic. The line usually contains a brief name | 333 identifies one subtopic. The line usually contains a brief name |
347 for the subtopic (followed by a @samp{:}), the name of the node that talks | 334 for the subtopic (followed by a @samp{:}), the name of the node that talks |
348 about that subtopic, and optionally some further description of the | 335 about that subtopic, and optionally some further description of the |
425 | 412 |
426 If you move the cursor to one of the menu subtopic lines, then you do | 413 If you move the cursor to one of the menu subtopic lines, then you do |
427 not need to type the argument: you just type a Return, and it stands for | 414 not need to type the argument: you just type a Return, and it stands for |
428 the subtopic of the line you are on. | 415 the subtopic of the line you are on. |
429 | 416 |
430 Here is a menu to give you a chance to practice. | 417 Here is a menu to give you a chance to practice. This menu gives you |
431 | 418 three ways of going to one place, Help-FOO: |
432 * Menu: The menu starts here. | 419 |
433 | 420 @menu |
434 This menu gives you three ways of going to one place, Help-FOO. | 421 * Foo: Help-FOO. A node you can visit for fun. |
435 | 422 * Bar: Help-FOO. Strange! two ways to get to the same place. |
436 * Foo: Help-FOO. A node you can visit for fun.@* | 423 * Help-FOO:: And yet another! |
437 * Bar: Help-FOO. Strange! two ways to get to the same place.@* | 424 @end menu |
438 * Help-FOO:: And yet another!@* | |
439 | |
440 | 425 |
441 >> Now type just an @kbd{m} and see what happens: | 426 >> Now type just an @kbd{m} and see what happens: |
442 | 427 |
443 Now you are ``inside'' an @kbd{m} command. Commands cannot be used | 428 Now you are ``inside'' an @kbd{m} command. Commands cannot be used |
444 now; the next thing you will type must be the name of a subtopic. | 429 now; the next thing you will type must be the name of a subtopic. |
557 | 542 |
558 @c If a menu appears at the end of this node, remove it. | 543 @c If a menu appears at the end of this node, remove it. |
559 @c It is an accident of the menu updating command. | 544 @c It is an accident of the menu updating command. |
560 | 545 |
561 @node Help-Cross, , , Help-Adv | 546 @node Help-Cross, , , Help-Adv |
562 @comment node-name, next, previous, up | 547 @subsection The node reached by the cross reference in Info |
563 @unnumberedsubsec The node reached by the cross reference in Info | |
564 | 548 |
565 This is the node reached by the cross reference named @samp{Cross}. | 549 This is the node reached by the cross reference named @samp{Cross}. |
566 | 550 |
567 While this node is specifically intended to be reached by a cross | 551 While this node is specifically intended to be reached by a cross |
568 reference, most cross references lead to nodes that ``belong'' | 552 reference, most cross references lead to nodes that ``belong'' someplace |
569 someplace else far away in the structure of Info. So you cannot expect | 553 else far away in the structure of Info. So you cannot expect the |
570 the footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing back to | 554 footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing |
571 where you came from. In general, the @kbd{l} (el) command is the only | 555 back to where you came from. In general, the @kbd{l} (el) command is |
572 way to get back there. | 556 the only way to get back there. |
573 | 557 |
574 >> Type @kbd{l} to return to the node where the cross reference was. | 558 >> Type @kbd{l} to return to the node where the cross reference was. |
575 | 559 |
576 @node Help-Q, , Help-Adv, Getting Started | 560 @node Help-Q, , Help-Adv, Getting Started |
577 @comment node-name, next, previous, up | 561 @comment node-name, next, previous, up |
588 | 572 |
589 >> Type @samp{d} to go to the Info directory node; then type | 573 >> Type @samp{d} to go to the Info directory node; then type |
590 @samp{mInfo} and Return, to get to the node about Info and | 574 @samp{mInfo} and Return, to get to the node about Info and |
591 see what other help is available. | 575 see what other help is available. |
592 | 576 |
593 @node Advanced Info, Create an Info File, Getting Started, Top | 577 |
594 @comment node-name, next, previous, up | 578 @node Advanced Info |
595 @chapter Info for Experts | 579 @chapter Info for Experts |
596 | 580 |
597 This chapter describes various advanced Info commands, and how to write | 581 This chapter describes various advanced Info commands, and how to write |
598 an Info as distinct from a Texinfo file. (However, in most cases, writing a | 582 an Info as distinct from a Texinfo file. (However, in most cases, writing a |
599 Texinfo file is better, since you can use it @emph{both} to generate an | 583 Texinfo file is better, since you can use it @emph{both} to generate an |
600 Info file and to make a printed manual. @xref{Top,, Overview of | 584 Info file and to make a printed manual. @xref{Top,, Overview of |
601 Texinfo, texinfo, Texinfo: The GNU Documentation Format}.) | 585 Texinfo, texinfo, Texinfo}.) |
602 | 586 |
603 @menu | 587 @menu |
604 * Expert:: Advanced Info commands: g, s, e, and 1 - 5. | 588 * Expert:: Advanced Info commands: g, s, e, and 1 - 5. |
605 * Add:: Describes how to add new nodes to the hierarchy. | 589 * Add:: Describes how to add new nodes to the hierarchy. |
606 Also tells what nodes look like. | 590 Also tells what nodes look like. |
637 It switches to the next node if and when that is necessary. You | 621 It switches to the next node if and when that is necessary. You |
638 type @kbd{s} followed by the string to search for, terminated by | 622 type @kbd{s} followed by the string to search for, terminated by |
639 @key{RET}. To search for the same string again, just @kbd{s} followed | 623 @key{RET}. To search for the same string again, just @kbd{s} followed |
640 by @key{RET} will do. The file's nodes are scanned in the order | 624 by @key{RET} will do. The file's nodes are scanned in the order |
641 they are in in the file, which has no necessary relationship to the | 625 they are in in the file, which has no necessary relationship to the |
642 order that they may be in in the tree structure of menus and @samp{next} pointers. | 626 order that they may be in in the tree structure of menus and @samp{next} |
643 But normally the two orders are not very different. In any case, | 627 pointers. But normally the two orders are not very different. In any |
644 you can always do a @kbd{b} to find out what node you have reached, if | 628 case, you can always do a @kbd{b} to find out what node you have |
645 the header is not visible (this can happen, because @kbd{s} puts your | 629 reached, if the header is not visible (this can happen, because @kbd{s} |
646 cursor at the occurrence of the string, not at the beginning of the | 630 puts your cursor at the occurrence of the string, not at the beginning |
647 node). | 631 of the node). |
648 | 632 |
649 If you grudge the system each character of type-in it requires, you | 633 If you grudge the system each character of type-in it requires, you |
650 might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, ... | 634 might like to use the commands @kbd{1}, @kbd{2}, @kbd{3}, @kbd{4}, ... |
651 @kbd{9}. They are short for the @kbd{m} command together with an | 635 @kbd{9}. They are short for the @kbd{m} command together with an |
652 argument. @kbd{1} goes through the first item in the current node's | 636 argument. @kbd{1} goes through the first item in the current node's |
653 menu; @kbd{2} goes through the second item, etc. | 637 menu; @kbd{2} goes through the second item, etc. |
654 | 638 |
655 If you display supports multiple fonts, and you are using Emacs' Info | 639 If your display supports multiple fonts, and you are using Emacs' Info |
656 mode to read Info files, the @samp{*} for the fifth menu item is | 640 mode to read Info files, the @samp{*} for the fifth menu item is |
657 underlines, and so is the @samp{*} for the ninth item; these underlines | 641 underlined, and so is the @samp{*} for the ninth item; these underlines |
658 make it easy to see at a glance which number to use for an item. | 642 make it easy to see at a glance which number to use for an item. |
659 | 643 |
660 On ordinary terminals, you won't have underlining. If you need to | 644 On ordinary terminals, you won't have underlining. If you need to |
661 actually count items, it is better to use @kbd{m} instead, and specify | 645 actually count items, it is better to use @kbd{m} instead, and specify |
662 the name. | 646 the name. |
676 Create some nodes, in some file, to document that topic. | 660 Create some nodes, in some file, to document that topic. |
677 @item | 661 @item |
678 Put that topic in the menu in the directory. @xref{Menus, Menu}. | 662 Put that topic in the menu in the directory. @xref{Menus, Menu}. |
679 @end enumerate | 663 @end enumerate |
680 | 664 |
681 Usually, the way to create the nodes is with Texinfo @pxref{Top,, Overview of | 665 Usually, the way to create the nodes is with Texinfo (@pxref{Top,, |
682 Texinfo, texinfo, Texinfo: The GNU Documentation Format}); this has the | 666 Overview of Texinfo, texinfo, Texinfo}); this has the advantage that you |
683 advantage that you can also make a printed manual from them. However, | 667 can also make a printed manual from them. However, if you want to edit |
684 if hyou want to edit an Info file, here is how. | 668 an Info file, here is how. |
685 | 669 |
686 The new node can live in an existing documentation file, or in a new | 670 The new node can live in an existing documentation file, or in a new |
687 one. It must have a @key{^_} character before it (invisible to the | 671 one. It must have a @key{^_} character before it (invisible to the |
688 user; this node has one but you cannot see it), and it ends with either | 672 user; this node has one but you cannot see it), and it ends with either |
689 a @key{^_}, a @key{^L}, or the end of file. Note: If you put in a | 673 a @key{^_}, a @key{^L}, or the end of file. Note: If you put in a |
690 @key{^L} to end a new node, be sure that there is a @key{^_} after it | 674 @key{^L} to end a new node, be sure that there is a @key{^_} after it |
691 to start the next one, since @key{^L} cannot @emph{start} a node. | 675 to start the next one, since @key{^L} cannot @emph{start} a node. |
692 Also, a nicer way to make a node boundary be a page boundary as well | 676 Also, a nicer way to make a node boundary be a page boundary as well |
693 is to put a @key{^L} @emph{right after} the @key{^_}. | 677 is to put a @key{^L} @emph{right after} the @key{^_}. |
694 | 678 |
695 The @key{^_} starting a node must be followed by a newline or a | 679 The @key{^_} starting a node must be followed by a newline or a |
696 @key{^L} newline, after which comes the node's header line. The | 680 @key{^L} newline, after which comes the node's header line. The header |
697 header line must give the node's name (by which Info finds it), | 681 line must give the node's name (by which Info finds it), and state the |
698 and state the names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if | 682 names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if there |
699 there are any). As you can see, this node's @samp{Up} node is the node | 683 are any). As you can see, this node's @samp{Up} node is the node |
700 @samp{Top}, which points at all the documentation for Info. The @samp{Next} | 684 @samp{Top}, which points at all the documentation for Info. The |
701 node is @samp{Menus}. | 685 @samp{Next} node is @samp{Menus}. |
702 | 686 |
703 The keywords @dfn{Node}, @dfn{Previous}, @dfn{Up}, and @dfn{Next}, | 687 The keywords @dfn{Node}, @dfn{Previous}, @dfn{Up}, and @dfn{Next}, |
704 may appear in any order, anywhere in the header line, but the | 688 may appear in any order, anywhere in the header line, but the |
705 recommended order is the one in this sentence. Each keyword must be | 689 recommended order is the one in this sentence. Each keyword must be |
706 followed by a colon, spaces and tabs, and then the appropriate name. | 690 followed by a colon, spaces and tabs, and then the appropriate name. |
726 Thus, @kbd{g*} shows you the whole current file. The use of the | 710 Thus, @kbd{g*} shows you the whole current file. The use of the |
727 node @kbd{*} is to make it possible to make old-fashioned, | 711 node @kbd{*} is to make it possible to make old-fashioned, |
728 unstructured files into nodes of the tree. | 712 unstructured files into nodes of the tree. |
729 | 713 |
730 The @samp{Node:} name, in which a node states its own name, must not | 714 The @samp{Node:} name, in which a node states its own name, must not |
731 contain a filename, since Info when searching for a node does not | 715 contain a filename, since Info when searching for a node does not expect |
732 expect one to be there. The @samp{Next}, @samp{Previous} and @samp{Up} names may | 716 one to be there. The @samp{Next}, @samp{Previous} and @samp{Up} names |
733 contain them. In this node, since the @samp{Up} node is in the same file, | 717 may contain them. In this node, since the @samp{Up} node is in the same |
734 it was not necessary to use one. | 718 file, it was not necessary to use one. |
735 | 719 |
736 Note that the nodes in this file have a file name in the header | 720 Note that the nodes in this file have a file name in the header |
737 line. The file names are ignored by Info, but they serve as comments | 721 line. The file names are ignored by Info, but they serve as comments |
738 to help identify the node for the user. | 722 to help identify the node for the user. |
739 | 723 |
740 @node Menus, Cross-refs, Add, Advanced Info | 724 @node Menus, Cross-refs, Add, Advanced Info |
741 @comment node-name, next, previous, up | 725 @comment node-name, next, previous, up |
742 @section How to Create Menus | 726 @section How to Create Menus |
743 | 727 |
744 Any node in the Info hierarchy may have a @dfn{menu}---a list of subnodes. | 728 Any node in the Info hierarchy may have a @dfn{menu}---a list of subnodes. |
745 The @kbd{m} command searches the current node's menu for the topic which it | 729 The @kbd{m} command searches the current node's menu for the topic which it |
746 reads from the terminal. | 730 reads from the terminal. |
747 | 731 |
748 A menu begins with a line starting with @samp{* Menu:}. The rest of the | 732 A menu begins with a line starting with @samp{* Menu:}. The rest of the |
749 line is a comment. After the starting line, every line that begins | 733 line is a comment. After the starting line, every line that begins |
764 from each other very near the beginning---this allows the user to type | 748 from each other very near the beginning---this allows the user to type |
765 short abbreviations. In a long menu, it is a good idea to capitalize | 749 short abbreviations. In a long menu, it is a good idea to capitalize |
766 the beginning of each item name which is the minimum acceptable | 750 the beginning of each item name which is the minimum acceptable |
767 abbreviation for it (a long menu is more than 5 or so entries). | 751 abbreviation for it (a long menu is more than 5 or so entries). |
768 | 752 |
769 The nodes listed in a node's menu are called its ``subnodes'', and | 753 The nodes listed in a node's menu are called its ``subnodes'', and it |
770 it is their ``superior''. They should each have an @samp{Up:} pointing at | 754 is their ``superior''. They should each have an @samp{Up:} pointing at |
771 the superior. It is often useful to arrange all or most of the | 755 the superior. It is often useful to arrange all or most of the subnodes |
772 subnodes in a sequence of @samp{Next} and @samp{Previous} pointers so that someone who | 756 in a sequence of @samp{Next} and @samp{Previous} pointers so that |
773 wants to see them all need not keep revisiting the Menu. | 757 someone who wants to see them all need not keep revisiting the Menu. |
774 | 758 |
775 The Info Directory is simply the menu of the node @samp{(dir)Top}---that | 759 The Info Directory is simply the menu of the node @samp{(dir)Top}---that |
776 is, node @samp{Top} in file @file{.../info/dir}. You can put new entries | 760 is, node @samp{Top} in file @file{.../info/dir}. You can put new entries |
777 in that menu just like any other menu. The Info Directory is @emph{not} the | 761 in that menu just like any other menu. The Info Directory is @emph{not} the |
778 same as the file directory called @file{info}. It happens that many of | 762 same as the file directory called @file{info}. It happens that many of |
814 @comment node-name, next, previous, up | 798 @comment node-name, next, previous, up |
815 @section Tag Tables for Info Files | 799 @section Tag Tables for Info Files |
816 | 800 |
817 You can speed up the access to nodes of a large Info file by giving | 801 You can speed up the access to nodes of a large Info file by giving |
818 it a tag table. Unlike the tag table for a program, the tag table for | 802 it a tag table. Unlike the tag table for a program, the tag table for |
819 an Info file lives inside the file itself and is used | 803 an Info file lives inside the file itself and is used |
820 automatically whenever Info reads in the file. | 804 automatically whenever Info reads in the file. |
821 | 805 |
822 To make a tag table, go to a node in the file using Emacs Info mode and type | 806 To make a tag table, go to a node in the file using Emacs Info mode and type |
823 @kbd{M-x Info-tagify}. Then you must use @kbd{C-x C-s} to save the | 807 @kbd{M-x Info-tagify}. Then you must use @kbd{C-x C-s} to save the |
824 file. | 808 file. |
845 Note that it contains one line per node, and this line contains | 829 Note that it contains one line per node, and this line contains |
846 the beginning of the node's header (ending just after the node name), | 830 the beginning of the node's header (ending just after the node name), |
847 a Delete character, and the character position in the file of the | 831 a Delete character, and the character position in the file of the |
848 beginning of the node. | 832 beginning of the node. |
849 | 833 |
834 | |
850 @node Checking, Emacs Info Variables, Tags, Advanced Info | 835 @node Checking, Emacs Info Variables, Tags, Advanced Info |
851 @comment node-name, next, previous, up | |
852 @section Checking an Info File | 836 @section Checking an Info File |
853 | 837 |
854 When creating an Info file, it is easy to forget the name of a node | 838 When creating an Info file, it is easy to forget the name of a node when |
855 when you are making a pointer to it from another node. If you put in | 839 you are making a pointer to it from another node. If you put in the |
856 the wrong name for a node, this is not detected until someone | 840 wrong name for a node, this is not detected until someone tries to go |
857 tries to go through the pointer using Info. Verification of the Info | 841 through the pointer using Info. Verification of the Info file is an |
858 file is an automatic process which checks all pointers to nodes and | 842 automatic process which checks all pointers to nodes and reports any |
859 reports any pointers which are invalid. Every @samp{Next}, @samp{Previous}, and | 843 pointers which are invalid. Every @samp{Next}, @samp{Previous}, and |
860 @samp{Up} is checked, as is every menu item and every cross reference. In | 844 @samp{Up} is checked, as is every menu item and every cross reference. In |
861 addition, any @samp{Next} which does not have a @samp{Previous} pointing back is | 845 addition, any @samp{Next} which does not have a @samp{Previous} pointing |
862 reported. Only pointers within the file are checked, because checking | 846 back is reported. Only pointers within the file are checked, because |
863 pointers to other files would be terribly slow. But those are usually | 847 checking pointers to other files would be terribly slow. But those are |
864 few. | 848 usually few. |
865 | 849 |
866 To check an Info file, do @kbd{M-x Info-validate} while looking at | 850 To check an Info file, do @kbd{M-x Info-validate} while looking at any |
867 any node of the file with Emacs Info mode. | 851 node of the file with Emacs Info mode. |
868 | 852 |
869 @node Emacs Info Variables, , Checking, Advanced Info | 853 @node Emacs Info Variables, , Checking, Advanced Info |
870 @section Emacs Info-mode Variables | 854 @section Emacs Info-mode Variables |
871 | 855 |
872 The following variables may modify the behaviour of Info-mode in Emacs; | 856 The following variables may modify the behaviour of Info-mode in Emacs; |
873 you may wish to set one or several of these variables interactively, or | 857 you may wish to set one or several of these variables interactively, or |
874 in your @file{~/.emacs} init file. @xref{Examining, Examining and Setting | 858 in your @file{~/.emacs} init file. @xref{Examining, Examining and |
875 Variables, Examining and Setting Variables, emacs, The GNU Emacs | 859 Setting Variables, Examining and Setting Variables, xemacs, XEmacs |
876 Manual}. | 860 User's Manual}. |
861 | |
877 | 862 |
878 @vtable @code | 863 @vtable @code |
879 @item Info-enable-edit | 864 @item Info-enable-edit |
880 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A | 865 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A |
881 non-@code{nil} value enables it. @xref{Add, Edit}. | 866 non-@code{nil} value enables it. @xref{Add, Edit}. |
892 @item Info-directory | 877 @item Info-directory |
893 The standard directory for Info documentation files. Only used when the | 878 The standard directory for Info documentation files. Only used when the |
894 function @code{Info-directory} is called. | 879 function @code{Info-directory} is called. |
895 @end vtable | 880 @end vtable |
896 | 881 |
897 @node Create an Info File, , Advanced Info, Top | 882 |
898 @comment node-name, next, previous, up | 883 @node Creating an Info File |
899 @chapter Creating an Info File from a Makeinfo file | 884 @chapter Creating an Info File |
900 | 885 |
901 @code{makeinfo} is a utility that converts a Texinfo file into an Info | 886 @xref{Top,, Overview of Texinfo, texinfo, Texinfo}, to learn how to |
902 file; @code{texinfo-format-region} and @code{texinfo-format-buffer} are | 887 write a Texinfo file. |
903 GNU Emacs functions that do the same. | 888 |
904 | 889 @xref{Creating an Info File,,, texinfo, Texinfo}, to learn how to create |
905 @xref{Create an Info File, , Creating an Info File, texinfo, the Texinfo | 890 an Info file from a Texinfo file. |
906 Manual}, to learn how to create an Info file from a Texinfo file. | 891 |
907 | 892 @xref{Installing an Info File,,, texinfo, Texinfo}, to learn how to |
908 @xref{Top,, Overview of Texinfo, texinfo, Texinfo: The GNU Documentation | 893 install an Info file after you have created one. |
909 Format}, to learn how to write a Texinfo file. | |
910 | 894 |
911 @bye | 895 @bye |