texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/makeinfo insertion.c,1.37,1.38


From: dirt
Subject: texinfo/makeinfo insertion.c,1.37,1.38
Date: Tue, 6 Apr 2004 23:27:34 +0200

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

Modified Files:
        insertion.c 
Log Message:
2004-04-07  Alper Ersoy  <address@hidden>

        * makeinfo/insertion.c (cm_author): use author element in XML output
        for attribution.



Index: insertion.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/insertion.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -C2 -d -r1.37 -r1.38
*** insertion.c 6 Apr 2004 20:15:42 -0000       1.37
--- insertion.c 6 Apr 2004 21:27:32 -0000       1.38
***************
*** 1971,1987 ****
      {
        if (html)
          {
!           add_word ("&mdash;");
          }
        else if (xml)
          {
!           xml_insert_entity ("mdash");
          }
        else
!         {
!           add_word ("--");
!         }
! 
!       add_word (rest);
      }
    else if (is_in_insertion_of_type (titlepage))
--- 1971,1992 ----
      {
        if (html)
+         add_word_args ("&mdash; %s", rest);
+       else if (docbook)
          {
!           /* FIXME Ideally, we should use an attribution element,
!              but they are supposed to be at the start of quotation
!              blocks.  So to avoid looking ahead mess, let's just
!              use mdash like HTML for now.  */
!           xml_insert_entity ("mdash");
!           add_word (rest);
          }
        else if (xml)
          {
!           xml_insert_element (AUTHOR, START);
!           add_word (rest);
!           xml_insert_element (AUTHOR, END);
          }
        else
!         add_word_args ("-- %s", rest);
      }
    else if (is_in_insertion_of_type (titlepage))



reply via email to

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