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;