From ed8c7259ba73cb3e51b26e0f9fbe426414d7bee2 Mon Sep 17 00:00:00 2001
From: Jonas Smedegaard <dr@jones.dk>
Date: Tue, 9 Dec 2014 19:09:25 +0100
Subject: Replace template variable langvariant with generic langoption.

---
 template.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'template.tex')

diff --git a/template.tex b/template.tex
index 07b6c03..0240d8e 100644
--- a/template.tex
+++ b/template.tex
@@ -122,7 +122,7 @@ $endif$
 $if(lang)$
 \ifxetex
   \usepackage{polyglossia}
-  \setmainlanguage$if(langvariant)$[variant=$langvariant$]$endif${$lang$}
+  \setmainlanguage[$for(langoption)$$langoption$$sep$,$endfor$]$endif${$lang$}
 \else
   \usepackage[$lang$]{babel}
 \fi
-- 
cgit v1.2.3

