summaryrefslogtreecommitdiff
path: root/doc/macros.texi
blob: 974bce94a3d1ca93f410078cfa4eea87c4ae20d4 (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
@set VERSION 0.13
@set VERSION_NICK
@set RELEASE_DATE April 2021
@set EMACS_VERSION 24.4

@macro altr{LINK, TXT, TLINK, TRAIL}
@ifhtml
@ref{\LINK\,,\TXT\}\TRAIL\
@end ifhtml
@ifinfo
@pxref{\LINK\,\TXT\}\TRAIL\
@end ifinfo
@iftex
@ref{\TLINK\}\TRAIL\
@end iftex
@ifdocbook
@ref{\TLINK\}\TRAIL\
@end ifdocbook
@end macro

@macro img{FILE, ALIGN}
@ifhtml
@html
<img src="img/\FILE\.png" class="float\ALIGN\"/>
@end html
@end ifhtml
@ifdocbook
@image{img/\FILE\,,,,.png}
@end ifdocbook
@end macro

@macro imgc{FILE}
@ifhtml
@html
<img src="img/\FILE\.png"/>
@end html
@end ifhtml
@ifdocbook
@image{img/\FILE\,,,,.png}
@end ifdocbook
@end macro