summaryrefslogtreecommitdiff
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
commit4f9f0d0b0ba247be1116ae47c22d513da218e95d (patch)
tree51f16d9341fc581374ea7142a1527e3f877a1899
parentf6f4ac04d88f3a85db02b2a54202e80ea0056991 (diff)
downloadgeiser-guile-4f9f0d0b0ba247be1116ae47c22d513da218e95d.tar.gz
geiser-guile-4f9f0d0b0ba247be1116ae47c22d513da218e95d.tar.bz2
doc: Improve macros to add docbook support
-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