1 \input texinfo.tex @c -*-texinfo-*-
3 @setfilename node-expand.info
5 @c Makeinfo should expand non-macros such as @@ and @value
6 @c in node names and node references, including menus.
7 @c This file deliberately references "Node 1" both via
8 @c @value and directly; this should not trigger any errors,
9 @c as long as --commands-in-node-names is used.
10 @c Index entries should all be expanded as well.
16 @node Top, (dir), (dir), (dir)
17 @top Expansion in Node Names
24 * ``node'' with---tricks::
29 @node @value{node1}, @@node `2', Top, Top
32 @cindex entry for chapter 1
42 @node Section 1.1, , Node 1, Node 1
43 @comment node-name, next, previous, up
45 @cindex entry for section 1.1
48 @node @@node `2', ``node'' with---tricks, @value{node1}, Top
49 @comment node-name, next, previous, up
52 @cindex entry for chapter 2
54 @xref{@value{node1}}. @xref{Node 1}.
55 @xref{``node'' with---tricks, Node with some tricks}.
57 @node ``node'' with---tricks, , @@node `2', Top