From c667c28f61fd5dc8cc4c79672d53852e024a66c1 Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Wed, 23 Mar 2022 15:11:33 -0500 Subject: [PATCH] doc: Revert part of 0878a568f9e for Texinfo 5.1 0878a568f9e fixed a warning from Texinfo 6.7: doc/whatis.texi:33: warning: redefining Texinfo language command: @sub but the fix makes the doc build fail w/ Texinfo 5.1. There may still be other problems when using Texinfo 5.1. --- doc/whatis.texi | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/doc/whatis.texi b/doc/whatis.texi index aed3d81f5..2b0e98de5 100644 --- a/doc/whatis.texi +++ b/doc/whatis.texi @@ -29,6 +29,28 @@ services can authenticate each other. @section Basic mechanism +@ifinfo +@macro sub{arg} +<\arg\> +@end macro +@end ifinfo + +@iftex +@macro sub{arg} +@textsubscript{\arg\} +@end macro +@end iftex + +@ifhtml +@macro sub{arg} + +@html +\arg\ +@end html + +@end macro +@end ifhtml + @c ifdocbook @c macro sub{arg} @c docbook