`csquotes:true` should wrap block quotes in `displayquote` environments
putzwasser opened this issue · 2 comments
putzwasser commented
Explain the problem.
Pandoc has support for csquotes: true
to make use of the csquotes
package. The latex package provides the displayquote
environment.
---
title: "Your Document"
format:
pdf:
keep-tex: true
csquotes: true
---
> This is a block quote.
Running
pandoc -f markdown -t latex test.md
Yields this result
\begin{quote}
This is a block quote.
\end{quote}
I would have expected that pandoc would use csquote
's displayquote
environment for block quotes.
Pandoc version?
pandoc -v
pandoc 3.1.11.1
Features: +server +lua
Scripting engine: Lua 5.4
jgm commented
Is it the case that by default (without further customizations in the preamble), displayquote
will behave just like quote
? If so, we could consider this.
putzwasser commented
From my understanding this is true. displayquote
will behave just like quote
if you won't modify anything:
\documentclass{article}
\usepackage{csquotes}
\begin{document}
\section*{Using the \texttt{quote} Environment}
This is an example of the standard \texttt{quote} environment in LaTeX:
\begin{quote}
The only limit to our realization of tomorrow is our doubts of today.
--- Franklin D. Roosevelt
\end{quote}
\section*{Using the \texttt{displayquote} Environment}
This is an example of the \texttt{displayquote} environment provided by the \texttt{csquotes} package:
\begin{displayquote}
The only limit to our realization of tomorrow is our doubts of today.
--- Franklin D. Roosevelt
\end{displayquote}
\end{document}