test_refs.texi 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. \input texinfo @c -*-texinfo-*-
  2. @setfilename test_refs.info
  3. @node Top
  4. @top Test refs
  5. @menu
  6. * other nodes::
  7. @end menu
  8. @subheading Testing distant nodes
  9. @verb{: a node :} @ref{ a node ,,, manual}@*
  10. @example
  11. mono : manual.html#a-node
  12. split: ../manual/a-node.html#a-node
  13. @end example
  14. @verb{;:;} @ref{:,,,manual}
  15. @example
  16. mono : manual.html#_003a
  17. split: ../manual/_003a.html#_003a
  18. @end example
  19. @verb{:Top:} @ref{ top ,,, manual}@*
  20. @example
  21. mono : manual.html#Top
  22. split: ../manual/index.html#Top
  23. @end example
  24. @verb{:(texinfo)Cross References:} @ref{(texinfo)Cross References}
  25. @example
  26. mono: texinfo.html#Cross-References
  27. split: ../texinfo/Cross-References.html#Cross-References
  28. @end example
  29. @subheading Testing manual name
  30. @verb{:../manual/doc.texi:} @ref{node,,, ../manual/doc.texi}@*
  31. @example
  32. mono : doc.html#node
  33. split: ../doc/node.html#node
  34. @end example
  35. @subheading Testing local nodes
  36. @verb{:!_"#$%&'()*+-.:} @ref{!_"#$%&'()*+-.}
  37. @example
  38. target: #_0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
  39. @end example
  40. @verb{:/;<=>?[\]^_`|~:} @ref{/;<=>?[\]^_`|~}@*
  41. @example
  42. target: #_002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
  43. @end example
  44. @verb{:Top:} @ref{ Top}
  45. @example
  46. target: #Top
  47. @end example
  48. @verb{: local node:} @ref{ local node}
  49. @example
  50. target: #local-node
  51. @end example
  52. @node other nodes, !_"#$%&'()*+-., Top, Top
  53. @chapter Chapter with nodes
  54. @example
  55. id: other-nodes
  56. @end example
  57. @verb{:Top:} @ref{ Top}
  58. @example
  59. target: #Top
  60. @end example
  61. @menu
  62. * !_"#$%&'()*+-.::
  63. * /;<=>?[\]^_`|~::
  64. * local node::
  65. @end menu
  66. @node !_"#$%&'()*+-., /;<=>?[\]^_`|~, other nodes, other nodes
  67. @example
  68. id: _0021_005f_0022_0023_0024_0025_0026_0027_0028_0029_002a_002b_002d_002e
  69. @end example
  70. @node /;<=>?[\]^_`|~,local node,!_"#$%&'()*+-., other nodes
  71. @example
  72. id: 002f_003b_003c_003d_003e_003f_005b_005c_005d_005e_005f_0060_007c_007e
  73. @end example
  74. @node local node,,/;<=>?[\]^_`|~,other nodes
  75. @example
  76. id: local-node
  77. @end example
  78. @bye