texinfo-commits
[Top][All Lists]
Advanced

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

[7925] fix formats table


From: gavinsmith0123
Subject: [7925] fix formats table
Date: Mon, 31 Jul 2017 17:21:02 -0400 (EDT)

Revision: 7925
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7925
Author:   gavin
Date:     2017-07-31 17:21:02 -0400 (Mon, 31 Jul 2017)
Log Message:
-----------
fix formats table

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Convert/Text.pm
    trunk/tp/texi2any.pl

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2017-07-31 21:10:02 UTC (rev 7924)
+++ trunk/ChangeLog     2017-07-31 21:21:02 UTC (rev 7925)
@@ -1,3 +1,11 @@
+2017-07-31  Randall Sawyer  <address@hidden>  (tiny change)
+
+       * tp/texi2any.pl (%formats_table)
+       <textcontent, rawtext, plaintexinfo>: Change to use 'module' 
+       value instead of a 'converter' value so that these values for 
+       TEXINFO_OUTPUT_FORMAT work again.
+       * tp/Texinfo/Convert/Text.pm: Add missing 'use File::Basename' line.
+
 2017-07-31  Gavin Smith  <address@hidden>
 
        * tp/texi2any.pl (%formats_table): Remove 'debugcount' section

Modified: trunk/tp/Texinfo/Convert/Text.pm
===================================================================
--- trunk/tp/Texinfo/Convert/Text.pm    2017-07-31 21:10:02 UTC (rev 7924)
+++ trunk/tp/Texinfo/Convert/Text.pm    2017-07-31 21:21:02 UTC (rev 7925)
@@ -31,6 +31,8 @@
 use Data::Dumper;
 use Carp qw(cluck carp);
 
+use File::Basename;
+
 require Exporter;
 use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS);
 @ISA = qw(Exporter);

Modified: trunk/tp/texi2any.pl
===================================================================
--- trunk/tp/texi2any.pl        2017-07-31 21:10:02 UTC (rev 7924)
+++ trunk/tp/texi2any.pl        2017-07-31 21:21:02 UTC (rev 7925)
@@ -618,13 +618,13 @@
           'module' => 'DebugTexinfo::DebugTree'
          },
   'textcontent' => {
-            'converter' => sub{Texinfo::Convert::TextContent->converter(@_)},
+            'module' => 'Texinfo::Convert::TextContent'
            },
   'rawtext' => {
-            'converter' => sub{Texinfo::Convert::Text->converter(@_)},
+            'module' => 'Texinfo::Convert::Text'
            },
   'plaintexinfo' => {
-            'converter' => sub{Texinfo::Convert::PlainTexinfo->converter(@_)},
+            'module' => 'Texinfo::Convert::PlainTexinfo'
            },
   'parse' => {
            },




reply via email to

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