/usr/share/doc/texinfo/html/Command-Syntax.html is in texinfo-doc-nonfree 4.13a-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 | <html lang="en">
<head>
<title>Command Syntax - GNU Texinfo 4.13</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="GNU Texinfo 4.13">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="Command-List.html#Command-List" title="Command List">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
This manual is for GNU Texinfo (version 4.13, 18 September 2008),
a documentation system that can produce both online information and a
printed manual from a single source.
Copyright (C) 1988, 1990, 1991, 1992, 1993, 1995, 1996, 1997,
1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
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.2 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 are free to copy and modify
this GNU Manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom.''
-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Command-Syntax"></a>
<p>
Up: <a rel="up" accesskey="u" href="Command-List.html#Command-List">Command List</a>
<hr>
</div>
<h3 class="section">A.1 @-Command Syntax</h3>
<p><a name="index-g_t_0040_0040_002dcommand-syntax-1390"></a><a name="index-Syntax_002c-of-_0040_0040_002dcommands-1391"></a><a name="index-Command-syntax-1392"></a>
The character ‘<samp><span class="samp">@</span></samp>’ is used to start special Texinfo commands.
(It has the same meaning that ‘<samp><span class="samp">\</span></samp>’ has in plain TeX.) Texinfo
has four types of @-command:
<dl>
<dt>1. Non-alphabetic commands.<dd>These commands consist of an @ followed by a punctuation mark or
other character that is not part of the alphabet. Non-alphabetic
commands are almost always part of the text within a paragraph. The
non-alphabetic commands include <code>@@</code>, <code>@{</code>, <code>@}</code>,
<code>@.</code>, <code>@</code><kbd>SPACE</kbd>, most of the accent commands, and
many more.
<br><dt>2. Alphabetic commands that do not require arguments.<dd>These commands start with @ followed by a word followed by left- and
right-hand braces. These commands insert special symbols in the
document; they do not require arguments. For example,
<code>@dots{}</code> ⇒ ‘<samp><span class="samp">...</span></samp>’, <code>@equiv{}</code>
⇒ ‘<samp><span class="samp">==</span></samp>’, <code>@TeX{}</code> ⇒ `TeX',
and <code>@bullet{}</code> ⇒ ‘<samp><span class="samp">•</span></samp>’.
<br><dt>3. Alphabetic commands that require arguments within braces.<dd>These commands start with @ followed by a letter or a word, followed by an
argument within braces. For example, the command <code>@dfn</code> indicates
the introductory or defining use of a term; it is used as follows: ‘<samp><span class="samp">In
Texinfo, @@-commands are @dfn{mark-up} commands.</span></samp>’
<br><dt>4. Alphabetic commands that occupy an entire line.<dd>These commands occupy an entire line. The line starts with @,
followed by the name of the command (a word); for example, <code>@center</code>
or <code>@cindex</code>. If no argument is needed, the word is followed by
the end of the line. If there is an argument, it is separated from
the command name by a space. Braces are not used.
</dl>
<p><a name="index-Braces-and-argument-syntax-1393"></a>Thus, the alphabetic commands fall into classes that have
different argument syntaxes. You cannot tell to which class a command
belongs by the appearance of its name, but you can tell by the
command's meaning: if the command stands for a glyph, it is in
class 2 and does not require an argument; if it makes sense to use the
command together with other text as part of a paragraph, the command
is in class 3 and must be followed by an argument in braces;
otherwise, it is in class 4 and uses the rest of the line as its
argument.
<p>The purpose of having a different syntax for commands of classes 3 and
4 is to make Texinfo files easier to read, and also to help the GNU
Emacs paragraph and filling commands work properly. There is only one
exception to this rule: the command <code>@refill</code>, which is always
used at the end of a paragraph immediately following the final period
or other punctuation character. <code>@refill</code> takes no argument and
does <em>not</em> require braces. <code>@refill</code> never confuses the
Emacs paragraph commands because it cannot appear at the beginning of
a line. It is also no longer needed, since all formatters now refill
paragraphs automatically.
</body></html>
|