now converting md to tex (overwriting original)
generated tex to pdf with errors