File: imbrications.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 (310 lines) | stat: -rw-r--r-- 5,021 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
\input texinfo @c -*-texinfo-*-

@setfilename imbrications.info

@syncodeindex pg cp

@node Top,First node,(dir)
@top
@menu
* First node::    node 1
* name:Second node.    node 2
@end menu
@c * node in table::
@c * node in example::
@c * node in flushright::
@c *node in defun -> bug
@node First node
@chapter first node chapter

@cindex elem

@tex

$$ 
\chi^2 = \sum_{i=1}^N
\left(y_i - (a + b x_i)
\over \sigma_i\right)^2 
$$

@end tex

@node Second node
@chapter second

Some text

@deffn Function buffer-end flag
A nice function

makeinfo accepts a menu within defun but it isn't possible
to follow it

@menu
* node within defun menu::
@end menu
@c makeinfo accepts the following but cannot properly close defun
@c @node node within defun menu
@c @section within menu

end of the function
@end deffn

@node node within defun menu
@section the node is within menu

Test @@option inside @@emph
Foo @emph{emphasized and referring to @option{--some} option}.

Table imbricated in code:@*
@code{
in code
@table @emph
@item line
text
@end table
}
                           
ref with uref within:@*                                                     
@ref{(file)node, cross ref with uref @uref{href://http/myhost.com/index.html,uref1}, title with uref2 @uref{href://http/myhost.com/index2.html,uref2}, info file with uref3 @uref{href://http/myhost.com/index3.html,uref3}, printed manual with uref4 @uref{href://http/myhost.com/index4.html,uref4}}

footnote with code within:@*                                                                                
@footnote{ in footnote  @code{par1
                                                                                
par2}}

Refs in samp:@*

Refs without samp: empty section name see @ref{other node}.
With a chapter: @ref{Second node}.

A ref in samp to a node with empty section name:
see @samp{@ref{other node}}.

Same but to a regular node associated with a chapter:
see @samp{@ref{Second node}}.

code with table and example within:@*                                                    
@code{
in code
@table @emph
@item line
in code and table
@example
  in example
@end example
@end table
}


@table @bullet
@item item
@c @node node in table
@c @chapter in table
@end table

@example
@c @node node in example
@c @chapter example

an example
@end example

@cindex other entry

@example
@html

Some html <code>some code</code>.

@end html
after html in example


two line breaks
Tex doesn't like math in @@example
@ifnottex
@tex

$$ 
\chi^2 = \sum_{i=1}^N
\left(y_i - (a + b x_i)
\over \sigma_i\right)^2 
$$

@end tex
@end ifnottex
@cindex index in example

Now a content within example

@contents

@printindex cp
printindex  works but cannot be followed in info, in TeX
the result is quite strange.

and now yes---now and ``so''.

@end example
after example and now yes---now and ``so''.
@flushright

is the text
flushed right ?
@c @node node in flushright
@c @chapter flushright


@end flushright

@flushright
@example
text flushed  right and then example

it should be flushed
@end example
@end flushright

@example
@flushright
example and then text flushed  right
@end flushright
@end example

@display
simple displayed text
@end display

a display within example
@example
example
@display
display
@end display
@end example

@cartouche
A cartouched text
@end cartouche

A cartouche within example
@example
example
@cartouche
A cartouched text
@end cartouche
@end example

An example with table, multitable, quotation, enumerate 
@example
a table within example
@table @bullet
@item item
text
@end table
a multitable
@multitable {a} {b}
@item beginnin

@item @dots{}
@tab 

a new column                          no splitting ???????????????????                             
@end multitable

a menu
@menu
* node menu::      a node in menu

in menu comment
html
@html
<cite>cite me</cite> a cite in html
@end html

A ref in samp in menu comment to a node with empty section name:
@samp{@ref{other node}}.

Same but to a regular node associated with a chapter:
@samp{@ref{Second node}}.

* a menu name:other node. 
      description of other
      node

@end menu

A quotation
@quotation
This is a pre
quotation

@end quotation

Enumerate

@enumerate
@item first item
@item second  item

still second
@end enumerate

@end example

example with deff-like commands
@example
deffs
@defun {my def} args @var{arg} @dots{}
@defunx {other def} no args
@deffnx {type} {name} and now the args
@defvar {variables} variable-name

@defvarx {variables too} other-variable
THis is the defvar

A table within the def
@table @asis
@item item
text

more text
@item second item
@end table

explanation
@end defvar
@end deffn
@end defun

@end example

table within display within example
@example
@display
@table @asis
@item item
Line
@end table
@end display
@end example

table within example within display
@display
@example
@table @asis
@item item
Line
@end table
@end example
@end display

@node  node menu
@unnumberedsubsec
@node other node
@unnumberedsubsec


@contents
@bye