bug-texinfo
[Top][All Lists]
Advanced

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

Re: [PATCH] makeinfo's DocBook abstract (Was: index output)


From: Feloy
Subject: Re: [PATCH] makeinfo's DocBook abstract (Was: index output)
Date: Sat, 09 Nov 2002 18:50:14 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.1) Gecko/20020826

José Fonseca wrote:
>
> Index: xml.c
> ===================================================================
> RCS file: /cvsroot/texinfo/texinfo/makeinfo/xml.c,v
> retrieving revision 1.4
> diff -u -r1.4 xml.c
> --- xml.c  7 Nov 2002 22:14:56 -0000       1.4
> +++ xml.c  7 Nov 2002 22:42:05 -0000
> @@ -821,7 +821,7 @@
>    if (docbook && !only_macro_expansion && (in_menu || in_detailmenu))
>      return;
>
> - if (!first_section_opened && !in_abstract && xml_current_element () == TEXINFO > + if (!executing_string && !first_section_opened && !in_abstract && xml_current_element () == TEXINFO > && !xml_no_para && character != '\r' && character != '\n' && character != ' ')
>      {
>        xml_insert_element (BOOKINFO, START);


Hello,

I've also added the following patch to the CVS, so in docbook, the copying paragraph is not inserted at the @copying / @end copying point, but only at the @insertcopying point.

Is this correct?

--
Philippe

Index: insertion.c
===================================================================
RCS file: /cvsroot/texinfo/texinfo/makeinfo/insertion.c,v
retrieving revision 1.9
diff -u -r1.9 insertion.c
--- insertion.c 5 Nov 2002 03:04:26 -0000       1.9
+++ insertion.c 9 Nov 2002 17:40:26 -0000
@@ -465,7 +465,7 @@
          For html, we output it specifically in html_output_head.
          For plain text, there's no way to hide it, so the author must
           use @insertcopying in the desired location.  */
-      if (!html && !no_headers)
+      if (!html && !no_headers && !docbook)
         cm_insert_copying ();
       break;







reply via email to

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