functionnal first version of latexgenerator and basic test