texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo cmds.c,1.27,1.28


From: dirt
Subject: texinfo/makeinfo cmds.c,1.27,1.28
Date: Mon, 2 Feb 2004 13:19:14 +0100

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

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

        * cmds.c (cm_code): call xml_start_para instead of tweaking
        in_fixed_width_font, and use entities rather than quotes.



Index: cmds.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/cmds.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -C2 -d -r1.27 -r1.28
*** cmds.c      2 Feb 2004 12:04:56 -0000       1.27
--- cmds.c      2 Feb 2004 12:19:12 -0000       1.28
***************
*** 837,850 ****
            if (docbook && arg == START)
              {
!               /* Temporarily reset in_fixed_width_font, so add_char
!                  can start a paragraph if necessary.  */
!               int save_in_fixed_width_font = in_fixed_width_font;
!               in_fixed_width_font = 0;
!               add_char ('`');
!               in_fixed_width_font = save_in_fixed_width_font;
              }
            xml_insert_element (SAMP, arg);
            if (docbook && arg == END)
!             add_char ('\'');
          }
        else
--- 837,849 ----
            if (docbook && arg == START)
              {
!               /* Even though @samp is in_fixed_width_font, it
!                  should always start a paragraph.  Unfortunately,
!                  in_fixed_width_font inhibits that.  */
!               xml_start_para ();
!               xml_insert_entity ("ldquo");
              }
            xml_insert_element (SAMP, arg);
            if (docbook && arg == END)
!             xml_insert_entity ("rdquo");
          }
        else



reply via email to

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