texinfo-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

texinfo/makeinfo index.c,1.16,1.17


From: karl
Subject: texinfo/makeinfo index.c,1.16,1.17
Date: Thu, 26 Feb 2004 01:58:46 +0100

Update of /cvsroot/texinfo/texinfo/makeinfo
In directory sheep:/tmp/cvs-serv31130

Modified Files:
        index.c 
Log Message:
(cm_printindex): insert cookie in Info output for
benefit of Info readers.


Index: index.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/index.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -d -r1.16 -r1.17
*** index.c     23 Feb 2004 16:48:48 -0000      1.16
--- index.c     26 Feb 2004 00:58:44 -0000      1.17
***************
*** 752,758 ****
        close_paragraph ();
        if (html)
!         add_html_block_elt_args ("<ul class=\"index-%s\" compact>", 
index_name);
        else if (!no_headers && !docbook)
!         add_word ("* Menu:\n\n");
  
        me_inhibit_expansion++;
--- 752,766 ----
        close_paragraph ();
        if (html)
!         add_html_block_elt_args ("<ul class=\"index-%s\" compact>",
!                                  index_name);
        else if (!no_headers && !docbook)
!         { /* Info.  Add magic cookie for info readers (to treat this
!              menu differently), and the usual start-of-menu.  */
!           add_char ('\0');
!           add_word ("\010[index");
!           add_char ('\0');
!           add_word ("\010]\n");
!           add_word ("* Menu:\n\n");
!         }
  
        me_inhibit_expansion++;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]