doc: Improve macros to add docbook support

parent f6f4ac04
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment