File: macros.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 (51 lines) | stat: -rw-r--r-- 748 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
\input texinfo @c -*-texinfo-*-

@node Top
@top Test macro with include file and macro in macro

@c makeinfo doesn't like:
@c a new macro: @@<: @< !!!

@c makeinfo doesn't like:
@c @@aa without brace @aa


The file included:
@include file.texi
File has been included.

@macro macro1 {arg1, arg2 }
result of a macro with \arg1\ and 
@include file.texi
\arg2\
@end macro

Right. @macro1 { @samp{first arg

no ?}, second arg}
Now define macro2
@macro macro2 { arg }
With a doubles arg \arg\ and re \arg\

@end macro
Call macro2
@macro2 { a simple @code{
arg}
}
Call macro2 with 2 args
@macro2 { arg with comma , here }
Define macro3
@macro macro3 { arg }
@example 
/arg/


/arg/
@end example
@end macro
Call macro3
@macro3 { an arg }

@contents
@bye