LaTeX::TOMLaTeX::TOM is a Perl module for parsing, analyzing, and manipulating LaTeX documents. | |
Download |
LaTeX::TOM Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Aaron Krowne and Steven Schubiger
- Publisher web site:
- http://search.cpan.org/~schubiger/LaTeX-TOM-0.7/lib/LaTeX/TOM.pm
LaTeX::TOM Tags
LaTeX::TOM Description
LaTeX::TOM is a Perl module for parsing, analyzing, and manipulating LaTeX documents. LaTeX::TOM is a Perl module for parsing, analyzing, and manipulating LaTeX documents.SYNOPSIS use LaTeX::TOM; $parser = LaTeX::TOM->new; $document = $parser->parseFile('mypaper.tex'); $latex = $document->toLaTeX; $specialnodes = $document->getNodesByCondition( '$node->getNodeType eq 'TEXT' && $node->getNodeText =~ /magic string/' ); $sections = $document->getNodesByCondition( '$node->getNodeType eq 'COMMAND' && $node->getCommandName =~ /section$/' ); $indexme = $document->getIndexableText; $document->print;This module provides a parser which parses and interprets (though not fully) LaTeX documents and returns a tree-based representation of what it finds. This tree is a LaTeX::TOM::Tree. The tree contains LaTeX::TOM::Node nodes.This module should be especially useful to anyone who wants to do processing of LaTeX documents that requires extraction of plain-text information, or altering of the plain-text components (or alternatively, the math-text components). Requirements: · Perl
LaTeX::TOM Related Software