latex now generated locally