summaryrefslogtreecommitdiff
path: root/makeinfo/tests/include-value.txi
diff options
context:
space:
mode:
Diffstat (limited to 'makeinfo/tests/include-value.txi')
-rw-r--r--makeinfo/tests/include-value.txi32
1 files changed, 32 insertions, 0 deletions
diff --git a/makeinfo/tests/include-value.txi b/makeinfo/tests/include-value.txi
new file mode 100644
index 0000000..1c7f9b9
--- /dev/null
+++ b/makeinfo/tests/include-value.txi
@@ -0,0 +1,32 @@
+\input texinfo
+@setfilename include-value.info
+@c $Id: include-value.txi,v 1.2 2004/04/11 17:56:47 karl Exp $
+
+@set testvar incl-incl.txi
+
+@c test - in the variable name, and concatenation of text after.
+@set test-var incl-incl.tx
+
+@c test - in the variable name, and concatenation of text before and after.
+@set test_var ncl-incl.tx
+
+
+@node Top
+
+testvar include: @include @value{testvar}
+
+testvar verbatiminclude: @verbatiminclude @value{testvar}
+
+
+test-var include: @include @value{test-var}i
+
+test-var verbatiminclude: @verbatiminclude @value{test-var}i
+
+
+test_var include: @include i@value{test_var}i
+
+test_var verbatiminclude: @verbatiminclude i@value{test_var}i
+
+
+@bye
+