Sunday, 26 May 2013

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

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

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
And here is what I get:
foo
===

bar
===
Is there a way to have the plain text sections and subsections numbered automatically?

No comments:

Post a Comment