Markdown to LaTeX script