<!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 6.7, 23 September 2019),
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, 2014, 2015, 2016, 2017, 2018, 2019 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 no Front-Cover Texts, and with no Back-Cover
Texts. A copy of the license is included in the section entitled
"GNU Free Documentation License". -->
<!-- Created by GNU Texinfo 6.7, http://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Other Updating Commands (GNU Texinfo 6.7)</title>
<meta name="description" content="Other Updating Commands (GNU Texinfo 6.7)">
<meta name="keywords" content="Other Updating Commands (GNU Texinfo 6.7)">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="texi2any">
<link href="index.html" rel="start" title="Top">
<link href="Command-and-Variable-Index.html" 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" rel="up" title="Updating Nodes and Menus">
<link href="Info-Formatting.html" rel="next" title="Info Formatting">
<link href="Updating-Requirements.html" rel="prev" title="Updating Requirements">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {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}
span.nolinebreak {white-space: nowrap}
span.roman {font-family: initial; font-weight: normal}
span.sansserif {font-family: sans-serif; font-weight: normal}
ul.no-bullet {list-style: none}
-->
</style>
</head>
<body lang="en">
<span id="Other-Updating-Commands"></span><div class="header">
<p>
Previous: <a href="Updating-Requirements.html" accesskey="p" rel="prev">Updating Requirements</a>, Up: <a href="Updating-Nodes-and-Menus.html" accesskey="u" rel="up">Updating Nodes and Menus</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<span id="Other-Updating-Commands-1"></span><h4 class="subsection">D.5.3 Other Updating Commands</h4>
<p>In addition to the five major updating commands, Texinfo mode
possesses several less frequently used updating commands:
</p>
<dl compact="compact">
<dt><kbd>M-x texinfo-insert-node-lines</kbd></dt>
<dd><span id="index-texinfo_002dinsert_002dnode_002dlines"></span>
<p>Insert <code>@node</code> lines before the <code>@chapter</code>,
<code>@section</code>, and other sectioning commands wherever they are
missing throughout a region in a Texinfo file.
</p>
<p>With an argument (<kbd>C-u</kbd> as prefix argument, if interactive), the
command <code>texinfo-insert-node-lines</code> not only inserts
<code>@node</code> lines but also inserts the chapter or section titles as
the names of the corresponding nodes. In addition, it inserts the
titles as node names in pre-existing <code>@node</code> lines that lack
names. Since node names should be more concise than section or
chapter titles, you must manually edit node names so inserted.
</p>
<p>For example, the following marks a whole buffer as a region and inserts
<code>@node</code> lines and titles throughout:
</p>
<div class="example">
<pre class="example">C-x h C-u M-x texinfo-insert-node-lines
</pre></div>
<p>This command inserts titles as node names in <code>@node</code> lines; the
<code>texinfo-start-menu-description</code> command (see <a href="Inserting.html">Inserting Frequently Used Commands</a>) inserts titles as descriptions in
menu entries, a different action. However, in both cases, you need to
edit the inserted text.
</p>
</dd>
<dt><kbd>M-x texinfo-multiple-files-update</kbd></dt>
<dd><span id="index-texinfo_002dmultiple_002dfiles_002dupdate-_0028in-brief_0029"></span>
<p>Update nodes and menus in a document built from several separate files.
With <kbd>C-u</kbd> as a prefix argument, create and insert a master menu in
the outer file. With a numeric prefix argument, such as <kbd>C-u 2</kbd>, first
update all the menus and all the ‘Next’, ‘Previous’, and ‘Up’ pointers
of all the included files before creating and inserting a master menu in
the outer file. The <code>texinfo-multiple-files-update</code> command is
described in the appendix on <code>@include</code> files.
See <a href="texinfo_002dmultiple_002dfiles_002dupdate.html"><code>texinfo-multiple-files-update</code></a>.
</p>
</dd>
<dt><kbd>M-x texinfo-indent-menu-description</kbd></dt>
<dd><span id="index-texinfo_002dindent_002dmenu_002ddescription"></span>
<p>Indent every description in the menu following point to the specified
column. You can use this command to give yourself more space for
descriptions. With an argument (<kbd>C-u</kbd> as prefix argument, if
interactive), the <code>texinfo-indent-menu-description</code> command indents
every description in every menu in the region. However, this command
does not indent the second and subsequent lines of a multi-line
description.
</p>
</dd>
<dt><kbd>M-x texinfo-sequential-node-update</kbd></dt>
<dd><span id="index-texinfo_002dsequential_002dnode_002dupdate"></span>
<p>Insert the names of the nodes immediately following and preceding the
current node as the ‘Next’ or ‘Previous’ pointers regardless of those
nodes’ hierarchical level. This means that the ‘Next’ node of a
subsection may well be the next chapter. Sequentially ordered nodes are
useful for novels and other documents that you read through
sequentially. (However, in Info, the <kbd>g *</kbd> command lets
you look through the file sequentially, so sequentially ordered nodes
are not strictly necessary.) With an argument (prefix argument, if
interactive), the <code>texinfo-sequential-node-update</code> command
sequentially updates all the nodes in the region.
</p></dd>
</dl>
<hr>
<div class="header">
<p>
Previous: <a href="Updating-Requirements.html" accesskey="p" rel="prev">Updating Requirements</a>, Up: <a href="Updating-Nodes-and-Menus.html" accesskey="u" rel="up">Updating Nodes and Menus</a> [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Command-and-Variable-Index.html" title="Index" rel="index">Index</a>]</p>
</div>
</body>
</html>