\lstinline
inside \subsection
in LaTeX output causes issues
#1963
Labels
\lstinline
inside \subsection
in LaTeX output causes issues
#1963
I am generating (some) log4cplus documentation from Markdown using Pandoc. Recently, LaTeX output compilation has started failing for me:
I had no clue what was wrong with that so I asked a question on TeX.SE after at first failing to find a solution there as well.
As you can see from the accepted answer, the problem appears to be that when
--listings
option is used with Pandoc, it generates\lstinline!foo!
inside\subsection
forThe solution appears to be to use
\texttt
instead inside the headers.The text was updated successfully, but these errors were encountered: