Viewing File: /usr/share/doc/texinfo/html/Texinfo-Mode-Summary.html

<!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>Texinfo Mode Summary (GNU Texinfo 6.7)</title>

<meta name="description" content="Texinfo Mode Summary (GNU Texinfo 6.7)">
<meta name="keywords" content="Texinfo Mode Summary (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="Texinfo-Mode.html" rel="up" title="Texinfo Mode">
<link href="Headings.html" rel="next" title="Headings">
<link href="Printing.html" rel="prev" title="Printing">
<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="Texinfo-Mode-Summary"></span><div class="header">
<p>
Previous: <a href="Printing.html" accesskey="p" rel="prev">Printing</a>, Up: <a href="Texinfo-Mode.html" accesskey="u" rel="up">Texinfo Mode</a> &nbsp; [<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="Texinfo-Mode-Summary-1"></span><h3 class="section">D.8 Texinfo Mode Summary</h3>

<p>In Texinfo mode, each set of commands has default keybindings that
begin with the same keys.  All the commands that are custom-created
for Texinfo mode begin with <kbd>C-c</kbd>.  The keys are somewhat
mnemonic.
</p>
<span id="Insert-Commands"></span><h4 class="subheading">Insert Commands</h4>

<p>The insert commands are invoked by typing <kbd>C-c</kbd> twice and then the
first letter of the @-command to be inserted.  (It might make more
sense mnemonically to use <kbd>C-c C-i</kbd>, for &lsquo;custom insert&rsquo;, but
<kbd>C-c C-c</kbd> is quick to type.)
</p>
<div class="example">
<pre class="example">C-c C-c c       <span class="roman">Insert</span> &lsquo;<samp>@code</samp>&rsquo;.
C-c C-c d       <span class="roman">Insert</span> &lsquo;<samp>@dfn</samp>&rsquo;.
C-c C-c e       <span class="roman">Insert</span> &lsquo;<samp>@end</samp>&rsquo;.
C-c C-c i       <span class="roman">Insert</span> &lsquo;<samp>@item</samp>&rsquo;.
C-c C-c n       <span class="roman">Insert</span> &lsquo;<samp>@node</samp>&rsquo;.
C-c C-c s       <span class="roman">Insert</span> &lsquo;<samp>@samp</samp>&rsquo;.
C-c C-c v       <span class="roman">Insert</span> &lsquo;<samp>@var</samp>&rsquo;.
C-c {       <span class="roman">Insert braces.</span>
C-c ]
C-c }       <span class="roman">Move out of enclosing braces.</span>

</pre><pre class="example">C-c C-c C-d     <span class="roman">Insert a node&rsquo;s section title</span>
               <span class="roman">in the space for the description</span>
               <span class="roman">in a menu entry line.</span>
</pre></div>

<span id="Show-Structure"></span><h4 class="subheading">Show Structure</h4>

<p>The <code>texinfo-show-structure</code> command is often used within a
narrowed region.
</p>
<div class="example">
<pre class="example">C-c C-s         <span class="roman">List all the headings.</span>
</pre></div>

<span id="The-Master-Update-Command"></span><h4 class="subheading">The Master Update Command</h4>

<p>The <code>texinfo-master-menu</code> command creates a master menu; and can
be used to update every node and menu in a file as well.
</p>
<div class="example">
<pre class="example">C-c C-u m
M-x texinfo-master-menu
               <span class="roman">Create or update a master menu.</span>
</pre><pre class="example">

</pre><pre class="example">C-u C-c C-u m   <span class="roman">With <kbd>C-u</kbd> as a prefix argument, first</span>
               <span class="roman">create or update all nodes and regular</span>
               <span class="roman">menus, and then create a master menu.</span>
</pre></div>

<span id="Update-Pointers"></span><h4 class="subheading">Update Pointers</h4>

<p>The update pointer commands are invoked by typing <kbd>C-c C-u</kbd> and
then either <kbd>C-n</kbd> for <code>texinfo-update-node</code> or <kbd>C-e</kbd> for
<code>texinfo-every-node-update</code>.
</p>
<div class="example">
<pre class="example">C-c C-u C-n     <span class="roman">Update a node.</span>
C-c C-u C-e     <span class="roman">Update every node in the buffer.</span>
</pre></div>

<span id="Update-Menus"></span><h4 class="subheading">Update Menus</h4>

<p>Invoke the  update menu commands by typing <kbd>C-c C-u</kbd>
and then either <kbd>C-m</kbd> for <code>texinfo-make-menu</code> or
<kbd>C-a</kbd> for <code>texinfo-all-menus-update</code>.  To update
both nodes and menus at the same time, precede <kbd>C-c C-u
C-a</kbd> with <kbd>C-u</kbd>.
</p>
<div class="example">
<pre class="example">C-c C-u C-m     <span class="roman">Make or update a menu.</span>

