Added tex generator; report now compiles