From 3291605c9173ea10b747f0abf6e69bbe5363dadd Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 4 Feb 2025 15:17:39 -0800 Subject: [PATCH] LaTeX template: allow `csquotesoptions` to be specified. Obsoletes #7025. See #8283. --- MANUAL.txt | 6 ++++++ data/templates/common.latex | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/MANUAL.txt b/MANUAL.txt index e475432e7..cf145eb02 100644 --- a/MANUAL.txt +++ b/MANUAL.txt @@ -3037,6 +3037,12 @@ Pandoc uses these variables when [creating a PDF] with a LaTeX engine. : produce a handout version of Beamer slides (with overlays condensed into single slides) +`csquotes` +: load `csquotes` package and use `\enquote` or `\enquote*` for quoted text. + +`csquotesoptions` +: options to use for `csquotes` package (repeat for multiple options). + #### Fonts `fontenc` diff --git a/data/templates/common.latex b/data/templates/common.latex index a9fddfb44..d2e7f841f 100644 --- a/data/templates/common.latex +++ b/data/templates/common.latex @@ -261,5 +261,5 @@ $-- $-- csquotes $-- $if(csquotes)$ -\usepackage{csquotes} +\usepackage[$for(csquotesoptions)$$csquotesoptions$$sep$,$endfor$]{csquotes} $endif$