tex2pdf (formerly lyx2pdf) is a script that generates a PDF document from a LaTeX or LyX document using pdf(la)tex and other tools. There is a bash shell and Perl implementation available.
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.
Support for postprocessing with ppower, support for metapost and multimetapost files, better support for bitmap graphics (JPG/TIF/PNG), support for glossary and authorindex, recognition of bibliographies in included documents, support for multiline LaTeX tags, regulation of verbosity, and many adjustments for better handling of special cases.
This is the first stable Perl release, with totally rewritten parameter/option handling, removal of any unnecessary shell commands (no more sed problems), much better handling of referenced files, and many other internal changes.