Added support for latex and doxygen