1
vote
0answers
301 views

Any way for pandoc to print numbered sections in plain text output? [closed]

Here is my LaTeX input: \documentclass{article} \begin{document} \section{foo} \section{bar} \end{document} I run the following command using pandoc 1.11.1: pandoc -o test.txt -t plain -N test.tex ...
2
votes
1answer
407 views

Renew section command to wrap whole section in an environment

I am trying to write a beamer template for pandoc. For that I need to convert \section{Text 1} Some text. to \begin{frame}[fragile]{Text 1} Some text. \end{frame} Is there a way to do this ...
14
votes
3answers
9k views

Deeper levels of (sub)sections don't appear in the LaTeX output of pandoc. Why?

I use pandoc to create latex and PDF from Markdown. Markdown, being designed for HTML, allows 6 levels of headers H1...H6. But when converting to PDF, via tex, I get only three levels: 1 (\section), ...