/usr/share/doc/texinfo/html/GNU-Sample-Texts.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 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 | <html lang="en">
<head>
<title>GNU Sample Texts - 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="Sample-Texinfo-Files.html#Sample-Texinfo-Files" title="Sample Texinfo Files">
<link rel="prev" href="Short-Sample-Texinfo-File.html#Short-Sample-Texinfo-File" title="Short Sample Texinfo File">
<link rel="next" href="Verbatim-Copying-License.html#Verbatim-Copying-License" title="Verbatim Copying License">
<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="GNU-Sample-Texts"></a>
<p>
Next: <a rel="next" accesskey="n" href="Verbatim-Copying-License.html#Verbatim-Copying-License">Verbatim Copying License</a>,
Previous: <a rel="previous" accesskey="p" href="Short-Sample-Texinfo-File.html#Short-Sample-Texinfo-File">Short Sample Texinfo File</a>,
Up: <a rel="up" accesskey="u" href="Sample-Texinfo-Files.html#Sample-Texinfo-Files">Sample Texinfo Files</a>
<hr>
</div>
<h3 class="section">C.2 GNU Sample Texts</h3>
<p><a name="index-GNU-sample-texts-1399"></a><a name="index-Sample-texts_002c-GNU-1400"></a><a name="index-Full-texts_002c-GNU-1401"></a>
Following is a sample Texinfo document with the full texts that should
be used in GNU manuals.
<p>As well as the legal texts, it also serves as a practical example of how
many elements in a GNU system can affect the manual. If you're not
familiar with all these different elements, don't worry. They're not
required and a perfectly good manual can be written without them.
They're included here nonetheless because many manuals do (or could)
benefit from them.
<p>See <a href="Short-Sample.html#Short-Sample">Short Sample</a>, for a minimal example of a Texinfo file.
See <a href="Beginning-a-File.html#Beginning-a-File">Beginning a File</a>, for a full explanation of that minimal
example.
<p>Here are some notes on the example:
<ul>
<li><a name="index-g_t_0024Id-1402"></a><a name="index-CVS-_0024Id-1403"></a><a name="index-RCS-_0024Id-1404"></a><a name="index-Documentation-identification-1405"></a><a name="index-Identification-of-documentation-1406"></a>The ‘<samp><span class="samp">$Id:</span></samp>’ comment is for the CVS (see <a href="../cvs/index.html#Top">Overview</a>) or RCS
(<a href="http://www.gnu.org/software/rcs">http://www.gnu.org/software/rcs</a>) version control systems, which
expand it into a string such as:
<pre class="example"> $Id: texinfo.txi,v 1.225 2008/09/07 22:47:46 karl Exp $
</pre>
<p>(This is useful in all sources that use version control, not just manuals.)
You may wish to include the ‘<samp><span class="samp">$Id:</span></samp>’ comment in the <code>@copying</code>
text, if you want a completely unambiguous reference to the
documentation version.
<p>If you want to literally write <tt>$<!-- /@w -->Id$</tt>, use <code>@w</code>:
<code>@w{$}Id$</code>. Unfortunately, this technique does not currently
work in plain text output, since it's not clear what should be done.
We hope to find a solution in a future release.
<li><a name="index-automake_0040r_007b_002c-and-version-info_007d-1407"></a><a name="index-UPDATED-_0040r_007bAutomake-variable_007d-1408"></a><a name="index-VERSION-_0040r_007bAutomake-variable_007d-1409"></a><a name="index-time_002dstamp_002eel-1410"></a>The <samp><span class="file">version.texi</span></samp> in the <code>@include</code> command is maintained
automatically by Automake (see <a href="../automake/index.html#Top">Introduction</a>). It sets the ‘<samp><span class="samp">VERSION</span></samp>’ and ‘<samp><span class="samp">UPDATED</span></samp>’ values used
elsewhere. If your distribution doesn't use Automake, but you do use
Emacs, you may find the time-stamp.el package helpful (see <a href="../emacs/Time-Stamps.html#Time-Stamps">Time Stamps</a>).
<li>The <code>@syncodeindex</code> command reflects the recommendation to use
only one index where possible, to make it easier for readers to look up
index entries.
<li>The <code>@dircategory</code> is for constructing the Info directory.
See <a href="Installing-Dir-Entries.html#Installing-Dir-Entries">Installing Dir Entries</a>, which includes a variety of recommended
category names.
<li>The `Invoking' node is a GNU standard to help users find the basic
information about command-line usage of a given program. See <a href="../standards/Manual-Structure-Details.html#Manual-Structure-Details">Manual Structure Details</a>.
<li><a name="index-GNU-Free-Documentation-License_002c-including-entire-1411"></a><a name="index-Free-Documentation-License_002c-including-entire-1412"></a>It is best to include the entire GNU Free Documentation License in a GNU
manual, unless the manual is only a few pages long. Of course this
sample is even shorter than that, but it includes the FDL anyway in
order to show one conventional way to do so. The <samp><span class="file">fdl.texi</span></samp> file
is available on the GNU machines and in the Texinfo and other GNU
source distributions.
<p>The FDL provides for omitting itself under certain conditions, but in
that case the sample texts given here have to be modified. See <a href="GNU-Free-Documentation-License.html#GNU-Free-Documentation-License">GNU Free Documentation License</a>.
<li>If the FSF is not the copyright holder, then use the appropriate name.
<li>If your manual is not published on paper by the FSF, then omit the
last sentence in the Back-Cover Text that talks about copies from GNU
Press.
<li>If your manual has Invariant Sections (again, see the license itself
for details), then change the text here accordingly.
<li>For documents that express your personal views, feelings or experiences,
it is more appropriate to use a license permitting only verbatim
copying, rather than the FDL. See <a href="Verbatim-Copying-License.html#Verbatim-Copying-License">Verbatim Copying License</a>.
</ul>
<p>Here is the sample document:
<pre class="verbatim">\input texinfo @c -*-texinfo-*-
@comment $Id: texinfo.txi,v 1.225 2008/09/07 22:47:46 karl Exp $
@comment %**start of header
@setfilename sample.info
@include version.texi
@settitle GNU Sample @value{VERSION}
@syncodeindex pg cp
@comment %**end of header
@copying
This manual is for GNU Sample (version @value{VERSION}, @value{UPDATED}),
which is an example in the Texinfo documentation.
Copyright @copyright{} 2007 Free Software Foundation, Inc.
@quotation
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 have the freedom to
copy and modify this GNU manual. Buying copies from the FSF
supports it in developing GNU and promoting software freedom.''
@end quotation
@end copying
@dircategory Texinfo documentation system
@direntry
* sample: (sample)Invoking sample.
@end direntry
@titlepage
@title GNU Sample
@subtitle for version @value{VERSION}, @value{UPDATED}
@author A.U. Thor (@email{bug-texinfo@@gnu.org})
@page
@vskip 0pt plus 1filll
@insertcopying
@end titlepage
@contents
@ifnottex
@node Top
@top GNU Sample
This manual is for GNU Sample (version @value{VERSION}, @value{UPDATED}).
@end ifnottex
@menu
* Invoking sample::
* Copying This Manual::
* Index::
@end menu
@node Invoking sample
@chapter Invoking sample
@pindex sample
@cindex invoking @command{sample}
This is a sample manual. There is no sample program to
invoke, but if there was, you could see its basic usage
and command line options here.
@node GNU Free Documentation License
@appendix GNU Free Documentation License
@include fdl.texi
@node Index
@unnumbered Index
@printindex cp
@bye
</pre>
</body></html>
|