Hi, Quoting Jonas Smedegaard (2022-09-03 11:41:22) > It would be helpful if you could isolate the problem, so that it is possible > to replicate with as minimal as possible code besides Pandoc.
so if you run this: echo ".. code-block:: none" | pandoc -o out.tex -frst then with the old pandoc 2.9.2.1 you get: \begin{verbatim} \end{verbatim} and with pandoc 2.17.1.1 you get: \begin{Shaded} \begin{Highlighting}[] \end{Highlighting} \end{Shaded} so for this to work with pandoc 2.17.1.1 we need some usepackage for the Shaded environment. So lets see how to fix this from the latex side. You pointed out that the Shaded environment comes from framed.sty, so we try: \documentclass{article} \usepackage{framed} \begin{document} \begin{Shaded} \begin{Highlighting}[] foobar \end{Highlighting} \end{Shaded} \end{document} But we still get: ! LaTeX Error: Environment Shaded undefined. So how do I prepare my latex that was generated by recent pandoc so that it works? Thanks! cheers, josch
signature.asc
Description: signature