texinfo-commits
[Top][All Lists]
Advanced

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

texinfo/tp Texinfo/Convert/Info.pm t/results/in...


From: Patrice Dumas
Subject: texinfo/tp Texinfo/Convert/Info.pm t/results/in...
Date: Wed, 16 Feb 2011 22:48:41 +0000

CVSROOT:        /sources/texinfo
Module name:    texinfo
Changes by:     Patrice Dumas <pertusus>        11/02/16 22:48:41

Modified files:
        tp/Texinfo/Convert: Info.pm 
        tp/t/results/indices: image_lines_count.pl 
        tp/t/results/info_tests: image_quotes.pl 

Log message:
        Add an end of line to the image line if the image is in the top 
formatter.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Convert/Info.pm?cvsroot=texinfo&r1=1.25&r2=1.26
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/indices/image_lines_count.pl?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/info_tests/image_quotes.pl?cvsroot=texinfo&r1=1.1&r2=1.2

Patches:
Index: Texinfo/Convert/Info.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Convert/Info.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -b -r1.25 -r1.26
--- Texinfo/Convert/Info.pm     16 Feb 2011 22:33:10 -0000      1.25
+++ Texinfo/Convert/Info.pm     16 Feb 2011 22:48:40 -0000      1.26
@@ -532,6 +532,9 @@
         $result .= " text=\"$text\"";
       }
       $result .= "\x{00}\x{08}]";
+      if ($self->{'formatters'}->[-1]->{'_top_formatter'}) {
+        $result .= "\n";
+      }
     } else {
       $result = $text;
       $lines_count = ($result =~ tr/\n/\n/);

Index: t/results/indices/image_lines_count.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/indices/image_lines_count.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/indices/image_lines_count.pl      16 Feb 2011 22:33:11 -0000      
1.1
+++ t/results/indices/image_lines_count.pl      16 Feb 2011 22:48:41 -0000      
1.2
@@ -282,6 +282,7 @@
 ff
 
 "]
+
 [index]
 * Menu:
 

Index: t/results/info_tests/image_quotes.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/info_tests/image_quotes.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/info_tests/image_quotes.pl        16 Feb 2011 22:16:16 -0000      
1.1
+++ t/results/info_tests/image_quotes.pl        16 Feb 2011 22:48:41 -0000      
1.2
@@ -188,6 +188,7 @@
 File: ,  Node: Top,  Up: (dir)
 
 [image src="f--ile.png" alt="alt\\"\\"\\\\" text="Image 
description\\"\\"\\\\."]
+
 
 Tag Table:
 Node: Top52



reply via email to

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