Basic program to generate a LaTex document with ruby