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
commit87340e7700af9a24441bc5c6047a92b85f5c7bb8 (patch)
treec4efac9560f04f64c628c797bd1cf29913acfd14 /doc/macros.texi
parent5f50bcd86d436a598bf9d61f5bcfd7f985338d01 (diff)
downloadgeiser-guile-87340e7700af9a24441bc5c6047a92b85f5c7bb8.tar.gz
geiser-guile-87340e7700af9a24441bc5c6047a92b85f5c7bb8.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