summaryrefslogtreecommitdiff
path: root/sandbox/texinfo.texi
diff options
context:
space:
mode:
authorGNU Hurd wiki engine <web-hurd@gnu.org>2007-11-08 17:01:19 +0000
committerGNU Hurd wiki engine <web-hurd@gnu.org>2007-11-08 17:01:19 +0000
commitad7e4647e7ecc12b1f21cb8a9f687bfab904d416 (patch)
treeda370f922b4f0bfbae1ecb65aaff74d637ae7053 /sandbox/texinfo.texi
parent01703e0e746607ec452155287756b0a6b8b0cf8f (diff)
web commit by tschwinge: GNU Texinfo example, straight from the GNU Texinfo manual.
Diffstat (limited to 'sandbox/texinfo.texi')
-rw-r--r--sandbox/texinfo.texi61
1 files changed, 61 insertions, 0 deletions
diff --git a/sandbox/texinfo.texi b/sandbox/texinfo.texi
new file mode 100644
index 00000000..39bbdcf0
--- /dev/null
+++ b/sandbox/texinfo.texi
@@ -0,0 +1,61 @@
+\input texinfo @c -*-texinfo-*-
+@c %**start of header
+@setfilename sample.info
+@settitle Sample Manual 1.0
+@c %**end of header
+
+@copying
+This is a short example of a complete Texinfo file.
+
+Copyright @copyright{} 2004 Free Software Foundation, Inc.
+@end copying
+
+@titlepage
+@title Sample Title
+@page
+@vskip 0pt plus 1filll
+@insertcopying
+@end titlepage
+
+@c Output the table of the contents at the beginning.
+@contents
+
+@ifnottex
+@node Top
+@top GNU Sample
+
+@insertcopying
+@end ifnottex
+
+@menu
+* First Chapter:: The first chapter is the
+ only chapter in this sample.
+* Index:: Complete index.
+@end menu
+
+
+@node First Chapter
+@chapter First Chapter
+
+@cindex chapter, first
+
+This is the first chapter.
+@cindex index entry, another
+
+Here is a numbered list.
+
+@enumerate
+@item
+This is the first item.
+
+@item
+This is the second item.
+@end enumerate
+
+
+@node Index
+@unnumbered Index
+
+@printindex cp
+
+@bye