summaryrefslogtreecommitdiff
path: root/doc/macros.texi
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2021-04-04 05:30:13 +0100
committerjao <jao@gnu.org>2021-04-04 05:31:27 +0100
commitf470f6b8f74eeaee0688a98355d488ad8869c821 (patch)
tree4bbe5f161f2d384b8574cb6518dc62b8795d560e /doc/macros.texi
parentce0a0c4043070c6bfb7fe96b31e2501e4f2adb03 (diff)
downloadgeiser-f470f6b8f74eeaee0688a98355d488ad8869c821.tar.gz
geiser-f470f6b8f74eeaee0688a98355d488ad8869c821.tar.bz2
we need macros.texi
Diffstat (limited to 'doc/macros.texi')
-rw-r--r--doc/macros.texi47
1 files changed, 47 insertions, 0 deletions
diff --git a/doc/macros.texi b/doc/macros.texi
new file mode 100644
index 0000000..222ff7c
--- /dev/null
+++ b/doc/macros.texi
@@ -0,0 +1,47 @@
+@set VERSION 0.13
+@set VERSION_NICK
+@set RELEASE_DATE April 2021
+@set EMACS_VERSION 24.4
+@set GITLAB https://gitlab.com/emacs-geiser/
+
+@macro supimpl{NAME,URL,VERS,NM}
+@item
+@uref{\VERS\, \NAME\} \VERS\ or better, via @uref{@value{GITLAB}\NM\, geiser-\NM\}
+@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