summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDamien Cassou <damien@cassou.me>2020-02-18 10:59:09 +0100
committerDamien Cassou <damien@cassou.me>2020-02-18 10:59:09 +0100
commit13dd3983c51a4127c0b376c6d647b5f83817c3b6 (patch)
treefe23ec4f346dc2a2a5f614507cfaefd9dbba500f /doc
parenta00d9ebad0927bbdbd4a8d50855f29de41be1d57 (diff)
downloadgeiser-13dd3983c51a4127c0b376c6d647b5f83817c3b6.tar.gz
geiser-13dd3983c51a4127c0b376c6d647b5f83817c3b6.tar.bz2
doc: Improve macros to add docbook support
Diffstat (limited to 'doc')
-rw-r--r--doc/macros.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/macros.texi b/doc/macros.texi
index f4fe8c9..e5606c0 100644
--- a/doc/macros.texi
+++ b/doc/macros.texi
@@ -48,6 +48,9 @@
@iftex
@ref{\TLINK\}\TRAIL\
@end iftex
+@ifdocbook
+@ref{\TLINK\}\TRAIL\
+@end ifdocbook
@end macro
@macro img{FILE, ALIGN}
@@ -56,6 +59,9 @@
<img src="img/\FILE\.png" class="float\ALIGN\"/>
@end html
@end ifhtml
+@ifdocbook
+@image{img/\FILE\,,,,.png}
+@end ifdocbook
@end macro
@macro imgc{FILE}
@@ -64,4 +70,7 @@
<img src="img/\FILE\.png"/>
@end html
@end ifhtml
+@ifdocbook
+@image{img/\FILE\,,,,.png}
+@end ifdocbook
@end macro