diff lib-src/sorted-doc.c @ 339:336b97f03633 r21-0-67

Import from CVS: tag r21-0-67
author cvs
date Mon, 13 Aug 2007 10:51:27 +0200
parents 15872534500d
children cc15677e0335
line wrap: on
line diff
--- a/lib-src/sorted-doc.c	Mon Aug 13 10:51:08 2007 +0200
+++ b/lib-src/sorted-doc.c	Mon Aug 13 10:51:27 2007 +0200
@@ -224,7 +224,8 @@
     printf ("@unnumbered Command Summary for GNU Emacs\n");
     printf ("@table @asis\n");
     printf ("\n");
-    printf ("@let@ITEM@item\n");
+    printf ("@iftex\n");
+    printf ("@global@let@ITEM=@item\n");
     printf ("@def@item{@filbreak@vskip5pt@ITEM}\n");
     printf ("@font@tensy cmsy10 scaled @magstephalf\n");
     printf ("@font@teni cmmi10 scaled @magstephalf\n");
@@ -237,6 +238,7 @@
     printf ("@chardef@@64\n");
     printf ("@catcode43=12\n");
     printf ("@tableindent-0.2in\n");
+    printf ("@end iftex\n");
 
     /* print each function from the array */
 
@@ -260,6 +262,7 @@
 	    putchar ('\n');
 	  }
 	printf("@end display\n");
+	if ( i%200 == 0 && i != 0 ) printf("@end table\n\n@table @asis\n");
       }
 
     printf ("@end table\n");