aboutsummaryrefslogtreecommitdiff
path: root/doc/macros.texi
blob: 03d0ef967ef355fda0c8cc28badfd1a106d2f0d7 (plain)
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
@c This file is part of the Cfpeek manual.
@c Copyright (C) 2011 Sergey Poznyakoff
@c See file cfpeek.texi for copying conditions.
@c *******************************************************************

@set PROGNAME @var{program-name}

@macro xopindex0{option,text}
@opindex \option\, --\option\ @r{option, \text\}
@end macro

@macro sopindex{option,text}
@opindex \option\, -\option\ @r{short option, \text\}
@end macro

@macro xopindex{lopt,sopt,text}
@xopindex0{\lopt\, \text\}
@sopindex{\sopt\, \text\}
@end macro

@macro opsummary0{lopt}
@ifclear ANCHOR--\lopt\
@set ANCHOR--\lopt\ 1
@anchor{lopt--\lopt\}
@end ifclear
@xopindex0{\lopt\, summary}
@end macro

@macro opsummary{lopt,sopt}
@ifclear ANCHOR--\lopt\
@set ANCHOR--\lopt\ 1
@anchor{lopt--\lopt\}
@end ifclear
@xopindex{\lopt\, \sopt\, summary}
@end macro

@macro runex{file,command}
@example
$ \command\
@include \file\.lst
@end example
@end macro

Return to:

Send suggestions and report system problems to the System administrator.