From 5f245367d98d8ea969f5ad263cd72e8094efa85c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Mon, 16 Mar 2026 17:34:01 +0100 Subject: [PATCH] LaTeX template: properly handle keywords with commas. These need to be put in an `\xmpquote{..}` command. Closes #11528. --- data/templates/hypersetup.latex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/templates/hypersetup.latex b/data/templates/hypersetup.latex index ff6765557..5885e4b10 100644 --- a/data/templates/hypersetup.latex +++ b/data/templates/hypersetup.latex @@ -12,7 +12,7 @@ $if(subject)$ pdfsubject={$subject$}, $endif$ $if(keywords)$ - pdfkeywords={$for(keywords)$$keywords$$sep$, $endfor$}, + pdfkeywords={$for(keywords)$\xmpquote{$keywords$}$sep$, $endfor$}, $endif$ $if(colorlinks)$ colorlinks=true,