summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls')
-rw-r--r--macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls14
1 files changed, 9 insertions, 5 deletions
diff --git a/macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls b/macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls
index 8327970b1f..7c761464f4 100644
--- a/macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls
+++ b/macros/latex/contrib/univie-ling/tex/univie-ling-handout.cls
@@ -33,7 +33,7 @@
\NeedsTeXFormat{LaTeX2e}[1997/06/01]
-\ProvidesClass{univie-ling-handout}[2022/10/21 v.2.1 Univie Ling handout class (JSp)]
+\ProvidesClass{univie-ling-handout}[2022/12/06 v.2.2 Univie Ling handout class (JSp)]
%% ============================================================
%% CLASS OPTIONS
@@ -113,7 +113,8 @@
% all=<true|false>
% Load all (most) packages
all.code:n =
- { \bool_if:nTF {#1} {
+ { \str_if_eq:NNTF { #1 } { true }
+ {
\@uvh@biblatextrue
\@uvh@captionptrue
\@uvh@refsptrue
@@ -143,7 +144,8 @@
% bwlogo=<true|false>
% Print monochrome logo?
bwlogo.code:n =
- { \bool_if:nTF {#1} {
+ { \str_if_eq:NNTF { #1 } { true }
+ {
\def\uvh@printlogo{\includegraphics[width=74mm]{univielogo-sw}}
\def\uvh@printsmalllogo{\includegraphics[height=14mm]{univielogo-sw}}
}{
@@ -171,7 +173,8 @@
% fontenc=<value|none>
% customize font encoding
fontenc.code:n =
- { \str_if_eq:NNTF { #1 } { none } {
+ { \str_if_eq:NNTF { #1 } { none }
+ {
\@uvh@usefontencfalse
}{
\def\uvh@fontenc{#1}
@@ -197,7 +200,8 @@
% polyglossia=<true|false>
% Load polyglossia
polyglossia.code:n =
- { \bool_if:nTF {#1} {
+ { \str_if_eq:NNTF { #1 } { true }
+ {
\@uvh@psfontsfalse
\@uvh@otffontstrue
\@uvh@polyglossiatrue