From 2fe82ca6dc5a2d2ffc91b7df9d136de7bf10bd9a Mon Sep 17 00:00:00 2001 From: Rical Jasan Date: Wed, 21 Dec 2016 01:36:58 -0800 Subject: manual: Convert @tables of variables to @vtables. Texinfo @vindex commands add entries to the Variable and Constant Macro Index. Similarly, @items in @vtables are automatically indexed. A number of @tables exist where all @items are @vindexed or all @items are variables, but not indexed, suggesting an optimization by converting such @tables to @vtables and dropping the @vindex. Using a @vtable provides a context for processing @items whereby it can be known the @items should have header and standards annotations. This commit converts @tables of such @items to @vtables in order to establish a framework for automated processing. A pleasant consequence of these changes is that @items previously lacking a @vindex are present in the Variable and Constant Macro Index now. @vindex entries previously detected by summary.awk will still be detected as @items with appropriate annotations. The @vtable of the NSS databases is converted to a @table because 1) those @items are not variables (and will no longer appear in the Variable and Constant Macro Index) and 2) they do not need header and standards annotations, so the incorrect context is fixed. * manual/nss.texi: Change incorrect @vtable to @table. * manual/arith.texi: Convert @tables of variables to @vtables and remove unnecessary indexing. * manual/filesys.texi: Likewise. * manual/llio.texi: Likewise. * manual/memory.texi: Likewise. * manual/process.texi: Likewise. * manual/resource.texi: Likewise. * manual/search.texi: Likewise. * manual/signal.texi: Likewise. * manual/socket.texi: Likewise. * manual/stdio.texi: Likewise. * manual/sysinfo.texi: Likewise. * manual/syslog.texi: Likewise. * manual/terminal.texi: Likewise. * manual/time.texi: Likewise. * manual/users.texi: Likewise. --- manual/search.texi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'manual/search.texi') diff --git a/manual/search.texi b/manual/search.texi index a56b3e0..1d9628d 100644 --- a/manual/search.texi +++ b/manual/search.texi @@ -600,7 +600,7 @@ the first child is processed, after the first child is processed and after both children are processed. This makes it possible to handle all three methods of tree traversal (or even a combination of them). -@table @code +@vtable @code @item preorder The current node is an internal node and the function is called before the first child was processed. @@ -612,7 +612,7 @@ The current node is an internal node and the function is called after the second child was processed. @item leaf The current node is a leaf. -@end table +@end vtable @end deftp @comment search.h -- cgit v1.1