texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp/Texinfo/Convert Plaintext.pm


From: Patrice Dumas
Subject: texinfo/tp/Texinfo/Convert Plaintext.pm
Date: Sun, 27 May 2012 09:43:50 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        12/05/27 09:43:50

Modified files:
        tp/Texinfo/Convert: Plaintext.pm 

Log message:
        Setting the lines count in footnote as a node is already done in _node.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Plaintext.pm?cvsroot=texinfo&r1=1.208&r2=1.209

Patches:
Index: Plaintext.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Plaintext.pm,v
retrieving revision 1.208
retrieving revision 1.209
diff -u -b -r1.208 -r1.209
--- Plaintext.pm        14 May 2012 23:56:10 -0000      1.208
+++ Plaintext.pm        27 May 2012 09:43:50 -0000      1.209
@@ -695,7 +695,6 @@
       };
       $result .= $self->_node($footnotes_node);
       $self->{'node'} = $footnotes_node;
-      $self->{'count_context'}->[-1]->{'lines'} = 3;
     }
     while (@{$self->{'pending_footnotes'}}) {
       my $footnote = shift (@{$self->{'pending_footnotes'}});
@@ -854,7 +853,7 @@
   foreach my $top_section (@{$section_root->{'section_childs'}}) {
     my $section = $top_section;
  SECTION:
-    while ($section) {# and $section ne $section_root) {
+    while ($section) {
       push @{$self->{'count_context'}}, {'lines' => 0, 'bytes' => 0};
       my $section_title_tree;
       if (defined($section->{'number'}) 



reply via email to

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