bug-texinfo
[Top][All Lists]
Advanced

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

makinfo (v 6.4): failure to support formats textcontent, rawtext, plaint


From: Randall Sawyer
Subject: makinfo (v 6.4): failure to support formats textcontent, rawtext, plaintexinfo
Date: Sat, 29 Jul 2017 13:17:56 -0400
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.1.1

Shell commands and output:

> makeinfo -c TEXINFO_OUTPUT_FORMAT=textcontent t.texi
Can't locate object method "converter" via package "Texinfo::Convert::TextContent" (perhaps you forgot to load "Texinfo::Convert::TextContent"?) at /usr/bin/makeinfo line 626.

>makeinfo -c TEXINFO_OUTPUT_FORMAT=rawtext t.texi
Undefined subroutine &Texinfo::Convert::Text::fileparse called at /usr/share/texinfo/Texinfo/Convert/Text.pm line 669.

> makeinfo -c TEXINFO_OUTPUT_FORMAT=plaintexinfo t.texi
Can't locate object method "converter" via package "Texinfo::Convert::PlainTexinfo" (perhaps you forgot to load "Texinfo::Convert::PlainTexinfo"?) at /usr/bin/makeinfo line 632.

Bug description: The following lines of 'texi2any' aka 'makeinfo' need to be changed from

  'textcontent' => {
'converter' => sub{Texinfo::Convert::TextContent->converter(@_)},
           },
  'rawtext' => {
            'converter' => sub{Texinfo::Convert::Text->converter(@_)},
           },
  'plaintexinfo' => {
'converter' => sub{Texinfo::Convert::PlainTexinfo->converter(@_)},
           },
to

  'textcontent' => {
            'module' => 'Texinfo::Convert::TextContent'
           },
  'rawtext' => {
            'module' => 'Texinfo::Convert::Text'
           },
  'plaintexinfo' => {
            'module' => 'Texinfo::Convert::PlainTexinfo'
           },

The package Texinfo::Convert::Text (file: Text.pm) is missing this line:

use File::Basename;






reply via email to

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