my $converter = Texinfo::Convert::Info->converter({'parser' => $parser}); $converter->output($tree); $converter->convert($tree); $converter->convert_tree($tree);
The Texinfo Perl module main purpose is to be used in texi2any
to convert
Texinfo to other formats. There is no promise of API stability.
Initialize converter from Texinfo to Info.
The $options hash reference holds options for the converter. In this option hash reference a parser object may be associated with the parser key. The other options are Texinfo customization options and a few other options that can be passed to the converter. Most of the customization options are described in the Texinfo manual. Those customization options, when appropriate, override the document content. The parser should not be available directly anymore after getting the associated information.
See Texinfo::Convert::Converter for more information.
Convert a Texinfo tree $tree and output the result in files as described in the Texinfo manual.
Convert a Texinfo tree $tree and return the resulting output.
Convert a Texinfo tree portion $tree and return the resulting
output. This function does not try to output a full document but only
portions. For a full document use convert
.
Copyright 2010- Free Software Foundation, Inc. See the source file for all copyright years.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.