home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / utilities / cli / gnuinfo / etc / info / INFO < prev    next >
Encoding:
Text File  |  1994-10-05  |  26.8 KB  |  633 lines

  1. This file documents the Info program.  -*-Text-*-
  2. The H command of Info goes to the node Help in this file.
  3. 
  4. File: info    Node: Top    Up: (DIR)    Next: Expert
  5.  
  6. Info is a program for reading documentation, which you are using now.
  7.  
  8.   This is Archimedes port 1.0 (1-Oct-94)
  9.   ported by Rob Partington (partingr@cs.man.ac.uk)
  10.   The latest version is at http://www.cs.man.ac.uk/~partingr/gnuinfo.html
  11.  
  12. To learn how to use Info, type the command "h".  It will bring you
  13. to a programmed instruction sequence.
  14.  
  15. * Menu:
  16.  
  17. * Expert::    Advanced Info commands: g, s, e, and 1 - 5.
  18. * Add::        Describes how to add new nodes to the hierarchy.
  19.         Also tells what nodes look like.
  20. * Menus::    How to add to or create menus in Info nodes.
  21. * Cross-refs::    How to add cross-references to Info nodes.
  22. * Tags::    How to make tag tables for Info files.
  23. * Checking::    How to check the consistency of an Info file.
  24. * Texinfo: (texinfo).
  25.         How to generate an Info file and a printed manual
  26.         from the same source file.
  27. 
  28. File: info    Node: Help-Small-Screen        Next: Help
  29.  
  30. Since your terminal has an unusually small number of lines on its
  31. screen, it is necessary to give you special advice at the beginning.
  32.  
  33. If you see the text "--All----" at near the bottom right corner of
  34. the screen, it means the entire text you are looking at fits on the
  35. screen.  If you see "--Top----" instead, it means that there is more
  36. text below that does not fit.  To move forward through the text and
  37. see another screen full, press the Space bar.  To move back up, press
  38. the key labeled Rubout or Delete or DEL.
  39.  
  40. Here are 40 lines of junk, so you can try Spaces and Rubout and
  41. see what they do.  At the end are instructions of what you should do
  42. next.
  43.  
  44. This is line 17
  45. This is line 18
  46. This is line 19
  47. This is line 20
  48. This is line 21
  49. This is line 22
  50. This is line 23
  51. This is line 24
  52. This is line 25
  53. This is line 26
  54. This is line 27
  55. This is line 28
  56. This is line 29
  57. This is line 30
  58. This is line 31
  59. This is line 32
  60. This is line 33
  61. This is line 34
  62. This is line 35
  63. This is line 36
  64. This is line 37
  65. This is line 38
  66. This is line 39
  67. This is line 40
  68. This is line 41
  69. This is line 42
  70. This is line 43
  71. This is line 44
  72. This is line 45
  73. This is line 46
  74. This is line 47
  75. This is line 48
  76. This is line 49
  77. This is line 50
  78. This is line 51
  79. This is line 52
  80. This is line 53
  81. This is line 54
  82. This is line 55
  83. This is line 56
  84.  
  85. If you have managed to get here, go back to the beginning with
  86. Rubout, and come back here again, then you understand Space and
  87. Rubout.  So now type an "n"--just one character; don't type the
  88. quotes and don't type a Return afterward-- to get to the normal start
  89. of the course.
  90. 
  91. File: info    Node: Help    Next: Help-P    Previous: Help-Small-Screen
  92.  
  93. You are talking to the program Info, for reading documentation.
  94.  
  95.   Right now you are looking at one "Node" of Information.
  96. A node contains text describing a specific topic at a specific
  97. level of detail.  This node's topic is "how to use Info".
  98.  
  99.   The top line of a node is its "header".  This node's header (look at
  100. it now) says that it is the node named "Help" in the file "info".
  101. It says that the Next node after this one is the node called "Help-P".
  102. An advanced Info command lets you go to any node whose name you know.
  103.  
  104.   Besides a "Next", a node can have a "Previous" or an "Up".
  105. This node has a "Previous" but no "Up", as you can see.
  106.  
  107.   Now it's time to move on to the Next node, named "Help-P".
  108.  
  109. >> Type "n" to move there.  Type just one character;
  110.    don't type the quotes and don't type a Return afterward.
  111.  
  112. ">>" in the margin means it is really time to try a command.
  113. 
  114. File: info    Node: Help-P    Next: Help-^L    Previous: Help
  115.  
  116. This node is called "Help-P".  The "Previous" node, as you see, is
  117. "Help", which is the one you just came from using the "N" command.
  118. Another "N" command now would take you to the Next node, "Help-^L".
  119.  
  120. >> But don't do that yet.  First, try the "p" command, which takes
  121. you to the Previous node.  When you get there, you can do an "n"
  122. again to return here.
  123.  
  124.   This all probably seems insultingly simple so far, but DON'T be
  125. led into skimming.  Things will get more complicated soon.  Also,
  126. don't try a new command until you are told it's time to.  Otherwise,
  127. you may make Info skip past an important warning that was coming up.
  128.  
  129. >> Now do an "n" to get to the node "Help-^L" and learn more.
  130. 
  131. File: info    Node: Help-^L    Next: Help-M    Previous: Help-P
  132.  
  133. Space, Rubout, B and ^L commands.
  134.  
  135.   This node's header tells you that you are now at node "Help-^L", and
  136. that "P" would get you back to "Help-P".  The line starting "Space,"
  137. is a "Title", saying what the node is about (most nodes have titles).
  138.  
  139.   This is a big node and it doesn't all fit on your display screen.
  140. You can tell that there is more that isn't visible because you
  141. can see the string "--Top-----" rather than "--All-----" near
  142. the bottom right corner of the screen.
  143.  
  144.   The Space, Rubout and B commands exist to allow you to "move
  145. around" in a node that doesn't all fit on the screen at once.
  146. Space moves forward, to show what was below the bottom of the screen.
  147. Rubout moves backward, to show what was above the top of the screen
  148. (there isn't anything above the top until you have typed some spaces).
  149. >> Now try typing a Space (afterward, type a Rubout to return here).
  150.  
  151.   When you type the space, the two lines that were at the bottom of the 
  152. screen appear at the top, followed by more lines.  Rubout takes the
  153. two lines from the top and moves them to the bottom, USUALLY, but if
  154. there are not a full screen's worth of lines above them they may not
  155. make it all the way to the bottom.
  156.  
  157.   If you type a Space when there is no more to see, it will ring the
  158. bell and otherwise do nothing.  The same goes for a Rubout when
  159. the header of the node is visible.
  160.  
  161.   If your screen is ever garbaged, you can tell Info to print it out
  162. again by typing C-l (Control-L, that is--hold down "Control" and
  163. type an "L" or "l").
  164. >> Type C-l now.
  165.  
  166.   To move back to the beginning of the node you are on, you can type
  167. a lot of Rubouts.  You can also type simply "b" for beginning.
  168. >> Try that now.  (I have put in enough verbiage to make sure you are
  169.    not on the first screenful now).  Then come back, with Spaces.
  170.  
  171.   You have just learned a considerable number of commands.  If you
  172. want to use one but have trouble remembering which, you should type
  173. a "?" which will print out a brief list of commands.  When you are
  174. finished looking at the list, make it go away by typing a Space.
  175. >> Type a "?" now.  After it finishes, type a Space.
  176.  
  177.   From now on, you will encounter large nodes without warning, and
  178. will be expected to know how to use Space and Rubout to move
  179. around in them without being told.  Since not all terminals have
  180. the same size screen, it would be impossible to warn you anyway.
  181.  
  182. >> Now type "n" to see the description of the "m" command.
  183. 
  184. File: info    Node: Help-M    Next: Help-Adv    Previous: Help-^L
  185.  
  186. Menus and the "m" command
  187.  
  188.   With only the "n" and "p" commands for moving between nodes, nodes
  189. are restricted to a linear sequence.  Menus allow a branching
  190. structure.  A menu is a list of other nodes you can move to.  It is
  191. actually just part of the text of the node formatted specially so that
  192. Info can interpret it.  The beginning of a menu is always identified
  193. by a line which starts with "* Menu:".  A node contains a menu if and
  194. only if it has a line in it which starts that way.  The only menu you
  195. can use at any moment is the one in the node you are in.  To use a
  196. menu in any other node, you must move to that node first. 
  197.  
  198.   After the start of the menu, each line that starts with a "*"
  199. identifies one subtopic.  The line will usually contain a brief name
  200. for the subtopic (followed by a ":"), the name of the node that talks
  201. about that subtopic, and optionally some further description of the
  202. subtopic.  Lines in the menu that don't start with a "*" have no
  203. special meaning - they are only for the human reader's benefit and do
  204. not define additional subtopics.  Here is an example:
  205. * Foo:    FOO's Node    This tells about FOO
  206. The subtopic name is Foo, and the node describing it is "FOO's Node".
  207. The rest of the line is just for the reader's Information.
  208. [[ But this line is not a real menu item, simply because there is
  209. no line above it which starts with "* Menu:".]]
  210.  
  211.   When you use a menu to go to another node (in a way that will be
  212. described soon), what you specify is the subtopic name, the first
  213. thing in the menu line.  Info uses it to find the menu line, extracts
  214. the node name from it, and goes to that node.  The reason that there
  215. is both a subtopic name and a node name is that the node name must be
  216. meaningful to the computer and may therefore have to be ugly looking.
  217. The subtopic name can be chosen just to be convenient for the user to
  218. specify.  Often the node name is convenient for the user to specify
  219. and so both it and the subtopic name are the same.  There is an
  220. abbreviation for this:
  221. * Foo::   This tells about FOO
  222. This means that the subtopic name and node name are the same; they are
  223. both "Foo".
  224.  
  225. >>  Now use Spaces to find the menu in this node, then come back to
  226. the front with a "b".  As you see, a menu is actually visible
  227. in its node.  If you can't find a menu in a node by looking at it,
  228. then the node doesn't have a menu and the "m" command is not available.
  229.  
  230.   The command to go to one of the subnodes is "m" - but DON'T DO IT
  231. YET!  Before you use "m", you must understand the difference between
  232. commands and arguments.  So far, you have learned several commands
  233. that do not need arguments.  When you type one, Info processes it and
  234. is instantly ready for another command.  The "m" command is different:
  235. it is incomplete without the NAME OF THE SUBTOPIC.  Once you have
  236. typed "m", Info tries to read the subtopic name.
  237.  
  238.   Now look for the line containing many dashes near the bottom of the
  239. screen.  There is one more line beneath that one, but usually it is
  240. blank If it is empty, Info is ready for a command, such as "n" or "b"
  241. or Space or "m".  If that line contains text ending in a colon, it
  242. mean Info is trying to read the ARGUMENT to a command.  At such
  243. times, commands won't work, because Info will try to use them as the
  244. argument.  You must either type the argument and finish the command
  245. you started, or type Control-g to cancel the command.  When you have
  246. done one of those things, the line will become blank again.
  247.  
  248.   The command to go to a subnode via a menu is "m".  After you type
  249. the "m", the line at the bottom of the screen says "Menu item: ".
  250. You must then type the name of the subtopic you want, and end it with
  251. a Return.
  252.  
  253.   You can abbreviate the subtopic name.  If the abbreviation is not
  254. unique, the first matching subtopic is chosen.  Some menus will put
  255. the shortest possible abbreviation for each subtopic name in capital
  256. letters, so you can see how much you need to type.  It does not
  257. matter whether you use upper case or lower case when you type the
  258. subtopic.  You should not put any spaces at the end, or inside of the
  259. item name, except for one space where a space appears in the item in
  260. the menu.
  261.  
  262.   Here is a menu to give you a chance to practice.
  263.  
  264. * Menu:       The menu starts here.
  265.  
  266. This menu givs you three ways of going to one place, Help-FOO.
  267.  
  268. * Foo:    Help-FOO    A node you can visit for fun
  269. * Bar:    Help-FOO    Strange!  two ways to get to the same place.
  270. * Help-FOO::        And yet another!
  271.  
  272. >>  Now type just an "m" and see what happens:
  273.  
  274.   Now you are "inside" an "m" command.  Commands can't be used now;
  275. the next thing you will type must be the name of a subtopic.
  276.  
  277.   You can change your mind about doing the "m" by typing Control-g.
  278. >> Try that now;  notice the bottom line clear.
  279. >> Then type another "m".
  280.  
  281. >> Now type "BAR", the item name.  Don't type Return yet.
  282.  
  283.   While you are typing the item name, you can use the Rubout
  284. character to cancel one character at a time if you make a mistake.
  285. >> Type one to cancel the "R".  You could type another "R" to
  286. replace it.  You don't have to, since "BA" is a valid abbreviation.
  287. >> Now you are ready to go.  Type a Return.
  288.  
  289.   After visiting Help-FOO, you should return here.
  290.  
  291. >> Type "n" to see more commands.
  292. 
  293. File: info    Node: Help-FOO    Up: Help-M
  294.  
  295. The "u" command
  296.  
  297.   Congratulations!  This is the node Help-FOO.  Unlike the other
  298. nodes you have seen, this one has an "Up": "Help-M", the node you
  299. just came from via the "m" command.  This is the usual convention--
  300. the nodes you reach from a menu have Ups that lead back to the menu.
  301. Menus move Down in the tree, and Up moves Up.  Previous, on the other
  302. hand, is usually used to "stay on the same level but go backwards".
  303.  
  304.   You can go back to the node Help-M by typing the command
  305. "u" for "Up".  That will put you at the FRONT of the node - to get
  306. back to where you were reading you will have to type some Spaces.
  307.  
  308. >> Now type "u" to move back up to Help-M.
  309. 
  310. File: info    Node: Help-Adv    Next: Help-Q    Previous: Help-M
  311.  
  312. Some advanced Info commands
  313.  
  314.   The course is almost over, so please stick with it to the end.
  315.  
  316.   If you have been moving around to different nodes and wish to
  317. retrace your steps, the "l" command ("l" for "last") will do that, one
  318. node at a time.  If you have been following directions, an "l" command
  319. now will get you back to Help-M.  Another "l" command would undo the "u"
  320. and get you back to Help-FOO.  Another "l" would undo the M and get you
  321. back to Help-M.
  322.  
  323. >> Try typing three "l"'s, pausing in between to see what each "l" does.
  324. Then follow directions again and you will end up back here.
  325.  
  326.   Note the difference between "l" and "p":  "l" moves to where YOU
  327. last were, whereas "p" always moves to the node which the header says
  328. is the "Previous" node (from this node, to Help-M).
  329.  
  330.   The "d" command gets you instantly to the Directory node.
  331. This node, which is the first one you saw when you entered Info,
  332. has a menu which leads (directly, or indirectly through other menus),
  333. to all the nodes that exist.
  334.  
  335. >> Try doing a "d", then do an "l" to return here (yes, DO return).
  336.  
  337.   Sometimes, in Info documentation, you will see a cross reference.
  338. Cross references look like this: *Note Cross: Help-Cross.  That is a
  339. real, live cross reference which is named "Cross" and points at the
  340. node named "Help-Cross".
  341.  
  342.   If you wish to follow a cross reference, you must use the "f"
  343. command.  The "f" must be followed by the cross reference name (in
  344. this case, "Cross").  You can use Rubout to edit the name, and if you
  345. change your mind about following any reference you can use Control-g
  346. to cancel the command.
  347.  
  348.   Completion is available in the "f" command; you can complete among
  349. all the cross reference names in the current node.
  350.  
  351. >> Type "f", followed by "Cross", and a Return.
  352.  
  353.   To get a list of all the cross references in the current node, you can
  354. type "?" after an "f".  The "f" continues to await a cross reference name
  355. even after printing the list, so if you don't actually want to follow
  356. a reference you should type a Control-g to cancel the "f".
  357.  
  358. >> Type "f?" to get a list of the footnotes in this node.  Then
  359. type a Control-g and see how the "f" gives up.
  360.  
  361. >> Now type "n" to see the last node of the course.
  362. 
  363. File: info    Node: Help-Cross
  364.  
  365.   This is the node reached by the cross reference named "Cross".
  366.  
  367.   While this node is specifically intended to be reached by a cross
  368. reference, most cross references lead to nodes that "belong" someplace
  369. else far away in the structure of Info.  So you can't expect the
  370. footnote to have a Next, Previous or Up pointing back to where you
  371. came from.  In general, the "l" (el) command is the only way to get
  372. back there.
  373.  
  374. >> Type "l" to return to the node where the cross reference was.
  375. 
  376. File: info    Node: Help-Q    Previous: Help-Adv    Up: Top
  377.  
  378.   To get out of Info, back to what you were doing before, type "q"
  379. for "Quit".
  380.  
  381.   This is the end of the course on using Info.  There are some other
  382. commands that are not essential or meant for experienced users;  they
  383. are useful, and you can find them by looking in the directory for
  384. documentation on Info.  Finding them will be a good exercise in using
  385. Info in the usual manner.
  386.  
  387. >> Type "d" to go to the Info directory node;
  388.    then type "mInfo" and Return, to get to the node about Info
  389.    and see what other help is available.
  390. 
  391. File: info,  Node: Expert,  Up: Top,  Previous: Top,  Next: Add
  392.  
  393. Some Advanced Info Commands ("g", "s", "1" - "5", and "e").
  394.  
  395. If you know a node's name, you can go there by typing
  396. "g", the name, and Return.  Thus, "gTop<Return>" would go to the node
  397. called Top in this file (its directory node).  "gExpert<Return>"
  398. would come back here.
  399.  
  400. Unlike "m", "g" does not allow the use of abbreviations.
  401.  
  402. To go to a node in another file, you can include the filename in the
  403. node name by putting it at the front, in parentheses.  Thus,
  404. "g(dir)Top<Return>" would go to the Info Directory node, which is node Top
  405. in the file dir.
  406.  
  407. The node name "*" specifies the whole file.  So you can look at all
  408. of the current file by typing "g*<Return>" or all of any other file
  409. with "g(FILENAME)<Return>".
  410.  
  411. The "s" command allows you to search a whole file for a string.  It
  412. will switch to the next node if and when that is necessary.  You type
  413. "s" followed by the string to search for, terminated by Return.  To
  414. search for the same string again, just "s" followed by Return will do.
  415. The file's nodes will be scanned in the order they are in in the file,
  416. which has no necessary relationship to the order that they may be in
  417. in the tree structure of menus and next's.  But normally the two
  418. orders will not be far different.  In any case, you can always do a
  419. "b" to find out what node you have reached, if the header isn't
  420. visible (this can happen, because "S" puts your cursor at the
  421. occurrence of the string, not at the beginning of the node).
  422.  
  423. If you grudge the system each character of type-in it requires,
  424. you might like to use the commands "1", "2", "3", "4", and "5".
  425. They are short for the "m" command together with an argument.
  426. "1" goes through the first item in the current node's menu;
  427. "2" goes through the second item, etc.  Note that numbers
  428. larger than 5 are not allowed.  If the item you want is that
  429. far down, you are better off using an abbreviation for its
  430. name than counting.
  431.  
  432. The Info command "e" changes from Info mode to an ordinary
  433. Emacs editing mode, so that you can edit the text of the current node.
  434. Type C-c C-c to switch back to Info.  The "e" command is allowed
  435. only if the variable Info-enable-edit is non-nil.
  436. 
  437. File: info,  Node: Add,  Up: Top,  Previous: Expert,  Next: Menus
  438.  
  439. To add a new topic to the list in the directory, you must
  440.  1) create a node, in some file, to document that topic.
  441.  2) put that topic in the menu in the directory.  *Note Menu: Menus.
  442.  
  443.   The new node can live in an existing documentation file, or in a new
  444. one.  It must have a ^_ character before it (invisible to the user;
  445. this node has one but you can't see it), and it ends with either a ^_,
  446. a ^L, or the end of file.  Note:  If you put in a ^L to end a new
  447. node, be sure that there is a ^_ after it to start the next one, since
  448. ^L can't START a node.  Also, a nicer way to make a node boundary be a
  449. page boundary as well is to put a ^L RIGHT AFTER the ^_.
  450.  
  451.   The ^_ starting a node must be followed by a newline or a ^L newline,
  452. after which comes the node's header line.  The header line must give
  453. the node's name (by which Info will find it), and state the names of
  454. the Next, Previous, and Up nodes (if there are any).  As you can see,
  455. this node's Up node is the node Top, which points at all the
  456. documentation for Info.  The Next node is "Menus".
  457.  
  458.   The keywords "Node", "Previous", "Up" and "Next",  may appear in
  459. any order, anywhere in the header line, but the recommended order is
  460. the one in this sentence.  Each keyword must be followed by a colon,
  461. spaces and tabs, and then the appropriate name.  The name may be
  462. terminated with a tab, a comma, or a newline.  A space does not end
  463. it; node names may contain spaces.  The case of letters in the names
  464. is insignificant.
  465.  
  466.   A node name has two forms.  A node in the current file is named by
  467. what appears after the "Node: " in that node's first line.  For
  468. example, this node's name is "Add".  A node in another file is named
  469. by "(FILENAME)NODE-WITHIN-FILE", as in "(info)Add" for this node.  If
  470. the file name is relative, it is taken starting from the standard
  471. Info file directory of your site.  The name "(FILENAME)Top" can be
  472. abbreviated to just "(FILENAME)".  By convention, the name "Top" is
  473. used for the "highest" node in any single file - the node whose "Up"
  474. points out of the file.  The Directory node is "(dir)".  The Top node
  475. of a document file listed in the Directory should have an "Up: (dir)"
  476. in it.
  477.  
  478.   The node name "*" is special: it refers to the entire file.  Thus,
  479. g* will show you the whole current file.  The use of the node * is to
  480. make it possible to make old-fashioned, unstructured files into nodes
  481. of the tree.
  482.  
  483.   The "Node:" name, in which a node states its own name, must not
  484. contain a filename, since Info when searching for a node does not
  485. expect one to be there.  The Next, Previous and Up names may contain
  486. them.  In this node, since the Up node is in the same file, it was not
  487. necessary to use one. 
  488.  
  489.   Note that the nodes in this file have a File name in the header
  490. line.  The File names are ignored by Info, but they serve as
  491. comments to help identify the node for the user.
  492. 
  493. File: info, Node: Menus, Previous: Add, Up: Top, Next: Cross-refs
  494.  
  495. How to Create Menus:
  496.  
  497.   Any node in the Info hierarchy may have a MENU--a list of subnodes. 
  498. The "m" command searches the current node's menu for the topic which it
  499. reads from the terminal.
  500.  
  501.   A menu begins with a line starting with "* Menu:".  The rest of the
  502. line is a comment.  After the starting line, every line that begins
  503. with a "* " lists a single topic.  The name of the topic--the arg
  504. that the user must give to the "m" command to select this topic--
  505. comes right after the star and space, and is followed by 
  506. a colon, spaces and tabs, and the name of the node which discusses
  507. that topic.  The node name, like node names following Next,
  508. Previous and Up, may be terminated with a tab, comma, or newline;
  509. it may also be terminated with a period.
  510.  
  511.   If the node name and topic name are the same, than rather than
  512. giving the name twice, the abbreviation "* NAME::" may be used
  513. (and should be used, whenever possible, as it reduces the visual
  514. clutter in the menu).
  515.  
  516.   It is considerate to choose the topic names so that they differ
  517. from each other very near the beginning--this allows the user to type
  518. short abbreviations.  In a long menu, it is a good idea to capitalize
  519. the beginning of each item name which is the minimum acceptable
  520. abbreviation for it (a long menu is more than 5 or so entries).
  521.  
  522.   The node's listed in a node's menu are called its "subnodes", and
  523. it is their "superior".  They should each have an "Up:" pointing at
  524. the superior.  It is often useful to arrange all or most of the
  525. subnodes in a sequence of Next's/Previous's so that someone who
  526. wants to see them all need not keep revisiting the Menu.
  527.  
  528.   The Info Directory is simply the menu of the node "(dir)Top"--that
  529. is, node Top in file .../info/dir.  You can put new entries in that
  530. menu just like any other menu.  The Info Directory is NOT the same as
  531. the file directory called "info".  It happens that many of Info's
  532. files live on that file directory, but they don't have to; and files
  533. on that directory are not automatically listed in the Info Directory
  534. node.
  535.  
  536.   Also, although the Info node graph is claimed to be a "hierarchy",
  537. in fact it can be ANY directed graph.  Shared structures and pointer
  538. cycles are perfectly possible, and can be used if they are
  539. appropriate to the meaning to be expressed.  There is no need for all
  540. the nodes in a file to form a connected structure.  In fact, this
  541. file has two connected components.  You are in one of them, which is
  542. under the node Top;  the other contains the node Help which the "h"
  543. command goes to.  In fact, since there is no garbage collector,
  544. nothing terrible happens if a substructure is not pointed to, but
  545. such a substructure will be rather useless since nobody will ever
  546. find out that it exists.
  547. 
  548. File: info, Node: Cross-refs, Previous: Menus, Up: Top, Next: Tags
  549.  
  550. Creating Cross References:
  551.  
  552.   A cross reference can be placed anywhere in the text, unlike a menu
  553. item which must go at the front of a line.  A cross reference looks
  554. like a menu item except that it has "*note" instead of "*".  It CANNOT
  555. be terminated by a ")", because ")"'s are so often part of node names.
  556. If you wish to enclose a cross reference in parentheses, terminate it
  557. with a period first.  Here are two examples of cross references pointers:
  558.  
  559.      *Note details: commands.  (See *note 3: Full Proof.)
  560.  
  561. They are just examples.  The places they "lead to" don't really exist!
  562. 
  563. File: info,  Node: Tags,  Previous: Cross-refs,  Up: Top,  Next: Checking
  564.  
  565. Tag Tables for Info Files:
  566.  
  567.   You can speed up the access to nodes of a large Info file by giving
  568. it a tag table.  Unlike the tag table for a program, the tag table for
  569. an Info file lives inside the file itself and will automatically be
  570. used whenever Info reads in the file.
  571.  
  572.   To make a tag table, go to a node in the file using Info and type
  573. M-x Info-tagify.  Then you must use C-x C-s to save the file.
  574.  
  575.   Once the Info file has a tag table, you must make certain it is up
  576. to date.  If, as a result of deletion of text, any node moves back
  577. more than a thousand characters in the file from the position
  578. recorded in the tag table, Info will no longer be able to find that
  579. node.  To update the tag table, use the Info-tagify command again.
  580.  
  581.   An Info file tag table appears at the end of the file and looks like
  582. this:
  583.  
  584. ^_
  585. Tag Table:
  586. File: info, Node: Cross-refs21419
  587. File: info,  Node: Tags22145
  588. ^_
  589. End Tag Table
  590.  
  591. Note that it contains one line per node, and this line contains
  592. the beginning of the node's header (ending just after the node name),
  593. a rubout character, and the character position in the file of the
  594. beginning of the node.
  595. 
  596. File: info,  Node: Checking,  Previous: Tags,  Up: Top
  597.  
  598. Checking an Info File:
  599.  
  600.   When creating an Info file, it is easy to forget the name of a node
  601. when you are making a pointer to it from another node.  If you put in
  602. the wrong name for a node, this will not be detected until someone
  603. tries to go through the pointer using Info.  Verification of the Info
  604. file is an automatic process which checks all pointers to nodes and
  605. reports any pointers which are invalid.  Every Next, Previous, and Up
  606. is checked, as is every menu item and every cross reference.  In addition,
  607. any Next which doesn't have a Previous pointing back is reported.
  608. Only pointers within the file are checked, because checking pointers
  609. to other files would be terribly slow.  But those are usually few.
  610.  
  611.   To check an Info file, do M-x Info-validate while looking at any
  612. node of the file with Info.
  613. 
  614. Tag table:
  615. File: info,  Node: Checking25796
  616. File: info,  Node: Tags24579
  617. File: info, Node: Cross-refs23926
  618. File: info, Node: Menus21121
  619. File: info,  Node: Add18186
  620. File: info,  Node: Expert15972
  621. File: info    Node: Help-Q15421
  622. File: info    Node: Help-Cross14907
  623. File: info    Node: Help-Adv12631
  624. File: info    Node: Help-FOO11930
  625. File: info    Node: Help-M6648
  626. File: info    Node: Help-^L4141
  627. File: info    Node: Help-P3393
  628. File: info    Node: Help2444
  629. File: info    Node: Help-Small-Screen816
  630. File: info    Node: Top111
  631. 
  632. End tag table
  633.