summaryrefslogtreecommitdiff
path: root/doc/macros.texi
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-09 16:49:40 +0100
committerJose Antonio Ortega Ruiz <jao@gnu.org>2011-01-09 16:49:40 +0100
commitfb80d22bf5efa2a634dadc81c6b47f19c929a294 (patch)
treeb05629e1a8da9eb7824986027e9c6641f053cad3 /doc/macros.texi
parent8e02a5215e82ea8377942e9b30c9b0c2b1b6edde (diff)
downloadgeiser-fb80d22bf5efa2a634dadc81c6b47f19c929a294.tar.gz
geiser-fb80d22bf5efa2a634dadc81c6b47f19c929a294.tar.bz2
Docs: better rendering of links in info
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