Mercurial > hg > xemacs-beta
comparison man/info.texi @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | ee648375d8d6 |
children | cca96a509cfe |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
1 \input texinfo @c -*-texinfo-*- | 1 \input texinfo @c -*-texinfo-*- |
2 @comment %**start of header | 2 @comment %**start of header |
3 @setfilename info.info | 3 @setfilename ../info/info.info |
4 @settitle Info 1.0 | 4 @settitle Info 1.0 |
5 @comment %**end of header | 5 @comment %**end of header |
6 @comment $Id: info.texi,v 1.3 1997/08/30 03:56:39 steve Exp $ | 6 |
7 | 7 @iftex |
8 @dircategory Texinfo documentation system | 8 @finalout |
9 @direntry | 9 @end iftex |
10 * Info: (info). Documentation browsing system. | |
11 @end direntry | |
12 | 10 |
13 @ifinfo | 11 @ifinfo |
14 This file describes how to use Info, | 12 This file describes how to use Info, |
15 the on-line, menu-driven GNU documentation system. | 13 the on-line, menu-driven GNU documentation system. |
16 | 14 |
17 Copyright (C) 1989, 92, 96, 97 Free Software Foundation, Inc. | 15 Copyright (C) 1989, 1992 Free Software Foundation, Inc. |
18 | 16 |
19 Permission is granted to make and distribute verbatim copies of | 17 Permission is granted to make and distribute verbatim copies of |
20 this manual provided the copyright notice and this permission notice | 18 this manual provided the copyright notice and this permission notice |
21 are preserved on all copies. | 19 are preserved on all copies. |
22 | 20 |
36 into another language, under the above conditions for modified versions, | 34 into another language, under the above conditions for modified versions, |
37 except that this permission notice may be stated in a translation approved | 35 except that this permission notice may be stated in a translation approved |
38 by the Free Software Foundation. | 36 by the Free Software Foundation. |
39 @end ifinfo | 37 @end ifinfo |
40 | 38 |
39 @setchapternewpage odd | |
41 @titlepage | 40 @titlepage |
42 @title Info | 41 @sp 11 |
43 @subtitle The online, menu-driven GNU documentation system | 42 @center @titlefont{Info} |
44 @author Brian Fox | 43 @sp 2 |
44 @center The | |
45 @sp 2 | |
46 @center On-line, Menu-driven | |
47 @sp 2 | |
48 @center GNU Documentation System | |
49 | |
45 @page | 50 @page |
46 @vskip 0pt plus 1filll | 51 @vskip 0pt plus 1filll |
47 Copyright @copyright{} 1989, 1992, 1993, 1996, 1997 Free Software | 52 Copyright @copyright{} 1989, 1992, 1993 Free Software Foundation, Inc. |
48 Foundation, Inc. | |
49 @sp 2 | 53 @sp 2 |
50 | 54 |
51 Published by the Free Software Foundation @* | 55 Published by the Free Software Foundation @* |
52 59 Temple Place - Suite 330 @* | 56 675 Massachusetts Avenue, @* |
53 Boston, MA 02111-1307, USA. | 57 Cambridge, MA 02139 USA @* |
54 | 58 |
55 Permission is granted to make and distribute verbatim copies of | 59 Permission is granted to make and distribute verbatim copies of |
56 this manual provided the copyright notice and this permission notice | 60 this manual provided the copyright notice and this permission notice |
57 are preserved on all copies. | 61 are preserved on all copies. |
58 | 62 |
65 into another language, under the above conditions for modified versions, | 69 into another language, under the above conditions for modified versions, |
66 except that this permission notice may be stated in a translation approved | 70 except that this permission notice may be stated in a translation approved |
67 by the Free Software Foundation. | 71 by the Free Software Foundation. |
68 @end titlepage | 72 @end titlepage |
69 | 73 |
74 @paragraphindent 3 | |
70 @ifinfo | 75 @ifinfo |
71 @node Top, Getting Started, , (dir) | 76 @node Top, Getting Started, (dir), (dir) |
72 @top Info: An Introduction | 77 @top Info: An Introduction |
73 | 78 |
74 Info is a program for reading documentation, which you are using now. | 79 Info is a program for reading documentation, which you are using now. |
75 | 80 |
76 To learn how to use Info, type the command @kbd{h}. It brings you | 81 To learn how to use Info, type the command @kbd{h}. It brings you |
77 to a programmed instruction sequence. | 82 to a programmed instruction sequence. If at any time you are ready to |
83 stop using Info, type @samp{q}. | |
78 | 84 |
79 @c Need to make sure that `Info-help' goes to the right node, | 85 @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.) | 86 @c which is the first node of the first chapter. (It should.) |
81 @c (Info-find-node "info" | 87 @c (Info-find-node "info" |
82 @c (if (< (window-height) 23) | 88 @c (if (< (window-height) 23) |
83 @c "Help-Small-Screen" | 89 @c "Help-Small-Screen" |
84 @c "Help"))) | 90 @c "Help"))) |
85 | 91 |
86 To learn advanced Info commands, type @kbd{n} twice. This brings you to | 92 To learn advanced Info commands, type @kbd{n} twice. This brings you to |
87 @cite{Info for Experts}, skipping over the `Getting Started' chapter. | 93 @cite{Info for Experts}, skipping over the `Getting Started' chapter. |
88 @end ifinfo | 94 @end ifinfo |
89 | 95 |
90 @menu | 96 @menu |
91 * Getting Started:: Getting started using an Info reader. | 97 * Getting Started:: Getting started using an Info reader. |
92 * Advanced Info:: Advanced commands within Info. | 98 * Advanced Info:: Advanced commands within Info. |
93 * Create an Info File:: How to make your own Info file. | 99 * Create an Info File:: How to make your own Info file. |
94 * The Standalone Info Program: (info-stnd.info). | |
95 @end menu | 100 @end menu |
96 | 101 |
97 @node Getting Started, Advanced Info, Top, Top | 102 @node Getting Started, Advanced Info, Top, Top |
98 @comment node-name, next, previous, up | 103 @comment node-name, next, previous, up |
99 @chapter Getting Started | 104 @chapter Getting Started |
115 There are two ways of looking at the online version of this manual: | 120 There are two ways of looking at the online version of this manual: |
116 | 121 |
117 @enumerate | 122 @enumerate |
118 @item | 123 @item |
119 Type @code{info} at your shell's command line. This approach uses a | 124 Type @code{info} at your shell's command line. This approach uses a |
120 small stand-alone program designed just to read Info files. | 125 stand-alone program designed just to read Info files. |
121 | 126 |
122 @item | 127 @item |
123 Type @code{emacs} at the command line; then type @kbd{C-h i} (Control | 128 Type @code{emacs} at the command line; then type @kbd{C-h i} (Control |
124 @kbd{h}, followed by @kbd{i}). This approach uses the Info mode of the | 129 @kbd{h}, followed by @kbd{i}). This approach uses the Info mode of the |
125 Emacs program, an editor with many other capabilities. | 130 Emacs program, an editor with many other capabilities. |
137 | 142 |
138 @menu | 143 @menu |
139 * Help-Small-Screen:: Starting Info on a Small Screen | 144 * Help-Small-Screen:: Starting Info on a Small Screen |
140 * Help:: How to use Info | 145 * Help:: How to use Info |
141 * Help-P:: Returning to the Previous node | 146 * Help-P:: Returning to the Previous node |
142 * Help-^L:: The Space, Rubout, B and ^L commands. | 147 * Help-C-l:: The Space, Rubout, B and C-l commands. |
143 * Help-M:: Menus | 148 * Help-M:: Menus |
144 * Help-Adv:: Some advanced Info commands | 149 * Help-Adv:: Some advanced Info commands |
145 * Help-Q:: Quitting Info | 150 * Help-Q:: Quitting Info |
151 * Using Stand-alone Info:: How to use the stand-alone Info reader. | |
146 @end menu | 152 @end menu |
147 | 153 |
148 @node Help-Small-Screen, Help, , Getting Started | 154 @node Help-Small-Screen, Help, , Getting Started |
149 @comment node-name, next, previous, up | 155 @comment node-name, next, previous, up |
150 @section Starting Info on a Small Screen | 156 @section Starting Info on a Small Screen |
160 If you see the text @samp{--All----} at near the bottom right corner | 166 If you see the text @samp{--All----} at near the bottom right corner |
161 of the screen, it means the entire text you are looking at fits on the | 167 of the screen, it means the entire text you are looking at fits on the |
162 screen. If you see @samp{--Top----} instead, it means that there is | 168 screen. If you see @samp{--Top----} instead, it means that there is |
163 more text below that does not fit. To move forward through the text | 169 more text below that does not fit. To move forward through the text |
164 and see another screen full, press the Space bar, @key{SPC}. To move | 170 and see another screen full, press the Space bar, @key{SPC}. To move |
165 back up, press the key labeled @samp{Backspace} or @key{Delete}. | 171 back up, press the key labeled @samp{Delete} or @key{DEL}. |
166 | 172 |
167 @ifinfo | 173 @ifinfo |
168 Here are 40 lines of junk, so you can try Spaces and Deletes and | 174 Here are 40 lines of junk, so you can try Spaces and Deletes and |
169 see what they do. At the end are instructions of what you should do | 175 see what they do. At the end are instructions of what you should do |
170 next. | 176 next. |
171 | 177 @format |
172 This is line 17 @* | 178 This is line 17 |
173 This is line 18 @* | 179 This is line 18 |
174 This is line 19 @* | 180 This is line 19 |
175 This is line 20 @* | 181 This is line 20 |
176 This is line 21 @* | 182 This is line 21 |
177 This is line 22 @* | 183 This is line 22 |
178 This is line 23 @* | 184 This is line 23 |
179 This is line 24 @* | 185 This is line 24 |
180 This is line 25 @* | 186 This is line 25 |
181 This is line 26 @* | 187 This is line 26 |
182 This is line 27 @* | 188 This is line 27 |
183 This is line 28 @* | 189 This is line 28 |
184 This is line 29 @* | 190 This is line 29 |
185 This is line 30 @* | 191 This is line 30 |
186 This is line 31 @* | 192 This is line 31 |
187 This is line 32 @* | 193 This is line 32 |
188 This is line 33 @* | 194 This is line 33 |
189 This is line 34 @* | 195 This is line 34 |
190 This is line 35 @* | 196 This is line 35 |
191 This is line 36 @* | 197 This is line 36 |
192 This is line 37 @* | 198 This is line 37 |
193 This is line 38 @* | 199 This is line 38 |
194 This is line 39 @* | 200 This is line 39 |
195 This is line 40 @* | 201 This is line 40 |
196 This is line 41 @* | 202 This is line 41 |
197 This is line 42 @* | 203 This is line 42 |
198 This is line 43 @* | 204 This is line 43 |
199 This is line 44 @* | 205 This is line 44 |
200 This is line 45 @* | 206 This is line 45 |
201 This is line 46 @* | 207 This is line 46 |
202 This is line 47 @* | 208 This is line 47 |
203 This is line 48 @* | 209 This is line 48 |
204 This is line 49 @* | 210 This is line 49 |
205 This is line 50 @* | 211 This is line 50 |
206 This is line 51 @* | 212 This is line 51 |
207 This is line 52 @* | 213 This is line 52 |
208 This is line 53 @* | 214 This is line 53 |
209 This is line 54 @* | 215 This is line 54 |
210 This is line 55 @* | 216 This is line 55 |
211 This is line 56 @* | 217 This is line 56 |
212 | 218 @end format |
213 If you have managed to get here, go back to the beginning with | 219 If you have managed to get here, go back to the beginning with |
214 Delete, and come back here again, then you understand Space and | 220 Delete, and come back here again, then you understand Space and |
215 Delete. So now type an @kbd{n} ---just one character; don't type | 221 Delete. So now type an @kbd{n} ---just one character; don't type |
216 the quotes and don't type the Return key afterward--- to | 222 the quotes and don't type the Return key afterward--- to |
217 get to the normal start of the course. | 223 get to the normal start of the course. |
236 Besides a @samp{Next}, a node can have a @samp{Previous} or an @samp{Up}. | 242 Besides a @samp{Next}, a node can have a @samp{Previous} or an @samp{Up}. |
237 This node has a @samp{Previous} but no @samp{Up}, as you can see. | 243 This node has a @samp{Previous} but no @samp{Up}, as you can see. |
238 | 244 |
239 Now it is time to move on to the @samp{Next} node, named @samp{Help-P}. | 245 Now it is time to move on to the @samp{Next} node, named @samp{Help-P}. |
240 | 246 |
247 @format | |
241 >> Type @samp{n} to move there. Type just one character; | 248 >> Type @samp{n} to move there. Type just one character; |
242 do not type the quotes and do not type a @key{RET} afterward. | 249 do not type the quotes and do not type a @key{RET} afterward. |
250 @end format | |
243 | 251 |
244 @samp{>>} in the margin means it is really time to try a command. | 252 @samp{>>} in the margin means it is really time to try a command. |
245 | 253 |
246 @node Help-P, Help-^L, Help, Getting Started | 254 @node Help-P, Help-C-l, Help, Getting Started |
247 @comment node-name, next, previous, up | 255 @comment node-name, next, previous, up |
248 @section Returning to the Previous node | 256 @section Returning to the Previous node |
249 | 257 |
250 This node is called @samp{Help-P}. The @samp{Previous} node, as you see, | 258 This node is called @samp{Help-P}. The @samp{Previous} node, as you see, |
251 is @samp{Help}, which is the one you just came from using the @kbd{n} | 259 is @samp{Help}, which is the one you just came from using the @kbd{n} |
252 command. Another @kbd{n} command now would take you to the next | 260 command. Another @kbd{n} command now would take you to the next |
253 node, @samp{Help-^L}. | 261 node, @samp{Help-C-l}. |
254 | 262 |
263 @format | |
255 >> But do not do that yet. First, try the @kbd{p} command, which takes | 264 >> But do not do that yet. First, try the @kbd{p} command, which takes |
256 you to the @samp{Previous} node. When you get there, you can do an | 265 you to the @samp{Previous} node. When you get there, you can do an |
257 @kbd{n} again to return here. | 266 @kbd{n} again to return here. |
267 @end format | |
258 | 268 |
259 This all probably seems insultingly simple so far, but @emph{do not} be | 269 This all probably seems insultingly simple so far, but @emph{do not} be |
260 led into skimming. Things will get more complicated soon. Also, | 270 led into skimming. Things will get more complicated soon. Also, |
261 do not try a new command until you are told it is time to. Otherwise, | 271 do not try a new command until you are told it is time to. Otherwise, |
262 you may make Info skip past an important warning that was coming up. | 272 you may make Info skip past an important warning that was coming up. |
263 | 273 |
264 >> Now do an @kbd{n} to get to the node @samp{Help-^L} and learn more. | 274 @format |
265 | 275 >> Now do an @kbd{n} to get to the node @samp{Help-C-l} and learn more. |
266 @node Help-^L, Help-M, Help-P, Getting Started | 276 @end format |
267 @comment node-name, next, previous, up | 277 |
268 @section The Space, Delete, B and ^L commands. | 278 @node Help-C-l, Help-M, Help-P, Getting Started |
269 | 279 @comment node-name, next, previous, up |
270 This node's header tells you that you are now at node @samp{Help-^L}, and | 280 @section The Space, Delete, B and C-l commands. |
281 | |
282 This node's header tells you that you are now at node @samp{Help-C-l}, and | |
271 that @kbd{p} would get you back to @samp{Help-P}. The node's title is | 283 that @kbd{p} would get you back to @samp{Help-P}. The node's title is |
272 underlined; it says what the node is about (most nodes have titles). | 284 underlined; it says what the node is about (most nodes have titles). |
273 | 285 |
274 This is a big node and it does not all fit on your display screen. | 286 This is a big node and it does not all fit on your display screen. |
275 You can tell that there is more that is not visible because you | 287 You can tell that there is more that is not visible because you |
280 around'' in a node that does not all fit on the screen at once. | 292 around'' in a node that does not all fit on the screen at once. |
281 Space moves forward, to show what was below the bottom of the screen. | 293 Space moves forward, to show what was below the bottom of the screen. |
282 Delete moves backward, to show what was above the top of the screen | 294 Delete moves backward, to show what was above the top of the screen |
283 (there is not anything above the top until you have typed some spaces). | 295 (there is not anything above the top until you have typed some spaces). |
284 | 296 |
297 @format | |
285 >> Now try typing a Space (afterward, type a Delete to return here). | 298 >> Now try typing a Space (afterward, type a Delete to return here). |
299 @end format | |
286 | 300 |
287 When you type the space, the two lines that were at the bottom of | 301 When you type the space, the two lines that were at the bottom of |
288 the screen appear at the top, followed by more lines. Delete takes | 302 the screen appear at the top, followed by more lines. Delete takes |
289 the two lines from the top and moves them to the bottom, | 303 the two lines from the top and moves them to the bottom, |
290 @emph{usually}, but if there are not a full screen's worth of lines | 304 @emph{usually}, but if there are not a full screen's worth of lines |
296 | 310 |
297 If your screen is ever garbaged, you can tell Info to print it out | 311 If your screen is ever garbaged, you can tell Info to print it out |
298 again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down ``Control'' and | 312 again by typing @kbd{C-l} (@kbd{Control-L}, that is---hold down ``Control'' and |
299 type an @key{L} or @kbd{l}). | 313 type an @key{L} or @kbd{l}). |
300 | 314 |
315 @format | |
301 >> Type @kbd{C-l} now. | 316 >> Type @kbd{C-l} now. |
317 @end format | |
302 | 318 |
303 To move back to the beginning of the node you are on, you can type | 319 To move back to the beginning of the node you are on, you can type |
304 a lot of Deletes. You can also type simply @kbd{b} for beginning. | 320 a lot of Deletes. You can also type simply @kbd{b} for beginning. |
321 @format | |
305 >> Try that now. (We have put in enough verbiage to push this past | 322 >> Try that now. (We have put in enough verbiage to push this past |
306 the first screenful, but screens are so big nowadays that perhaps it | 323 the first screenful, but screens are so big nowadays that perhaps it |
307 isn't enough. You may need to shrink your Emacs or Info window.) | 324 isn't enough. You may need to shrink your Emacs or Info window.) |
308 Then come back, with Spaces. | 325 Then come back, with Spaces. |
309 | 326 @end format |
310 If your screen is very tall, all of this node might fit at once. | 327 |
328 If your screen is very tall, all of this node might fit at once. | |
311 In that case, "b" won't do anything. Sorry; what can we do? | 329 In that case, "b" won't do anything. Sorry; what can we do? |
312 | 330 |
313 You have just learned a considerable number of commands. If you | 331 You have just learned a considerable number of commands. If you |
314 want to use one but have trouble remembering which, you should type | 332 want to use one but have trouble remembering which, you should type |
315 a @key{?} which prints out a brief list of commands. When you are | 333 a @key{?} which prints out a brief list of commands. When you are |
316 finished looking at the list, make it go away by pressing @key{SPC} | 334 finished looking at the list, make it go away by typing a @key{SPC}. |
317 repeatedly. | 335 |
318 | 336 @format |
319 >> Type a @key{?} now. Press @key{SPC} to see consecutive screenfuls of | 337 >> Type a @key{?} now. After it finishes, type a @key{SPC}. |
320 >> the list until finished. | 338 @end format |
339 | |
340 (If you are using the standalone Info reader, type `l' to return here.) | |
321 | 341 |
322 From now on, you will encounter large nodes without warning, and | 342 From now on, you will encounter large nodes without warning, and |
323 will be expected to know how to use Space and Delete to move | 343 will be expected to know how to use Space and Delete to move |
324 around in them without being told. Since not all terminals have | 344 around in them without being told. Since not all terminals have |
325 the same size screen, it would be impossible to warn you anyway. | 345 the same size screen, it would be impossible to warn you anyway. |
326 | 346 |
347 @format | |
327 >> Now type @kbd{n} to see the description of the @kbd{m} command. | 348 >> Now type @kbd{n} to see the description of the @kbd{m} command. |
328 | 349 @end format |
329 @node Help-M, Help-Adv, Help-^L, Getting Started | 350 |
351 @node Help-M, Help-Adv, Help-C-l, Getting Started | |
330 @comment node-name, next, previous, up | 352 @comment node-name, next, previous, up |
331 @section Menus | 353 @section Menus |
332 | 354 |
333 Menus and the @kbd{m} command | 355 Menus and the @kbd{m} command |
334 | 356 |
376 | 398 |
377 @noindent | 399 @noindent |
378 This means that the subtopic name and node name are the same; they are | 400 This means that the subtopic name and node name are the same; they are |
379 both @samp{Foo}. | 401 both @samp{Foo}. |
380 | 402 |
403 @format | |
381 >> Now use Spaces to find the menu in this node, then come back to | 404 >> Now use Spaces to find the menu in this node, then come back to |
382 the front with a @kbd{b} and some Spaces. As you see, a menu is | 405 the front with a @kbd{b} and some Spaces. As you see, a menu is |
383 actually visible in its node. If you cannot find a menu in a node | 406 actually visible in its node. If you cannot find a menu in a node |
384 by looking at it, then the node does not have a menu and the | 407 by looking at it, then the node does not have a menu and the |
385 @kbd{m} command is not available. | 408 @kbd{m} command is not available. |
409 @end format | |
386 | 410 |
387 The command to go to one of the subnodes is @kbd{m}---but @emph{do | 411 The command to go to one of the subnodes is @kbd{m}---but @emph{do |
388 not do it yet!} Before you use @kbd{m}, you must understand the | 412 not do it yet!} Before you use @kbd{m}, you must understand the |
389 difference between commands and arguments. So far, you have learned | 413 difference between commands and arguments. So far, you have learned |
390 several commands that do not need arguments. When you type one, Info | 414 several commands that do not need arguments. When you type one, Info |
427 not need to type the argument: you just type a Return, and it stands for | 451 not need to type the argument: you just type a Return, and it stands for |
428 the subtopic of the line you are on. | 452 the subtopic of the line you are on. |
429 | 453 |
430 Here is a menu to give you a chance to practice. | 454 Here is a menu to give you a chance to practice. |
431 | 455 |
432 * Menu: The menu starts here. | 456 * Menu: The menu starts here. |
433 | 457 |
434 This menu gives you three ways of going to one place, Help-FOO. | 458 This menu gives you three ways of going to one place, Help-FOO. |
435 | 459 |
436 * Foo: Help-FOO. A node you can visit for fun.@* | 460 * Foo: Help-FOO. A node you can visit for fun.@* |
437 * Bar: Help-FOO. Strange! two ways to get to the same place.@* | 461 * Bar: Help-FOO. Strange! two ways to get to the same place.@* |
438 * Help-FOO:: And yet another!@* | 462 * Help-FOO:: And yet another!@* |
439 | 463 |
440 | 464 |
465 @format | |
441 >> Now type just an @kbd{m} and see what happens: | 466 >> Now type just an @kbd{m} and see what happens: |
467 @end format | |
442 | 468 |
443 Now you are ``inside'' an @kbd{m} command. Commands cannot be used | 469 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. | 470 now; the next thing you will type must be the name of a subtopic. |
445 | 471 |
446 You can change your mind about doing the @kbd{m} by typing Control-g. | 472 You can change your mind about doing the @kbd{m} by typing Control-g. |
447 | 473 |
474 @format | |
448 >> Try that now; notice the bottom line clear. | 475 >> Try that now; notice the bottom line clear. |
449 | 476 |
450 >> Then type another @kbd{m}. | 477 >> Then type another @kbd{m}. |
451 | 478 |
452 >> Now type @samp{BAR} item name. Do not type Return yet. | 479 >> Now type @samp{BAR} item name. Do not type Return yet. |
480 @end format | |
453 | 481 |
454 While you are typing the item name, you can use the Delete key to | 482 While you are typing the item name, you can use the Delete key to |
455 cancel one character at a time if you make a mistake. | 483 cancel one character at a time if you make a mistake. |
456 | 484 |
485 @format | |
457 >> Type one to cancel the @samp{R}. You could type another @samp{R} to | 486 >> Type one to cancel the @samp{R}. You could type another @samp{R} to |
458 replace it. You do not have to, since @samp{BA} is a valid abbreviation. | 487 replace it. You do not have to, since @samp{BA} is a valid abbreviation. |
459 | 488 |
460 >> Now you are ready to go. Type a @key{RET}. | 489 >> Now you are ready to go. Type a @key{RET}. |
490 @end format | |
461 | 491 |
462 After visiting Help-FOO, you should return here. | 492 After visiting Help-FOO, you should return here. |
463 | 493 |
494 @format | |
464 >> Type @kbd{n} to see more commands. | 495 >> Type @kbd{n} to see more commands. |
496 @end format | |
465 | 497 |
466 @c If a menu appears at the end of this node, remove it. | 498 @c If a menu appears at the end of this node, remove it. |
467 @c It is an accident of the menu updating command. | 499 @c It is an accident of the menu updating command. |
468 | 500 |
469 Here is another way to get to Help-FOO, a menu. You can ignore this | 501 Here is another way to get to Help-FOO, a menu. You can ignore this |
488 You can go back to the node @samp{Help-M} by typing the command | 520 You can go back to the node @samp{Help-M} by typing the command |
489 @kbd{u} for ``Up''. That puts you at the @emph{front} of the | 521 @kbd{u} for ``Up''. That puts you at the @emph{front} of the |
490 node---to get back to where you were reading you have to type | 522 node---to get back to where you were reading you have to type |
491 some @key{SPC}s. | 523 some @key{SPC}s. |
492 | 524 |
525 @format | |
493 >> Now type @kbd{u} to move back up to @samp{Help-M}. | 526 >> Now type @kbd{u} to move back up to @samp{Help-M}. |
527 @end format | |
494 | 528 |
495 @node Help-Adv, Help-Q, Help-M, Getting Started | 529 @node Help-Adv, Help-Q, Help-M, Getting Started |
496 @comment node-name, next, previous, up | 530 @comment node-name, next, previous, up |
497 @section Some advanced Info commands | 531 @section Some advanced Info commands |
498 | 532 |
508 If you have been following directions, ad @kbd{l} command now will get | 542 If you have been following directions, ad @kbd{l} command now will get |
509 you back to @samp{Help-M}. Another @kbd{l} command would undo the | 543 you back to @samp{Help-M}. Another @kbd{l} command would undo the |
510 @kbd{u} and get you back to @samp{Help-FOO}. Another @kbd{l} would undo | 544 @kbd{u} and get you back to @samp{Help-FOO}. Another @kbd{l} would undo |
511 the @kbd{m} and get you back to @samp{Help-M}. | 545 the @kbd{m} and get you back to @samp{Help-M}. |
512 | 546 |
547 @format | |
513 >> Try typing three @kbd{l}'s, pausing in between to see what each | 548 >> Try typing three @kbd{l}'s, pausing in between to see what each |
514 @kbd{l} does. | 549 @kbd{l} does. |
550 @end format | |
515 | 551 |
516 Then follow directions again and you will end up back here. | 552 Then follow directions again and you will end up back here. |
517 | 553 |
518 Note the difference between @kbd{l} and @kbd{p}: @kbd{l} moves to | 554 Note the difference between @kbd{l} and @kbd{p}: @kbd{l} moves to |
519 where @emph{you} last were, whereas @kbd{p} always moves to the node | 555 where @emph{you} last were, whereas @kbd{p} always moves to the node |
523 The @samp{d} command gets you instantly to the Directory node. | 559 The @samp{d} command gets you instantly to the Directory node. |
524 This node, which is the first one you saw when you entered Info, | 560 This node, which is the first one you saw when you entered Info, |
525 has a menu which leads (directly, or indirectly through other menus), | 561 has a menu which leads (directly, or indirectly through other menus), |
526 to all the nodes that exist. | 562 to all the nodes that exist. |
527 | 563 |
564 @format | |
528 >> Try doing a @samp{d}, then do an @kbd{l} to return here (yes, | 565 >> Try doing a @samp{d}, then do an @kbd{l} to return here (yes, |
529 @emph{do} return). | 566 @emph{do} return). |
567 @end format | |
530 | 568 |
531 Sometimes, in Info documentation, you will see a cross reference. | 569 Sometimes, in Info documentation, you will see a cross reference. |
532 Cross references look like this: @xref{Help-Cross, Cross}. That is a | 570 Cross references look like this: @xref{Help-Cross, Cross}. That is a |
533 real, live cross reference which is named @samp{Cross} and points at | 571 real, live cross reference which is named @samp{Cross} and points at |
534 the node named @samp{Help-Cross}. | 572 the node named @samp{Help-Cross}. |
540 any reference, you can use @kbd{Control-g} to cancel the command. | 578 any reference, you can use @kbd{Control-g} to cancel the command. |
541 | 579 |
542 Completion is available in the @samp{f} command; you can complete among | 580 Completion is available in the @samp{f} command; you can complete among |
543 all the cross reference names in the current node by typing a Tab. | 581 all the cross reference names in the current node by typing a Tab. |
544 | 582 |
583 @format | |
545 >> Type @samp{f}, followed by @samp{Cross}, and a @key{RET}. | 584 >> Type @samp{f}, followed by @samp{Cross}, and a @key{RET}. |
585 @end format | |
546 | 586 |
547 To get a list of all the cross references in the current node, you can | 587 To get a list of all the cross references in the current node, you can |
548 type @kbd{?} after an @samp{f}. The @samp{f} continues to await a | 588 type @kbd{?} after an @samp{f}. The @samp{f} continues to await a |
549 cross reference name even after printing the list, so if you don't | 589 cross reference name even after printing the list, so if you don't |
550 actually want to follow a reference, you should type a @kbd{Control-g} | 590 actually want to follow a reference, you should type a @kbd{Control-g} |
551 to cancel the @samp{f}. | 591 to cancel the @samp{f}. |
552 | 592 |
593 @format | |
553 >> Type "f?" to get a list of the cross references in this node. Then | 594 >> Type "f?" to get a list of the cross references in this node. Then |
554 type a @kbd{Control-g} and see how the @samp{f} gives up. | 595 type a @kbd{Control-g} and see how the @samp{f} gives up. |
555 | 596 |
556 >> Now type @kbd{n} to see the last node of the course. | 597 >> Now type @kbd{n} to see the last node of the course. |
598 @end format | |
557 | 599 |
558 @c If a menu appears at the end of this node, remove it. | 600 @c If a menu appears at the end of this node, remove it. |
559 @c It is an accident of the menu updating command. | 601 @c It is an accident of the menu updating command. |
560 | 602 |
561 @node Help-Cross, , , Help-Adv | 603 @node Help-Cross, , , Help-Adv |
569 someplace else far away in the structure of Info. So you cannot expect | 611 someplace else far away in the structure of Info. So you cannot expect |
570 the footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing back to | 612 the footnote to have a @samp{Next}, @samp{Previous} or @samp{Up} pointing back to |
571 where you came from. In general, the @kbd{l} (el) command is the only | 613 where you came from. In general, the @kbd{l} (el) command is the only |
572 way to get back there. | 614 way to get back there. |
573 | 615 |
616 @format | |
574 >> Type @kbd{l} to return to the node where the cross reference was. | 617 >> Type @kbd{l} to return to the node where the cross reference was. |
618 @end format | |
575 | 619 |
576 @node Help-Q, , Help-Adv, Getting Started | 620 @node Help-Q, , Help-Adv, Getting Started |
577 @comment node-name, next, previous, up | 621 @comment node-name, next, previous, up |
578 @section Quitting Info | 622 @section Quitting Info |
579 | 623 |
584 commands that are meant for experienced users; they are useful, and you | 628 commands that are meant for experienced users; they are useful, and you |
585 can find them by looking in the directory node for documentation on | 629 can find them by looking in the directory node for documentation on |
586 Info. Finding them will be a good exercise in using Info in the usual | 630 Info. Finding them will be a good exercise in using Info in the usual |
587 manner. | 631 manner. |
588 | 632 |
633 @format | |
589 >> Type @samp{d} to go to the Info directory node; then type | 634 >> 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 | 635 @samp{mInfo} and Return, to get to the node about Info and |
591 see what other help is available. | 636 see what other help is available. |
637 @end format | |
592 | 638 |
593 @node Advanced Info, Create an Info File, Getting Started, Top | 639 @node Advanced Info, Create an Info File, Getting Started, Top |
594 @comment node-name, next, previous, up | 640 @comment node-name, next, previous, up |
595 @chapter Info for Experts | 641 @chapter Info for Experts |
596 | 642 |
684 if hyou want to edit an Info file, here is how. | 730 if hyou want to edit an Info file, here is how. |
685 | 731 |
686 The new node can live in an existing documentation file, or in a new | 732 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 | 733 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 | 734 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 | 735 a @key{^_}, a @key{C-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 | 736 @key{C-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. | 737 to start the next one, since @key{C-l} cannot @emph{start} a node. |
692 Also, a nicer way to make a node boundary be a page boundary as well | 738 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{^_}. | 739 is to put a @key{C-l} @emph{right after} the @key{^_}. |
694 | 740 |
695 The @key{^_} starting a node must be followed by a newline or a | 741 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 | 742 @key{C-l} newline, after which comes the node's header line. The |
697 header line must give the node's name (by which Info finds it), | 743 header line must give the node's name (by which Info finds it), |
698 and state the names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if | 744 and state the names of the @samp{Next}, @samp{Previous}, and @samp{Up} nodes (if |
699 there are any). As you can see, this node's @samp{Up} node is the node | 745 there 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} | 746 @samp{Top}, which points at all the documentation for Info. The @samp{Next} |
701 node is @samp{Menus}. | 747 node is @samp{Menus}. |
873 you may wish to set one or several of these variables interactively, or | 919 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 | 920 in your @file{~/.emacs} init file. @xref{Examining, Examining and Setting |
875 Variables, Examining and Setting Variables, emacs, The GNU Emacs | 921 Variables, Examining and Setting Variables, emacs, The GNU Emacs |
876 Manual}. | 922 Manual}. |
877 | 923 |
878 @vtable @code | 924 @table @code |
879 @item Info-enable-edit | 925 @item Info-enable-edit |
880 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A | 926 Set to @code{nil}, disables the @samp{e} (@code{Info-edit}) command. A |
881 non-@code{nil} value enables it. @xref{Add, Edit}. | 927 non-@code{nil} value enables it. @xref{Add, Edit}. |
882 | 928 |
883 @item Info-enable-active-nodes | 929 @item Info-enable-active-nodes |
890 string (directory name) or @code{nil} (try default directory). | 936 string (directory name) or @code{nil} (try default directory). |
891 | 937 |
892 @item Info-directory | 938 @item Info-directory |
893 The standard directory for Info documentation files. Only used when the | 939 The standard directory for Info documentation files. Only used when the |
894 function @code{Info-directory} is called. | 940 function @code{Info-directory} is called. |
895 @end vtable | 941 @end table |
896 | 942 |
897 @node Create an Info File, , Advanced Info, Top | 943 @node Create an Info File, , Advanced Info, Top |
898 @comment node-name, next, previous, up | 944 @comment node-name, next, previous, up |
899 @chapter Creating an Info File from a Makeinfo file | 945 @chapter Creating an Info File from a Makeinfo file |
900 | 946 |
906 Manual}, to learn how to create an Info file from a Texinfo file. | 952 Manual}, to learn how to create an Info file from a Texinfo file. |
907 | 953 |
908 @xref{Top,, Overview of Texinfo, texinfo, Texinfo: The GNU Documentation | 954 @xref{Top,, Overview of Texinfo, texinfo, Texinfo: The GNU Documentation |
909 Format}, to learn how to write a Texinfo file. | 955 Format}, to learn how to write a Texinfo file. |
910 | 956 |
957 @nwnode Using Stand-alone Info, Options, , Top | |
958 @chapter Using the Stand-alone Info Reader | |
959 @lowersections | |
960 @c Make the paragraph indentation match the rest of this file. | |
961 @paragraphindent 2 | |
962 @include info-stnd.texi | |
963 @raisesections | |
911 @bye | 964 @bye |