def latexnodes2text(nodelist, keep_inline_math=False, keep_comments=False):
return LatexNodes2Text(<EOL>keep_inline_math=keep_inline_math,<EOL>keep_comments=keep_comments<EOL>).nodelist_to_text(nodelist)<EOL>
Extracts text from a node list. `nodelist` is a list of nodes as returned by
:py:func:`pylatexenc.latexwalker.get_latex_nodes()`.

.. deprecated:: 1.0
   Please use :py:class:`LatexNodes2Text` instead.