This file is indexed.

/usr/share/doc/texinfo/html/Updating-Commands.html is in texinfo-doc-nonfree 5.2.0-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<!-- This manual is for GNU Texinfo (version 5.2, 26 September 2013),
a documentation system that can produce both online information and a
printed manual from a single source using semantic markup.

Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2001, 2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009,
2010, 2011, 2012, 2013 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with the Front-Cover Texts being "A GNU Manual",
and with the Back-Cover Texts as in (a) below.  A copy of the license
is included in the section entitled "GNU Free Documentation
License".

(a) The FSF's Back-Cover Text is: "You have the freedom to copy and
modify this GNU manual.  Buying copies from the FSF supports it in
developing GNU and promoting software freedom." -->
<!-- Created by GNU Texinfo 5.1, http://www.gnu.org/software/texinfo/ -->
<head>
<title>GNU Texinfo 5.2: Updating Commands</title>

<meta name="description" content="GNU Texinfo 5.2: Updating Commands">
<meta name="keywords" content="GNU Texinfo 5.2: Updating Commands">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="index.html#Top" rel="start" title="Top">
<link href="Command-and-Variable-Index.html#Command-and-Variable-Index" rel="index" title="Command and Variable Index">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Updating-Nodes-and-Menus.html#Updating-Nodes-and-Menus" rel="up" title="Updating Nodes and Menus">
<link href="Updating-Requirements.html#Updating-Requirements" rel="next" title="Updating Requirements">
<link href="Updating-Nodes-and-Menus.html#Updating-Nodes-and-Menus" rel="previous" title="Updating Nodes and Menus">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.indentedblock {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
div.smallindentedblock {margin-left: 3.2em; font-size: smaller}
div.smalllisp {margin-left: 3.2em}
kbd {font-style:oblique}
pre.display {font-family: inherit}
pre.format {font-family: inherit}
pre.menu-comment {font-family: serif}
pre.menu-preformatted {font-family: serif}
pre.smalldisplay {font-family: inherit; font-size: smaller}
pre.smallexample {font-size: smaller}
pre.smallformat {font-family: inherit; font-size: smaller}
pre.smalllisp {font-size: smaller}
span.nocodebreak {white-space:nowrap}
span.nolinebreak {white-space:nowrap}
span.roman {font-family:serif; font-weight:normal}
span.sansserif {font-family:sans-serif; font-weight:normal}
ul.no-bullet {list-style: none}
-->
</style>


</head>

<body lang="en" bgcolor="#FFFFFF" text="#000000" link="#0000FF" vlink="#800080" alink="#FF0000">
<a name="Updating-Commands"></a>
<div class="header">
<p>
Next: <a href="Updating-Requirements.html#Updating-Requirements" accesskey="n" rel="next">Updating Requirements</a>, Up: <a href="Updating-Nodes-and-Menus.html#Updating-Nodes-and-Menus" accesskey="u" rel="up">Updating Nodes and Menus</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html#Command-and-Variable-Index" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<a name="The-Updating-Commands"></a>
<h4 class="subsection">2.5.1 The Updating Commands</h4>

<p>You can use the updating commands to:
</p>
<ul>
<li> insert or update the &lsquo;Next&rsquo;, &lsquo;Previous&rsquo;, and &lsquo;Up&rsquo; pointers of a node,

</li><li> insert or update the menu for a section, and

</li><li> create a master menu for a Texinfo source file.
</li></ul>

<p>You can also use the commands to update all the nodes and menus in a
region or in a whole Texinfo file.
</p>
<p>The updating commands work only with conventional Texinfo files, which
are structured hierarchically like books.  In such files, a structuring
command line must follow closely after each <code>@node</code> line, except
for the &lsquo;Top&rsquo; <code>@node</code> line.  (A <em>structuring command line</em> is
a line beginning with <code>@chapter</code>, <code>@section</code>, or other
similar command.)
</p>
<p>You can write the structuring command line on the line that follows
immediately after an <code>@node</code> line or else on the line that
follows after a single <code>@comment</code> line or a single
<code>@ifinfo</code> line.  You cannot interpose more than one line between
the <code>@node</code> line and the structuring command line; and you may
interpose only an <code>@comment</code> line or an <code>@ifinfo</code> line.
</p>
<p>Commands which work on a whole buffer require that the &lsquo;Top&rsquo; node be
followed by a node with an <code>@chapter</code> or equivalent-level command.
The menu updating commands will not create a main or master menu for a
Texinfo file that has only <code>@chapter</code>-level nodes!  The menu
updating commands only create menus <em>within</em> nodes for lower level
nodes.  To create a menu of chapters, you must provide a &lsquo;Top&rsquo;
node.
</p>
<p>The menu updating commands remove menu entries that refer to other Info
files since they do not refer to nodes within the current buffer.  This
is a deficiency.  Rather than use menu entries, you can use cross
references to refer to other Info files.  None of the updating commands
affect cross references.
</p>
<p>Texinfo mode has five updating commands that are used most often: two
are for updating the node pointers or menu of a single node (or a
region); two are for updating every node pointer and menu in a file;
and one, the <code>texinfo-master-menu</code> command, is for creating a
master menu for a complete file, and optionally, for updating every
node and menu in the whole Texinfo file.
</p>
<p>The <code>texinfo-master-menu</code> command is the primary command:
</p>
<dl compact="compact">
<dt><kbd>C-c C-u m</kbd></dt>
<dt><kbd>M-x texinfo-master-menu</kbd></dt>
<dd><a name="index-texinfo_002dmaster_002dmenu"></a>
<p>Create or update a master menu that includes all the other menus
(incorporating the descriptions from pre-existing menus, if
any).
</p>
<p>With an argument (prefix argument, <kbd>C-u,</kbd> if interactive), first create or
update all the nodes and all the regular menus in the buffer before
constructing the master menu.  (See <a href="The-Top-Node.html#The-Top-Node">The Top Node and
Master Menu</a>, for more about a master menu.)
</p>
<p>For <code>texinfo-master-menu</code> to work, the Texinfo file must have a
&lsquo;Top&rsquo; node and at least one subsequent node.
</p>
<p>After extensively editing a Texinfo file, you can type the following:
</p>
<div class="example">
<pre class="example">C-u M-x texinfo-master-menu
</pre><pre class="example">or
</pre><pre class="example">C-u C-c C-u m
</pre></div>

<p>This updates all the nodes and menus completely and all at once.
</p></dd>
</dl>

<p>The other major updating commands do smaller jobs and are designed for
the person who updates nodes and menus as he or she writes a Texinfo
file.
</p>
<p>The commands are:
</p>
<dl compact="compact">
<dt><kbd>C-c C-u C-n</kbd></dt>
<dt><kbd>M-x texinfo-update-node</kbd></dt>
<dd><a name="index-texinfo_002dupdate_002dnode"></a>
<p>Insert the &lsquo;Next&rsquo;, &lsquo;Previous&rsquo;, and &lsquo;Up&rsquo; pointers for the node that point is
within (i.e., for the <code>@node</code> line preceding point).  If the
<code>@node</code> line has pre-existing &lsquo;Next&rsquo;, &lsquo;Previous&rsquo;, or &lsquo;Up&rsquo;
pointers in it, the old pointers are removed and new ones inserted.
With an argument (prefix argument, <kbd>C-u</kbd>, if interactive), this command
updates all <code>@node</code> lines in the region (which is the text
between point and mark).
</p>
</dd>
<dt><kbd>C-c C-u C-m</kbd></dt>
<dt><kbd>M-x texinfo-make-menu</kbd></dt>
<dd><a name="index-texinfo_002dmake_002dmenu"></a>
<p>Create or update the menu in the node that point is within.
With an argument (<kbd>C-u</kbd> as prefix argument, if
interactive), the command makes or updates menus for the
nodes which are either within or a part of the
region.
</p>
<p>Whenever <code>texinfo-make-menu</code> updates an existing menu, the
descriptions from that menu are incorporated into the new menu.  This
is done by copying descriptions from the existing menu to the entries
in the new menu that have the same node names.  If the node names are
different, the descriptions are not copied to the new menu.
</p>
</dd>
<dt><kbd>C-c C-u C-e</kbd></dt>
<dt><kbd>M-x texinfo-every-node-update</kbd></dt>
<dd><a name="index-texinfo_002devery_002dnode_002dupdate"></a>
<p>Insert or update the &lsquo;Next&rsquo;, &lsquo;Previous&rsquo;, and &lsquo;Up&rsquo; pointers for every
node in the buffer.
</p>
</dd>
<dt><kbd>C-c C-u C-a</kbd></dt>
<dt><kbd>M-x texinfo-all-menus-update</kbd></dt>
<dd><a name="index-texinfo_002dall_002dmenus_002dupdate"></a>
<p>Create or update all the menus in the buffer.  With an argument
(<kbd>C-u</kbd> as prefix argument, if interactive), first insert
or update all the node
pointers before working on the menus.
</p>
<p>If a master menu exists, the <code>texinfo-all-menus-update</code> command
updates it; but the command does not create a new master menu if none
already exists.  (Use the <code>texinfo-master-menu</code> command for
that.)
</p>
<p>When working on a document that does not merit a master menu, you can
type the following:
</p>
<div class="example">
<pre class="example">C-u C-c C-u C-a
</pre><pre class="example">or
</pre><pre class="example">C-u M-x texinfo-all-menus-update
</pre></div>

<p>This updates all the nodes and menus.
</p></dd>
</dl>

<p>The <code>texinfo-column-for-description</code> variable specifies the
column to which menu descriptions are indented.  By default, the value
is 32 although it can be useful to reduce it to as low as 24.  You
can set the variable via customization (see <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Changing-an-Option.html#Changing-an-Option">Changing an Option</a> in <cite>The GNU Emacs Manual</cite>) or with the <kbd>M-x set-variable</kbd>
command (see <a href="http://www.gnu.org/software/emacs/manual/html_node/emacs/Examining.html#Examining">Examining and Setting Variables</a> in <cite>The GNU Emacs Manual</cite>).
</p>
<p>Also, the <code>texinfo-indent-menu-description</code> command may be used to
indent existing menu descriptions to a specified column.  Finally, if
you wish, you can use the <code>texinfo-insert-node-lines</code> command to
insert missing <code>@node</code> lines into a file.  (See <a href="Other-Updating-Commands.html#Other-Updating-Commands">Other Updating Commands</a>, for more information.)
</p>
<hr>
<div class="header">
<p>
Next: <a href="Updating-Requirements.html#Updating-Requirements" accesskey="n" rel="next">Updating Requirements</a>, Up: <a href="Updating-Nodes-and-Menus.html#Updating-Nodes-and-Menus" accesskey="u" rel="up">Updating Nodes and Menus</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html#Command-and-Variable-Index" title="Index" rel="index">Index</a>]</p>
</div>



</body>
</html>