macro_in_misc.texi 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. \input texinfo @c -*-texinfo-*-
  2. @setfilename macro_in_misc.info
  3. @hyphenation{some-where
  4. be-low
  5. may-be to-morow
  6. }
  7. @macro text
  8. atext
  9. @end macro
  10. @node Top
  11. @top top @text{}
  12. @subheading Comment like: @text{}
  13. Text line followed by a comment on the same line and another below @c comment @text{}
  14. @c comment @text{}
  15. @macro pagesizes_arg
  16. 200mm,150mm
  17. @end macro
  18. @macro afourpaper_macro
  19. @afourpaper
  20. @end macro
  21. @pagesizes @pagesizes_arg{}
  22. @afourpaper_macro{}
  23. @headings on line following headings @text{}
  24. @oddfooting some text ignored @text{}
  25. @everyheading on line following everyheading @text{}
  26. @macro need_arg
  27. 0.1
  28. @end macro
  29. @need @need_arg{}
  30. @macro raisesections_macro
  31. @raisesections
  32. @end macro
  33. @raisesections_macro{}
  34. @macro lowersections_macro
  35. @lowersections
  36. @end macro
  37. @lowersections_macro{}
  38. @c tex error: Use of \ doesn't match its definition.
  39. @ifnottex
  40. @@definfoenclose phoo,//,\\ @definfoenclose phoo,//,\\
  41. @phoo{bar}
  42. @end ifnottex
  43. @macro definfoenclose_name
  44. phi
  45. @end macro
  46. @definfoenclose @definfoenclose_name{},:,:
  47. @c this is required
  48. @iftex
  49. @global@let@phi=@i
  50. @end iftex
  51. @phi{bar}
  52. @macro strong_macro
  53. @strong
  54. @end macro
  55. @macro strong_name
  56. strong
  57. @end macro
  58. @strong_macro{}{very strong}
  59. @definfoenclose @strong_name{},(@strong_name{}:,:)
  60. @strong_macro{}{ is it really strong? }
  61. @kbd{something before kbdinputstyle}
  62. @macro kbdinputstyle_arg
  63. code
  64. @end macro
  65. @kbdinputstyle @kbdinputstyle_arg{}
  66. @kbd{truc}
  67. @example
  68. @kbd{example}
  69. @end example
  70. @macro asis_arg
  71. asis
  72. @end macro
  73. @macro zero
  74. 0
  75. @end macro
  76. @macro none_arg
  77. none
  78. @end macro
  79. @macro four
  80. 4
  81. @end macro
  82. @macro six
  83. 6
  84. @end macro
  85. @paragraphindent @asis_arg{}
  86. @paragraphindent @zero{}
  87. @paragraphindent @none_arg{}
  88. @paragraphindent @four{}
  89. @firstparagraphindent @none_arg{}
  90. @exampleindent @six{}
  91. @macro end_arg
  92. end
  93. @end macro
  94. @macro separate_arg
  95. separate
  96. @end macro
  97. @footnotestyle @end_arg{}
  98. @footnotestyle @separate_arg{}
  99. @macro latin1
  100. ISO-8859-1
  101. @end macro
  102. @documentencoding @latin1{}
  103. @macro on_arg
  104. on
  105. @end macro
  106. @macro off_arg
  107. off
  108. @end macro
  109. @frenchspacing @on_arg{}
  110. @frenchspacing @off_arg{}
  111. @c accepts 10 or 11
  112. @macro ten
  113. 10
  114. @end macro
  115. @fonttextsize @ten{}
  116. @c accept false or true
  117. @c makeinfo don't care about the arg and remove the remainiing of the line
  118. @macro false_arg
  119. false
  120. @end macro
  121. @macro true_arg
  122. true
  123. @end macro
  124. @allowcodebreaks @false_arg{}
  125. @code{false aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
  126. @allowcodebreaks @true_arg{}
  127. @code{true aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa}
  128. @subheading command removed
  129. @finalout
  130. @macro page_macro
  131. @page
  132. @end macro
  133. @macro noindent_macro
  134. @noindent
  135. @end macro
  136. @macro refill_macro
  137. @refill
  138. @end macro
  139. @@page @page_macro{} @@noindent @noindent_macro{} @@refill @refill_macro{} something
  140. @noindent_macro{} noindent at beginning of line
  141. @noindent_macro{}
  142. noindent on the preceding line
  143. @noindent_macro{} noindent after space at beginning of line
  144. @page page at beginning of line
  145. @page
  146. After page on it's own line.
  147. @@page @page_macro{} @@noindent @noindent_macro{} @@refill @refill_macro{}
  148. @macro contents_macro
  149. @contents
  150. @end macro
  151. @contents_macro{}
  152. @subheading special
  153. Only valid between iftex:
  154. @c @@vskip @vskip @@cropmarks @cropmarks
  155. Unknown ???
  156. @c @@fillbreak @fillbreak eol
  157. @macro exdent_macro
  158. @exdent
  159. @end macro
  160. @exdent_macro{} line after exdent
  161. And now sp:
  162. @macro two
  163. 2
  164. @end macro
  165. @sp @two{}
  166. @macro result_macro
  167. @result
  168. @end macro
  169. @clickstyle @result_macro{}
  170. @menu
  171. * node @text{}::
  172. * bidule::
  173. * bidule2::
  174. @end menu
  175. @node node @text{}
  176. @chapter chapter
  177. @menu
  178. * truc::
  179. @end menu
  180. @node truc
  181. @section section
  182. @contents_macro{}
  183. @node bidule
  184. @chapter bidule
  185. @macro shortcontents_macro
  186. @shortcontents
  187. @end macro
  188. @shortcontents_macro{}
  189. @node bidule2
  190. @chapter last
  191. @bye