diff options
author | GNU Hurd wiki engine <web-hurd@gnu.org> | 2007-11-08 17:01:19 +0000 |
---|---|---|
committer | GNU Hurd wiki engine <web-hurd@gnu.org> | 2007-11-08 17:01:19 +0000 |
commit | ad7e4647e7ecc12b1f21cb8a9f687bfab904d416 (patch) | |
tree | da370f922b4f0bfbae1ecb65aaff74d637ae7053 | |
parent | 01703e0e746607ec452155287756b0a6b8b0cf8f (diff) |
web commit by tschwinge: GNU Texinfo example, straight from the GNU Texinfo manual.
-rw-r--r-- | sandbox/texinfo.texi | 61 |
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 |