Sign up ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

This question has a possible solution, but it's for the ConTeXt writer, which I can't use.

ConTeXt: How to change the background color and border of a Pandoc-generated blockquote?

What would be a LaTeX solution to achieve the same?

EDIT: pandoc version is on a debian wheezy system. This is the tex generated from pandoc -V geometry:a4paper -V geometry:margin=2cm -o test.tex

\section{Test 1}
\subsection{Test 2}
\ldots{} this is a test.
\ldots{} more text.

I don't use a custom template. If I put the example (\startsetups framedsetups ...) from the link in a file framedtext.tex and include it via -H, I get (and yes, I know I'd have to change the environment verbatiminstead of blockquote):

>$ pandoc -H framedtext.tex -V geometry:a4paper -V geometry:margin=2cm -o test.pdf
pandoc: Error producing PDF from TeX source.
! Undefined control sequence.
l.39 \startsetups
share|improve this question
Welcome to TeX.SX! Can you please add the code generated by Pandoc? – karlkoeller Jan 17 '14 at 11:46
Is your problem how to change the result LaTeX file, or how to make pandoc create what you want? – Raphael Jan 17 '14 at 13:03
The latter. The link at the top has a solution, but it's for ConTeXt. I need a solution for LaTeX, i.e. a file I could include via the -H option. – Jan Jan 17 '14 at 14:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.