texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sun, 13 Mar 2022 08:05:52 -0400 (EDT)

branch: master
commit 6ceaa8e9ff0d4da06ee49d6e152623203302ec31
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sun Mar 13 13:05:32 2022 +0100

    * tp/Texinfo/Convert/DocBook.pm (convert, output): call convert_tree()
    instead of convert_document_sections().
---
 ChangeLog                     | 5 +++++
 tp/Texinfo/Convert/DocBook.pm | 4 ++--
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 87002233c0..c5c8b141f0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2022-03-13  Patrice Dumas  <pertusus@free.fr>
+
+       * tp/Texinfo/Convert/DocBook.pm (convert, output): call convert_tree()
+       instead of convert_document_sections().
+
 2022-03-13  Patrice Dumas  <pertusus@free.fr>
 
        * tp/Texinfo/Convert/DocBook.pm (_convert): start a sectioning
diff --git a/tp/Texinfo/Convert/DocBook.pm b/tp/Texinfo/Convert/DocBook.pm
index 60ed624f4b..98ae3386d6 100644
--- a/tp/Texinfo/Convert/DocBook.pm
+++ b/tp/Texinfo/Convert/DocBook.pm
@@ -289,7 +289,7 @@ sub convert($$)
     if (! defined($self->{'in_skipped_node_top'}));
 
   %sectioning_commands_done = ();
-  return $self->convert_document_sections($root);
+  return $self->convert_tree($root);
 }
 
 sub convert_tree($$)
@@ -494,7 +494,7 @@ sub output($$)
   %sectioning_commands_done = ();
   my $result = '';
   $result .= $self->write_or_return($header, $fh);
-  $result .= $self->convert_document_sections($root, $fh);
+  $result .= $self->write_or_return($self->convert_tree($root), $fh);
   $result .= $self->write_or_return("</book>\n", $fh);
   if ($fh and $output_file ne '-') {
     Texinfo::Common::output_files_register_closed(



reply via email to

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