Texinfo::Convert::DocBook
*************************

NAME
====

Texinfo::Convert::DocBook - Convert Texinfo tree to DocBook

SYNOPSIS
========

  my $converter
    = Texinfo::Convert::DocBook->converter({'parser' => $parser});

  $converter->output($tree);

DESCRIPTION
===========

Texinfo::Convert::DocBook converts a Texinfo tree to DocBook.

METHODS
=======

$converter = Texinfo::Convert::DocBook->converter($options)

     Initialize an DocBook converter.

     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 should be configuration options described in the Texinfo manual.  Those options, when appropriate, override the document content.

     See Texinfo::Convert::Converter NAME for more informations.

$converter->output($tree)

     Convert a Texinfo tree $tree and output the result in files as described in the Texinfo manual.

$result = $converter->convert($tree)

     Convert a Texinfo tree $tree or tree portion and return the resulting output.

$result = $converter->convert_tree($tree)

     Convert a Texinfo tree portion $tree and return the resulting output.  This function do not try to output a full document but only portions of document.  For a full document use convert.

$result = $converter->output_internal_links()

     Returns text representing the links in the document.  At present the format should follow the --internal-links option of texi2any/makeinfo specification and this is only relevant for HTML.

AUTHOR
======

Patrice Dumas, <pertusus@free.fr>

COPYRIGHT AND LICENSE
=====================

Copyright 2012 Free Software Foundation, Inc.

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.