From 13dd3983c51a4127c0b376c6d647b5f83817c3b6 Mon Sep 17 00:00:00 2001
From: Damien Cassou <damien@cassou.me>
Date: Tue, 18 Feb 2020 10:59:09 +0100
Subject: doc: Improve macros to add docbook support

---
 doc/macros.texi | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'doc')

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
-- 
cgit v1.2.3