/usr/share/doc/texinfo/html/Inserting.html is in texinfo-doc-nonfree 6.5.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 | <!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.5, 25 August 2017),
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 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 6.4.90, http://www.gnu.org/software/texinfo/ -->
<head>
<title>Inserting (GNU Texinfo 6.5)</title>
<meta name="description" content="Inserting (GNU Texinfo 6.5)">
<meta name="keywords" content="Inserting (GNU Texinfo 6.5)">
<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="Texinfo-Mode.html#Texinfo-Mode" rel="up" title="Texinfo Mode">
<link href="Showing-the-Structure.html#Showing-the-Structure" rel="next" title="Showing the Structure">
<link href="Emacs-Editing.html#Emacs-Editing" rel="prev" title="Emacs Editing">
<style type="text/css">
<!--
a.summary-letter {text-decoration: none}
blockquote.indentedblock {margin-right: 0em}
blockquote.smallindentedblock {margin-right: 0em; font-size: smaller}
blockquote.smallquotation {font-size: smaller}
div.display {margin-left: 3.2em}
div.example {margin-left: 3.2em}
div.lisp {margin-left: 3.2em}
div.smalldisplay {margin-left: 3.2em}
div.smallexample {margin-left: 3.2em}
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.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">
<a name="Inserting"></a>
<div class="header">
<p>
Next: <a href="Showing-the-Structure.html#Showing-the-Structure" accesskey="n" rel="next">Showing the Structure</a>, Previous: <a href="Emacs-Editing.html#Emacs-Editing" accesskey="p" rel="prev">Emacs Editing</a>, Up: <a href="Texinfo-Mode.html#Texinfo-Mode" accesskey="u" rel="up">Texinfo Mode</a> [<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="Inserting-Frequently-Used-Commands"></a>
<h3 class="section">D.3 Inserting Frequently Used Commands</h3>
<a name="index-Inserting-frequently-used-commands"></a>
<a name="index-Frequently-used-commands_002c-inserting"></a>
<a name="index-Commands_002c-inserting-them"></a>
<p>Texinfo mode provides commands to insert various frequently used
@-commands into the buffer. You can use these commands to save
keystrokes.
</p>
<p>The insert commands are invoked by typing <kbd>C-c</kbd> twice and then the
first letter of the @-command:
</p>
<dl compact="compact">
<dt><kbd>C-c C-c c</kbd></dt>
<dt><kbd>M-x texinfo-insert-@code</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040code"></a>
<p>Insert <code>@code{}</code> and put the
cursor between the braces.
</p>
</dd>
<dt><kbd>C-c C-c d</kbd></dt>
<dt><kbd>M-x texinfo-insert-@dfn</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040dfn"></a>
<p>Insert <code>@dfn{}</code> and put the
cursor between the braces.
</p>
</dd>
<dt><kbd>C-c C-c e</kbd></dt>
<dt><kbd>M-x texinfo-insert-@end</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040end"></a>
<p>Insert <code>@end</code> and attempt to insert the correct following word,
such as ‘<samp>example</samp>’ or ‘<samp>table</samp>’. (This command does not handle
nested lists correctly, but inserts the word appropriate to the
immediately preceding list.)
</p>
</dd>
<dt><kbd>C-c C-c i</kbd></dt>
<dt><kbd>M-x texinfo-insert-@item</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040item"></a>
<p>Insert <code>@item</code> and put the
cursor at the beginning of the next line.
</p>
</dd>
<dt><kbd>C-c C-c k</kbd></dt>
<dt><kbd>M-x texinfo-insert-@kbd</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040kbd"></a>
<p>Insert <code>@kbd{}</code> and put the
cursor between the braces.
</p>
</dd>
<dt><kbd>C-c C-c n</kbd></dt>
<dt><kbd>M-x texinfo-insert-@node</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040node"></a>
<p>Insert <code>@node</code> and a comment line
listing the sequence for the ‘Next’,
‘Previous’, and ‘Up’ nodes.
Leave point after the <code>@node</code>.
</p>
</dd>
<dt><kbd>C-c C-c o</kbd></dt>
<dt><kbd>M-x texinfo-insert-@noindent</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040noindent"></a>
<p>Insert <code>@noindent</code> and put the
cursor at the beginning of the next line.
</p>
</dd>
<dt><kbd>C-c C-c s</kbd></dt>
<dt><kbd>M-x texinfo-insert-@samp</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040samp"></a>
<p>Insert <code>@samp{}</code> and put the
cursor between the braces.
</p>
</dd>
<dt><kbd>C-c C-c t</kbd></dt>
<dt><kbd>M-x texinfo-insert-@table</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040table"></a>
<p>Insert <code>@table</code> followed by a <tt class="key">SPC</tt>
and leave the cursor after the <tt class="key">SPC</tt>.
</p>
</dd>
<dt><kbd>C-c C-c v</kbd></dt>
<dt><kbd>M-x texinfo-insert-@var</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040var"></a>
<p>Insert <code>@var{}</code> and put the
cursor between the braces.
</p>
</dd>
<dt><kbd>C-c C-c x</kbd></dt>
<dt><kbd>M-x texinfo-insert-@example</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002d_0040example"></a>
<p>Insert <code>@example</code> and put the
cursor at the beginning of the next line.
</p>
</dd>
<dt><kbd>C-c C-c {</kbd></dt>
<dt><kbd>M-x texinfo-insert-braces</kbd></dt>
<dd><a name="index-texinfo_002dinsert_002dbraces"></a>
<p>Insert <code>{}</code> and put the cursor between the braces.
</p>
</dd>
<dt><kbd>C-c }</kbd></dt>
<dt><kbd>C-c ]</kbd></dt>
<dt><kbd>M-x up-list</kbd></dt>
<dd><a name="index-up_002dlist"></a>
<p>Move from between a pair of braces forward past the closing brace.
Typing <kbd>C-c ]</kbd> is easier than typing <kbd>C-c }</kbd>, which
is, however, more mnemonic; hence the two keybindings. (Also, you can
move out from between braces by typing <kbd>C-f</kbd>.)
</p></dd>
</dl>
<p>To put a command such as <code>@code{…}</code><!-- /@w --> around an
<em>existing</em> word, position the cursor in front of the word and type
<kbd>C-u 1 C-c C-c c</kbd>. This makes it easy to edit existing plain text.
The value of the prefix argument tells Emacs how many words following
point to include between braces—‘<samp>1</samp>’ for one word, ‘<samp>2</samp>’ for
two words, and so on. Use a negative argument to enclose the previous
word or words. If you do not specify a prefix argument, Emacs inserts
the @-command string and positions the cursor between the braces. This
feature works only for those @-commands that operate on a word or words
within one line, such as <code>@kbd</code> and <code>@var</code>.
</p>
<p>This set of insert commands was created after analyzing the frequency
with which different @-commands are used in the <cite>GNU Emacs
Manual</cite> and the <cite>GDB Manual</cite>. If you wish to add your own insert
commands, you can bind a keyboard macro to a key, use abbreviations,
or extend the code in <samp>texinfo.el</samp>.
</p>
<a name="index-texinfo_002dstart_002dmenu_002ddescription"></a>
<a name="index-Menu-description_002c-start"></a>
<a name="index-Description-for-menu_002c-start"></a>
<p><kbd>C-c C-c C-d</kbd> (<code>texinfo-start-menu-description</code>) is an insert
command that works differently from the other insert commands. It
inserts a node’s section or chapter title in the space for the
description in a menu entry line. (A menu entry has three parts, the
entry name, the node name, and the description. Only the node name is
required, but a description helps explain what the node is about.
See <a href="Menu-Parts.html#Menu-Parts">The Parts of a Menu</a>.)
</p>
<p>To use <code>texinfo-start-menu-description</code>, position point in a menu
entry line and type <kbd>C-c C-c C-d</kbd>. The command looks for and copies
the title that goes with the node name, and inserts the title as a
description; it positions point at beginning of the inserted text so you
can edit it. The function does not insert the title if the menu entry
line already contains a description.
</p>
<p>This command is only an aid to writing descriptions; it does not do the
whole job. You must edit the inserted text since a title tends to use
the same words as a node name but a useful description uses different
words.
</p>
<hr>
<div class="header">
<p>
Next: <a href="Showing-the-Structure.html#Showing-the-Structure" accesskey="n" rel="next">Showing the Structure</a>, Previous: <a href="Emacs-Editing.html#Emacs-Editing" accesskey="p" rel="prev">Emacs Editing</a>, Up: <a href="Texinfo-Mode.html#Texinfo-Mode" accesskey="u" rel="up">Texinfo Mode</a> [<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>
|