File: nested_formats.texi

package info (click to toggle)
texi2html 1.82%2Bdfsg1-3
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 32,848 kB
  • ctags: 16,527
  • sloc: perl: 15,888; xml: 6,075; sh: 3,977; makefile: 545
file content (360 lines) | stat: -rw-r--r-- 6,219 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
\input texinfo @c -*-texinfo-*-

@c value not expanded, by makeinfo nor by texi2html
@c @setfilename nested_formats.info

@ifset format_itemize
@set format_command_begin @itemize
@set format_command itemize
@end ifset

@ifset format_menu
@set format_command_begin @menu
@set format_command menu
@end ifset

@ifset format_float
@set format_command_begin @float
@set format_command float
@end ifset

@ifset format_table
@set format_command_begin @table
@set format_command table
@end ifset

@ifset format_flushright
@set format_command_begin @flushright
@set format_command flushright
@end ifset

@ifset format_multitable
@set format_command_begin @multitable
@set format_command multitable
@end ifset

@ifset format_cartouche
@set format_command_begin @cartouche
@set format_command cartouche
@end ifset

@ifset format_enumerate
@set format_command_begin @enumerate
@set format_command enumerate
@end ifset

@ifset format_deffn
@set format_command_begin @deffn fun arg arg1
@set format_command deffn
@end ifset

@ifset format_example
@set format_command_begin @example
@set format_command example
@end ifset

@ifset format_quotation
@set format_command_begin @quotation
@set format_command quotation
@end ifset

@ifclear format_command
@set format_command_begin @group
@set format_command group
@end ifclear

@c @setfilename @value{format_command}.info

@node Top
@top Test nested @value{format_command}

@macro mymacro
in macro

@value{format_command_begin}
@end @value{format_command}

@value{format_command_begin}
in format_command
@end @value{format_command}

Something
@value{format_command_begin}
@end @value{format_command}

Something
@value{format_command_begin}
in group
@end @value{format_command}

Something2
@value{format_command_begin}
@end @value{format_command}
After

Something2
@value{format_command_begin}
in group
@end @value{format_command}
After


@sp 2
@value{format_command_begin}
in group
@end @value{format_command}

@value{format_command_begin}
@quotation 
A quot---ation
@end quotation
@end @value{format_command}

@subheading subheading

@verbatim
in verbatim
@end verbatim

@xml
<para> xml para </xml>
@end xml

@html
html
@end html

@tex
$$\\partial_t \\eta (t) = g(\\eta(t),\\varphi(t))$$
@end tex

@itemize @bullet{} a--n itemize line
@item i--tem 1
@item i--tem 2
@end itemize

@enumerate
@item e--numerate
@end enumerate

@multitable @columnfractions 0.6 0.7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@item mu--ltitable item 2 @tab multitable tab 2
@item lone mu--ltitable item
@end multitable

@example
e--xample  some
   text
@end example

@smallexample
s--mallexample
@end smallexample

@deffn c--ategory d--effn_name a--rguments...
d--effn
@end deffn

@table @bullet
@item a
l--ine
@end table

@cartouche
c--artouche
@end cartouche

@flushleft
f--lushleft
@end flushleft

@flushright
f--lushright
@end flushright

@center ce--ntered line

@value{format_command_begin}
in macro, a format_command containing some other commands.
@itemize @bullet{} a--n itemize line
@item i--tem 1
@item i--tem 2
@end itemize

@enumerate
@item e--numerate
@end enumerate

@multitable @columnfractions 0.6 0.7
@headitem mu--ltitable headitem @tab another tab
@item mu--ltitable item @tab multitable tab
@item mu--ltitable item 2 @tab multitable tab 2
@item lone mu--ltitable item
@end multitable

@example
e--xample  some
   text
@end example

@smallexample
s--mallexample
@end smallexample

@deffn c--ategory d--effn_name a--rguments...
d--effn
@end deffn

@table @bullet
@item a
l--ine
@end table

@cartouche
c--artouche
@end cartouche

@flushleft
f--lushleft
@end flushleft

@flushright
f--lushright
@end flushright

@center ce--ntered line
@end @value{format_command}

@end macro

Call macro
@mymacro

Call macro in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}

Call macro in itemize at the beginning of an item
@itemize @bullet{} a--n itemize line
@item @mymacro
@item item 1
Call macro in itemize
@mymacro
@item item 2
Call macro in itemize in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end itemize

Call macro in enumerate at the beginning of enumerate
@enumerate
@item @mymacro
@item enumerate
Call macro in enumerate
@mymacro
@item enumerate2
Call macro in enumerate in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end enumerate

@multitable @columnfractions 0.6 0.7
@headitem mu--ltitable headitem @tab another tab
@item multitable item @tab multitable tab. And after Call macro in mutitable
after item
@item @mymacro
@item multitable item 2 @tab multitable tab 2
Call macro in mutitable
@mymacro
@item lone multitable item
Call macro in mutitable in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end multitable

call macro at the example beginning
@example
@mymacro
example  some
   text
call macro in example
@mymacro

more example text
call macro in example in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end example

@smallexample
s--mallexample
@end smallexample

@deffn c--ategory d--effn_name a--rguments...
deffn
call macro in deffn 
@mymacro
deffn continues
call macro in deffn in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end deffn

call macro in deffn at the beginning
@deffn c--ategory2 d--effn_name2 a--rguments2...
@mymacro
@end deffn

@table @bullet
@item a line
call macro in table
@mymacro
call macro in table at an item beginning
@item a line
@mymacro
@item a line2
call macro in table in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end table

call macro at cartouche begin
@cartouche
@mymacro
cartouche
call macro in cartouche
@mymacro
call macro in cartouche in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end cartouche

@flushleft
call macro in flushleft
@mymacro
flushleft
call macro in flushleft in format_command
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end flushleft

@flushright
@mymacro
flushright
@value{format_command_begin}
@mymacro
@end @value{format_command}
@end flushright

@bye