nested_formats.texi 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. \input texinfo @c -*-texinfo-*-
  2. @c value not expanded, by makeinfo nor by texi2html
  3. @c @setfilename nested_formats.info
  4. @ifset format_itemize
  5. @set format_command_begin @itemize
  6. @set format_command itemize
  7. @end ifset
  8. @ifset format_menu
  9. @set format_command_begin @menu
  10. @set format_command menu
  11. @end ifset
  12. @ifset format_float
  13. @set format_command_begin @float
  14. @set format_command float
  15. @end ifset
  16. @ifset format_table
  17. @set format_command_begin @table
  18. @set format_command table
  19. @end ifset
  20. @ifset format_flushright
  21. @set format_command_begin @flushright
  22. @set format_command flushright
  23. @end ifset
  24. @ifset format_multitable
  25. @set format_command_begin @multitable
  26. @set format_command multitable
  27. @end ifset
  28. @ifset format_cartouche
  29. @set format_command_begin @cartouche
  30. @set format_command cartouche
  31. @end ifset
  32. @ifset format_enumerate
  33. @set format_command_begin @enumerate
  34. @set format_command enumerate
  35. @end ifset
  36. @ifset format_deffn
  37. @set format_command_begin @deffn fun arg arg1
  38. @set format_command deffn
  39. @end ifset
  40. @ifset format_example
  41. @set format_command_begin @example
  42. @set format_command example
  43. @end ifset
  44. @ifset format_quotation
  45. @set format_command_begin @quotation
  46. @set format_command quotation
  47. @end ifset
  48. @ifclear format_command
  49. @set format_command_begin @group
  50. @set format_command group
  51. @end ifclear
  52. @c @setfilename @value{format_command}.info
  53. @node Top
  54. @top Test nested @value{format_command}
  55. @macro mymacro
  56. in macro
  57. @value{format_command_begin}
  58. @end @value{format_command}
  59. @value{format_command_begin}
  60. in format_command
  61. @end @value{format_command}
  62. Something
  63. @value{format_command_begin}
  64. @end @value{format_command}
  65. Something
  66. @value{format_command_begin}
  67. in group
  68. @end @value{format_command}
  69. Something2
  70. @value{format_command_begin}
  71. @end @value{format_command}
  72. After
  73. Something2
  74. @value{format_command_begin}
  75. in group
  76. @end @value{format_command}
  77. After
  78. @sp 2
  79. @value{format_command_begin}
  80. in group
  81. @end @value{format_command}
  82. @value{format_command_begin}
  83. @quotation
  84. A quot---ation
  85. @end quotation
  86. @end @value{format_command}
  87. @subheading subheading
  88. @verbatim
  89. in verbatim
  90. @end verbatim
  91. @xml
  92. <para> xml para </xml>
  93. @end xml
  94. @html
  95. html
  96. @end html
  97. @tex
  98. $$\\partial_t \\eta (t) = g(\\eta(t),\\varphi(t))$$
  99. @end tex
  100. @itemize @bullet{}
  101. @item i--tem 1
  102. @item i--tem 2
  103. @end itemize
  104. @enumerate
  105. @item e--numerate
  106. @end enumerate
  107. @multitable @columnfractions 0.6 0.7
  108. @headitem mu--ltitable headitem @tab another tab
  109. @item mu--ltitable item @tab multitable tab
  110. @item mu--ltitable item 2 @tab multitable tab 2
  111. @item lone mu--ltitable item
  112. @end multitable
  113. @example
  114. e--xample some
  115. text
  116. @end example
  117. @smallexample
  118. s--mallexample
  119. @end smallexample
  120. @deffn c--ategory d--effn_name a--rguments...
  121. d--effn
  122. @end deffn
  123. @table @bullet
  124. @item a
  125. l--ine
  126. @end table
  127. @cartouche
  128. c--artouche
  129. @end cartouche
  130. @flushleft
  131. f--lushleft
  132. @end flushleft
  133. @flushright
  134. f--lushright
  135. @end flushright
  136. @center ce--ntered line
  137. @value{format_command_begin}
  138. in macro, a format_command containing some other commands.
  139. @itemize @bullet{}
  140. @item i--tem 1
  141. @item i--tem 2
  142. @end itemize
  143. @enumerate
  144. @item e--numerate
  145. @end enumerate
  146. @multitable @columnfractions 0.6 0.7
  147. @headitem mu--ltitable headitem @tab another tab
  148. @item mu--ltitable item @tab multitable tab
  149. @item mu--ltitable item 2 @tab multitable tab 2
  150. @item lone mu--ltitable item
  151. @end multitable
  152. @example
  153. e--xample some
  154. text
  155. @end example
  156. @smallexample
  157. s--mallexample
  158. @end smallexample
  159. @deffn c--ategory d--effn_name a--rguments...
  160. d--effn
  161. @end deffn
  162. @table @bullet
  163. @item a
  164. l--ine
  165. @end table
  166. @cartouche
  167. c--artouche
  168. @end cartouche
  169. @flushleft
  170. f--lushleft
  171. @end flushleft
  172. @flushright
  173. f--lushright
  174. @end flushright
  175. @center ce--ntered line
  176. @end @value{format_command}
  177. @end macro
  178. Call macro
  179. @mymacro{}
  180. Call macro in format_command
  181. @value{format_command_begin}
  182. @mymacro{}
  183. @end @value{format_command}
  184. Call macro in itemize at the beginning of an item
  185. @itemize a--n itemize line
  186. @item @mymacro{}
  187. @item item 1
  188. Call macro in itemize
  189. @mymacro{}
  190. @item item 2
  191. Call macro in itemize in format_command
  192. @value{format_command_begin}
  193. @mymacro{}
  194. @end @value{format_command}
  195. @end itemize
  196. Call macro in enumerate at the beginning of enumerate
  197. @enumerate
  198. @item @mymacro{}
  199. @item enumerate
  200. Call macro in enumerate
  201. @mymacro{}
  202. @item enumerate2
  203. Call macro in enumerate in format_command
  204. @value{format_command_begin}
  205. @mymacro{}
  206. @end @value{format_command}
  207. @end enumerate
  208. @multitable @columnfractions 0.6 0.7
  209. @headitem mu--ltitable headitem @tab another tab
  210. @item multitable item @tab multitable tab. And after Call macro in mutitable
  211. after item
  212. @item @mymacro{}
  213. @item multitable item 2 @tab multitable tab 2
  214. Call macro in mutitable
  215. @mymacro{}
  216. @item lone multitable item
  217. Call macro in mutitable in format_command
  218. @value{format_command_begin}
  219. @mymacro{}
  220. @end @value{format_command}
  221. @end multitable
  222. call macro at the example beginning
  223. @example
  224. @mymacro{}
  225. example some
  226. text
  227. call macro in example
  228. @mymacro{}
  229. more example text
  230. call macro in example in format_command
  231. @value{format_command_begin}
  232. @mymacro{}
  233. @end @value{format_command}
  234. @end example
  235. @smallexample
  236. s--mallexample
  237. @end smallexample
  238. @deffn c--ategory d--effn_name a--rguments...
  239. deffn
  240. call macro in deffn
  241. @mymacro{}
  242. deffn continues
  243. call macro in deffn in format_command
  244. @value{format_command_begin}
  245. @mymacro{}
  246. @end @value{format_command}
  247. @end deffn
  248. call macro in deffn at the beginning
  249. @deffn c--ategory2 d--effn_name2 a--rguments2...
  250. @mymacro{}
  251. @end deffn
  252. @table @bullet
  253. @item a line
  254. call macro in table
  255. @mymacro{}
  256. call macro in table at an item beginning
  257. @item a line
  258. @mymacro{}
  259. @item a line2
  260. call macro in table in format_command
  261. @value{format_command_begin}
  262. @mymacro{}
  263. @end @value{format_command}
  264. @end table
  265. call macro at cartouche begin
  266. @cartouche
  267. @mymacro{}
  268. cartouche
  269. call macro in cartouche
  270. @mymacro{}
  271. call macro in cartouche in format_command
  272. @value{format_command_begin}
  273. @mymacro{}
  274. @end @value{format_command}
  275. @end cartouche
  276. @flushleft
  277. call macro in flushleft
  278. @mymacro{}
  279. flushleft
  280. call macro in flushleft in format_command
  281. @value{format_command_begin}
  282. @mymacro{}
  283. @end @value{format_command}
  284. @end flushleft
  285. @flushright
  286. @mymacro{}
  287. flushright
  288. @value{format_command_begin}
  289. @mymacro{}
  290. @end @value{format_command}
  291. @end flushright
  292. @bye