texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo xml.c,1.26,1.27


From: dirt
Subject: texinfo/makeinfo xml.c,1.26,1.27
Date: Mon, 16 Feb 2004 21:08:30 +0100

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

Modified Files:
        xml.c 
Log Message:
2004-02-16  Alper Ersoy  <address@hidden>

        * makeinfo/xml.c (xml_end_document): insert newline after </texinfo>
        only if indentation is disabled (otherwise xml_indent takes care of
        the newline.)
        (xml_insert_indexentry): disable warnings when executing implicit
        @xref commands  for Docbook, otherwise makeinfo will warn about
        missing punctuation.



Index: xml.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/xml.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -C2 -d -r1.26 -r1.27
*** xml.c       15 Feb 2004 15:26:14 -0000      1.26
--- xml.c       16 Feb 2004 20:08:28 -0000      1.27
***************
*** 740,744 ****
  
    xml_insert_element (TEXINFO, END);
!   insert_string ("\n");
    insert_string ("<!-- Keep this comment at the end of the file\n\
  Local variables:\n\
--- 740,745 ----
  
    xml_insert_element (TEXINFO, END);
!   if (xml_indentation_increment == 0)
!     insert ('\n');
    insert_string ("<!-- Keep this comment at the end of the file\n\
  Local variables:\n\
***************
*** 1895,1900 ****
    add_word_args (", %s", _("see "));
  
!   /* Don't link to @unnumbered sections directly.  */
!   execute_string ("%cxref{%s}", COMMAND_PREFIX, xstrdup (node));
  
    if (primary)
--- 1896,1909 ----
    add_word_args (", %s", _("see "));
  
!   /* Don't link to @unnumbered sections directly.
!      We are disabling warnings temporarily, otherwise these xrefs
!      will cause bogus warnings about missing punctuation.  */
!   {
!     extern int print_warnings;
!     int save_print_warnings = print_warnings;
!     print_warnings = 0;
!     execute_string ("%cxref{%s}", COMMAND_PREFIX, xstrdup (node));
!     print_warnings = save_print_warnings;
!   }
  
    if (primary)



reply via email to

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