summaryrefslogtreecommitdiff
path: root/makeinfo/tests/cond.txi
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/cond.txi')
-rw-r--r--makeinfo/tests/cond.txi40
1 files changed, 40 insertions, 0 deletions
diff --git a/makeinfo/tests/cond.txi b/makeinfo/tests/cond.txi
new file mode 100644
index 0000000..b602423
--- /dev/null
+++ b/makeinfo/tests/cond.txi
@@ -0,0 +1,40 @@
+\input texinfo
+@setfilename cond.info
+
+@node Top
+
+@html
+This is html text.
+@end html
+
+@ifhtml
+This is ifhtml text.
+@end ifhtml
+
+@ifnothtml
+This is ifnothtml text.
+@end ifnothtml
+
+
+@ifinfo
+This is ifinfo text.
+@end ifinfo
+
+@ifnotinfo
+This is ifnotinfo text.
+@end ifnotinfo
+
+
+@tex
+This is tex text.
+@end tex
+
+@iftex
+This is iftex text.
+@end iftex
+
+@ifnottex
+This is ifnottex text.
+@end ifnottex
+
+@bye