Compiling latex