summaryrefslogtreecommitdiff
path: root/doc/macros.texi
blob: e79d875add75408e8aeffcf47ba8e9731367b63c (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
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
@set VERSION 0.11.2
@set VERSION_NICK
@set RELEASE_DATE February 2020
@set GUILE_VERSION 2.2
@set RACKET_VERSION 6.0
@set CHICKEN_VERSION 4.8.0
@set MIT_VERSION 9.1
@set CHIBI_VERSION 0.7
@set CHEZ_VERSION 9.4
@set GAMBIT_VERSION 4.9
@set EMACS_VERSION 24
@set RELEASES https://gitlab.com/jaor/geiser/-/releases
@set DOWN_BASE http://download-mirror.savannah.gnu.org/@/releases/@/geiser
@set PACKAGE_REPO @value{DOWN_BASE}/@/packages
@set PACKAGE @value{PACKAGE_REPO}/@/geiser-@value{VERSION}.tar
@set TARBALL geiser-@value{VERSION}.tar.gz

@macro downfile{FILE, CAPT}
@uref{@value{DOWN_BASE}/@/@value{VERSION}/@/\FILE\, \CAPT\}
@end macro


@macro releasesref{CAPT}
@uref{@value{RELEASES}, \CAPT\}
@end macro

@macro vblurb{}
@html
<div class="version" align="right">
@end html
@uref{@value{RELEASES}, Version @value{VERSION} @value{VERSION_NICK}
(@value{RELEASE_DATE}) for Guile @value{GUILE_VERSION} Chicken
@value{CHICKEN_VERSION} GNU/MIT  @value{MIT_VERSION} Chez
@value{CHEZ_VERSION} Chibi @value{CHIBI_VERSION} Gambit
@value{GAMBIT_VERSION} and Racket @value{RACKET_VERSION}}
@html
</div>
@end html
@end macro

@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