finally got latex to compile working