Revert "cleanup latex handler, remove example"

This reverts commit 7bad87d87c5fa137dde8102aac132c37aa6172c7.
make warnings go away