just a snippet - generating latex files with erb