</pre><pre class="example">C-c C-u C-a     <span class="roman">Make or update all</span>
               <span class="roman">menus in a buffer.</span>
</pre><pre class="example">

</pre><pre class="example">C-u C-c C-u C-a <span class="roman">With <kbd>C-u</kbd> as a prefix argument,</span>
               <span class="roman">first create or update all nodes and</span>
               <span class="roman">then create or update all menus.</span>
</pre></div>

<span id="Format-for-Info"></span><h4 class="subheading">Format for Info</h4>

<p>The Info formatting commands that are written in Emacs Lisp are
invoked by typing <kbd>C-c C-e</kbd> and then either <kbd>C-r</kbd> for a region
or <kbd>C-b</kbd> for the whole buffer.
</p>
<p>The Info formatting commands that are written in C and based on the
<code>makeinfo</code> program are invoked by typing <kbd>C-c C-m</kbd> and then
either <kbd>C-r</kbd> for a region or <kbd>C-b</kbd> for the whole buffer.
</p>
<p>Use the <code>texinfo-format&hellip;</code> commands:
</p>
<div class="example">
<pre class="example">C-c C-e C-r     <span class="roman">Format the region.</span>
C-c C-e C-b     <span class="roman">Format the buffer.</span>
</pre></div>

<p>Use <code>makeinfo</code>:
</p>
<div class="example">
<pre class="example">C-c C-m C-r     <span class="roman">Format the region.</span>
C-c C-m C-b     <span class="roman">Format the buffer.</span>
C-c C-m C-l     <span class="roman">Recenter the <code>makeinfo</code> output buffer.</span>
C-c C-m C-k     <span class="roman">Kill the <code>makeinfo</code> formatting job.</span>
</pre></div>

<span id="Typeset-and-Print"></span><h4 class="subheading">Typeset and Print</h4>

<p>The TeX typesetting and printing commands are invoked by typing
<kbd>C-c C-t</kbd> and then another control command: <kbd>C-r</kbd> for
<code>texinfo-tex-region</code>, <kbd>C-b</kbd> for <code>texinfo-tex-buffer</code>,
and so on.
</p>
<div class="example">
<pre class="example">C-c C-t C-r     <span class="roman">Run TeX on the region.</span>
C-c C-t C-b     <span class="roman">Run</span> <code>texi2dvi</code> <span class="roman">on the buffer.</span>
C-c C-t C-i     <span class="roman">Run</span> <code>texindex</code>.
C-c C-t C-p     <span class="roman">Print the DVI file.</span>
C-c C-t C-q     <span class="roman">Show the print queue.</span>
C-c C-t C-d     <span class="roman">Delete a job from the print queue.</span>
C-c C-t C-k     <span class="roman">Kill the current TeX formatting job.</span>
C-c C-t C-x     <span class="roman">Quit a currently stopped TeX formatting job.</span>
C-c C-t C-l     <span class="roman">Recenter the output buffer.</span>
</pre></div>

<span id="Other-Updating-Commands-2"></span><h4 class="subheading">Other Updating Commands</h4>

<p>The remaining updating commands do not have standard keybindings because
they are rarely used.
</p>
<div class="example">
<pre class="example">M-x texinfo-insert-node-lines
               <span class="roman">Insert missing <code>@node</code> lines in region.</span>
               <span class="roman">With <kbd>C-u</kbd> as a prefix argument,</span>
               <span class="roman">use section titles as node names.</span>
</pre><pre class="example">

</pre><pre class="example">M-x texinfo-multiple-files-update
               <span class="roman">Update a multi-file document.</span>
               <span class="roman">With <kbd>C-u 2</kbd> as a prefix argument,</span>
               <span class="roman">create or update all nodes and menus</span>
               <span class="roman">in all included files first.</span>
</pre><pre class="example">

</pre><pre class="example">M-x texinfo-indent-menu-description
               <span class="roman">Indent descriptions.</span>
</pre><pre class="example">

</pre><pre class="example">M-x texinfo-sequential-node-update
               <span class="roman">Insert node pointers in strict sequence.</span>
</pre></div>


<hr>
<div class="header">
<p>
Previous: <a href="Printing.html" accesskey="p" rel="prev">Printing</a>, Up: <a href="Texinfo-Mode.html" accesskey="u" rel="up">Texinfo Mode</a> &nbsp; [<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>
Back to Directory File Manager