texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo insertion.c,1.4,1.5


From: dirt
Subject: texinfo/makeinfo insertion.c,1.4,1.5
Date: Thu, 18 Dec 2003 23:18:58 +0100

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

Modified Files:
        insertion.c 
Log Message:
2003-12-19  Alper Ersoy  <address@hidden>

        * makeinfo/insertion.c (begin_insertion): insert float element for
        docbook too.



Index: insertion.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/insertion.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** insertion.c 2003/12/13 13:01:27     1.4
--- insertion.c 2003/12/18 22:18:55     1.5
***************
*** 800,814 ****
        if (html)
          add_word ("<div class=\"float\">\n");
!       else if (xml && !docbook)
          {
            xml_insert_element (FLOAT, START);
  
!           xml_insert_element (FLOATTYPE, START);
!           execute_string ("%s", current_float_type ());
!           xml_insert_element (FLOATTYPE, END);
  
!           xml_insert_element (FLOATPOS, START);
!           execute_string ("%s", current_float_title ());
!           xml_insert_element (FLOATPOS, END);
          }
        else
--- 800,817 ----
        if (html)
          add_word ("<div class=\"float\">\n");
!       else if (xml)
          {
            xml_insert_element (FLOAT, START);
  
!           if (!docbook)
!             {
!               xml_insert_element (FLOATTYPE, START);
!               execute_string ("%s", current_float_type ());
!               xml_insert_element (FLOATTYPE, END);
  
!               xml_insert_element (FLOATPOS, START);
!               execute_string ("%s", current_float_title ());
!               xml_insert_element (FLOATPOS, END);
!             }
          }
        else
***************
*** 816,822 ****
          }
  
!         /* Anchor now.  */
!         if (strlen (current_float_id ()) > 0)
!           execute_string ("@anchor{%s}", current_float_id ());
  
        break;
--- 819,825 ----
          }
  
!       /* Anchor now.  */
!       if (strlen (current_float_id ()) > 0)
!         execute_string ("@anchor{%s}", current_float_id ());
  
        break;



reply via email to

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