summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls')
-rw-r--r--Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls43
1 files changed, 26 insertions, 17 deletions
diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
index d5a399fec83..0bdf4b8552f 100644
--- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
+++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
@@ -33,8 +33,8 @@
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-wlg}[2023/03/31 v.2.4 Univie WLG journal layout (JSp)]
+\NeedsTeXFormat{LaTeX2e}[2022/06/01]
+\ProvidesPackage{univie-ling-wlg}[2024/05/09 v.2.5 Univie WLG journal layout (JSp)]
%% ============================================================
@@ -50,10 +50,8 @@
\newif\if@wlg@specialprint\@wlg@specialprintfalse
\newif\if@wlg@review\@wlg@reviewfalse
-% We use l3keys here since (1) LaTeX2e keys are rather
-% new and (2) do not provide for choice keys yet.
-\ExplSyntaxOn
-\keys_define:nn { wlg }
+% Define keys and values
+\DeclareKeys[wlg]
{
% biblatex=<true|false>
% Load biblatex
@@ -125,16 +123,8 @@
% no val equals to true
draftmark .default:n = {true},
}
-\ExplSyntaxOff
-
-\IfFormatAtLeastTF{2022-06-01}
-{
- \ProcessKeyOptions[wlg]
-}{
- \RequirePackage{l3keys2e}
- \ProcessKeysOptions{wlg}
-}
+\ProcessKeyOptions[wlg]
%% ============================================================
@@ -164,6 +154,10 @@
%% CONFIGURATION:
%% ============================================================
+% Current structure
+\newcommand*\jedboard[1]{\def\wlg@jedboard{#1}}
+\newcommand*\jeditors[1]{\def\wlg@jeditors{#1}}
+% Old structure
\newcommand*\edboardAL[1]{\def\wlg@edboardAL{#1}}
\newcommand*\edboardGL[1]{\def\wlg@edboardGL{#1}}
\newcommand*\edboardHL[1]{\def\wlg@edboardHL{#1}}
@@ -293,6 +287,10 @@
\deftranslation[to=English]{univie-address}{Sensengasse 3a\\1090 Vienna\\Austria}
\deftranslation[to=German]{edboard}{Redaktion}
\deftranslation[to=English]{edboard}{Editorial board}
+\deftranslation[to=German]{jeditors}{Redaktion}
+\deftranslation[to=English]{jeditors}{Editors}
+\deftranslation[to=German]{jedboard}{Redaktioneller Beirat}
+\deftranslation[to=English]{jedboard}{Editorial board}
\deftranslation[to=German]{techboard}{Technische Redaktion}
\deftranslation[to=English]{techboard}{Technical editor}
\deftranslation[to=German]{contact}{Kontakt}
@@ -341,12 +339,13 @@
\translate{univie}, \translate{lingdep}\\
\translate{univie-address}
\vspace*{-.5em}
-\begin{labeling}{\textbf{\translate{edboard}:}}
+\begin{labeling}{\textbf{\translate{jedboard}:}}
\setlength\itemsep{0pt}
\setlength\parsep{0pt}
\setlength{\parskip}{0pt}
\def\wlg@lb{}
-\item[\textbf{\translate{edboard}:}]
+\ifcsname wlg@edboardAL\endcsname
+ \item[\textbf{\translate{edboard}:}]
\ifcsname wlg@edboardGL\endcsname
\wlg@edboardGL\ (\translate{general}),%
\def\wlg@lb{\\}%
@@ -358,6 +357,16 @@
\ifcsname wlg@edboardHL\endcsname
\wlg@lb\wlg@edboardHL\ (\translate{hist})
\fi
+\else
+ \ifcsname wlg@jeditors\endcsname
+ \item[\textbf{\translate{jeditors}:}]
+ \wlg@jeditors%
+ \fi
+ \ifcsname wlg@jedboard\endcsname
+ \item[\textbf{\translate{jedboard}:}]
+ \wlg@lb\wlg@jedboard%
+ \fi
+\fi
\ifcsname wlg@techboard\endcsname
\item[\textbf{\translate{techboard}:}] \wlg@techboard
\fi