From fc9ac7993a93e078b0c5fa8a2c9011e444393f87 Mon Sep 17 00:00:00 2001
From: Andrew Dunning <andunning@gmail.com>
Date: Tue, 1 Jan 2019 19:23:52 -0500
Subject: LaTeX template: Supply missing for

Partially addresses #5179
---
 data/templates/default.latex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'data/templates/default.latex')

diff --git a/data/templates/default.latex b/data/templates/default.latex
index 8193b428c..003cb91a4 100644
--- a/data/templates/default.latex
+++ b/data/templates/default.latex
@@ -112,7 +112,7 @@ $else$
 $endif$
   \defaultfontfeatures{Ligatures=TeX,Scale=MatchLowercase}
 $for(fontfamilies)$
-  \newfontfamily{$fontfamilies.name$}[$fontfamilies.options$]{$fontfamilies.font$}
+  \newfontfamily{$fontfamilies.name$}[$for(fontfamilies.options)$$fontfamilies.options$$sep$,$endfor$]{$fontfamilies.font$}
 $endfor$
 $if(mainfont)$
   \setmainfont[$for(mainfontoptions)$$mainfontoptions$$sep$,$endfor$]{$mainfont$}
-- 
cgit v1.2.3

