summaryrefslogtreecommitdiff
path: root/makeinfo/tests/top.txi
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/top.txi')
-rw-r--r--makeinfo/tests/top.txi25
1 files changed, 25 insertions, 0 deletions
diff --git a/makeinfo/tests/top.txi b/makeinfo/tests/top.txi
new file mode 100644
index 0000000..e8c3cbb
--- /dev/null
+++ b/makeinfo/tests/top.txi
@@ -0,0 +1,25 @@
+\input texinfo
+@setfilename top.info
+@settitle top test
+
+@c This traditional top node uses @ifinfo for testing.
+@c Therefore there will be warnings when processing with --html.
+@c The solution is to use @ifnottex instead.
+
+@ifinfo
+@node Top
+@top Top test
+
+Typical top node.
+@end ifinfo
+
+@menu
+* Subnode::
+@end menu
+
+@node Subnode
+@chapter Subnode
+
+Subnode.
+
+@bye