From ad7e4647e7ecc12b1f21cb8a9f687bfab904d416 Mon Sep 17 00:00:00 2001 From: GNU Hurd wiki engine Date: Thu, 8 Nov 2007 17:01:19 +0000 Subject: web commit by tschwinge: GNU Texinfo example, straight from the GNU Texinfo manual. --- sandbox/texinfo.texi | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 sandbox/texinfo.texi (limited to 'sandbox') 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 -- cgit v1.2.3