summaryrefslogtreecommitdiff
path: root/doc/macros.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/macros.texi')
-rw-r--r--doc/macros.texi32
1 files changed, 26 insertions, 6 deletions
diff --git a/doc/macros.texi b/doc/macros.texi
index 9e1646b..b722f67 100644
--- a/doc/macros.texi
+++ b/doc/macros.texi
@@ -1,7 +1,31 @@
@set VERSION 0.1.1
-@set STABLE_VERSION 0.1
@set DOWN_BASE http://download.savannah.nongnu.org/releases/geiser
-@set TARBALL geiser-@value{STABLE_VERSION}.tar.gz
+@set TARBALL geiser-@value{VERSION}.tar.gz
+
+@macro downfile{FILE, CAPT}
+@uref{@value{DOWN_BASE}/@value{VERSION}/\FILE\, \CAPT\}
+@end macro
+
+@macro alt{HTML, NOHTML}
+@ifhtml
+\HTML\
+@end ifhtml
+@ifnothtml
+\NOHTML\
+@end ifnothtml
+@end macro
+
+@macro altr{LINK, TXT, TLINK}
+@ifhtml
+@ref{\LINK\,,\TXT\}
+@end ifhtml
+@ifinfo
+@pxref{\LINK\,\TXT\}
+@end ifinfo
+@iftex
+@ref{\TLINK\}
+@end iftex
+@end macro
@macro img{FILE, ALIGN}
@ifhtml
@@ -18,7 +42,3 @@
@end html
@end ifhtml
@end macro
-
-@macro downfile{FILE, CAPT}
-@uref{@value{DOWN_BASE}/@value{STABLE_VERSION}/\FILE\, \CAPT\}
-@end macro