summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls')
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls11
1 files changed, 7 insertions, 4 deletions
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
index 639c8d0423..08eb9e55fe 100644
--- a/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-paper.cls
@@ -32,7 +32,7 @@
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-paper}[2022/10/21 v.2.1 Univie Linguistic Papers (JSp)]
+\ProvidesPackage{univie-ling-paper}[2022/12/06 v.2.2 Univie Linguistic Papers (JSp)]
%% ============================================================
@@ -62,7 +62,8 @@
% all=<true|false>
% Load all (most) packages
all.code:n =
- { \bool_if:nTF {#1} {
+ { \str_if_eq:NNTF { #1 } { true }
+ {
\@uvp@biblatextrue
\@uvp@captionptrue
\@uvp@refsptrue
@@ -96,7 +97,8 @@
% fontenc=<value|none>
% customize font encoding
fontenc.code:n =
- { \str_if_eq:NNTF { #1 } { none } {
+ { \str_if_eq:NNTF { #1 } { none }
+ {
\@uvp@usefontencfalse
}{
\def\uvp@fontenc{#1}
@@ -110,7 +112,8 @@
% polyglossia=<true|false>
% Load polyglossia
polyglossia.code:n =
- { \bool_if:nTF {#1} {
+ { \str_if_eq:NNTF { #1 } { true }
+ {
\@uvp@psfontsfalse
\@uvp@otffontstrue
\@uvp@polyglossiatrue