From 8d797fc99bc869bcad1e05cc9923664f022020ca Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 11 Nov 2020 22:02:51 +0000 Subject: univie-ling (11nov20) git-svn-id: svn://tug.org/texlive/trunk@56913 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/univie-ling/README | 12 +++ .../univie-ling/templates/template-wlg-article.pdf | Bin 225826 -> 242469 bytes .../doc/latex/univie-ling/univie-ling-wlg.pdf | Bin 329616 -> 331535 bytes .../doc/latex/univie-ling/univie-ling-wlg.tex | 38 ++++++++- .../tex/latex/univie-ling/univie-ling-expose.cls | 2 +- .../tex/latex/univie-ling/univie-ling-paper.cls | 2 +- .../tex/latex/univie-ling/univie-ling-thesis.cls | 2 +- .../tex/latex/univie-ling/univie-ling-wlg.cfg | 20 +++++ .../tex/latex/univie-ling/univie-ling-wlg.cls | 92 ++++++++++++++++----- .../tex/latex/univie-ling/univie-ling.bbx | 6 +- .../tex/latex/univie-ling/univie-ling.cbx | 2 +- 11 files changed, 144 insertions(+), 32 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cfg diff --git a/Master/texmf-dist/doc/latex/univie-ling/README b/Master/texmf-dist/doc/latex/univie-ling/README index cacaac168a9..1670d15caec 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/README +++ b/Master/texmf-dist/doc/latex/univie-ling/README @@ -80,6 +80,18 @@ also have a look at the example files. == CHANGES == +V. 1.13 (2020-11-11) + - univie-ling.bbx: + * Fix whitespace issue in thematic issue string. + - univie-ling-wlg: + * Use totpages package rather than lastpage in order to fix + clash with totpages which is loaded by a secondary package. + * New option "peerrev". + * New option "preprint". + * Factor out editorial data to new univie-ling-wlg.cls file. + * Make editorial data configurable locally via \edboardGL, \edboardAL, + \edboardHL, and \techboard. + V. 1.12 (2020-06-25) - univie-ling.bbx: - univie-ling.cbx: diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-article.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-article.pdf index 4c6af984c7a..7963775007f 100644 Binary files a/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-article.pdf and b/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-article.pdf differ diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf index b2d5c3bc202..523eac63124 100644 Binary files a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf and b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf differ diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex index 0b57dab8b18..627a7fe84e8 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex @@ -59,7 +59,7 @@ \author{\texorpdfstring{Jürgen Spitzmüller% \thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{Jürgen Spitzmüller}} -\date{Version 1.12, 2020/06/25} +\date{Version 1.13, 2020/11/11} \maketitle @@ -131,20 +131,38 @@ The class can generate a titlepage in two different forms. With \joption{issue}, a title page for a whole journal issue is output. With \joption{specialprint}, a special print (``Sonderdruck'') title page suitable for single articles is generated. + \item{\joption{peerrev=true|false}}: If \joption{true}, a statement is added to the imprint stating that the papers + of this issue have undergone double-blind peer review. + \item{\joption{preprint=true|false}}: If \joption{true}, the issue is marked as preprint on the titlepage and in + the journal metadata. Pagination info in these places is suppressed. \end{description} \section{General settings} \subsection{Editorial data} +Data for a particular issue can be set via: + \begin{description} \setlength\itemsep{0pt} \item{\jcsmacro{startpage\{\}}} Set start pagination (default: 1). \item{\jcsmacro{issue\{\}\{\}}} Set journal issue (number and year) \item{\jcsmacro{issuetitle\{\}}} Set title of special issue \item{\jcsmacro{issuesubtitle\{<subtitle>\}}} Set subtitle of special issue - \item{\jcsmacro{issueeditors\{<names>\}}} Set editors of special issue. \end{description} +% +If needed, the editorial board (as printed in the imprint) can be adapted for a particular issue via: + +\begin{description} + \setlength\itemsep{0pt} + \item{\jcsmacro{edboardGL\{<name>\}}} Set editorial board member(s) for General Linguistics + \item{\jcsmacro{edboardAL\{<name>\}}} Set editorial board member(s) for Applied Linguistics + \item{\jcsmacro{edboardHL\{<name>\}}} Set editorial board member(s) for Historical Linguistics + \item{\jcsmacro{techboard\{<name>\}}} Set technical board member(s) +\end{description} +% +In general, the data for the editorial board should be set/changed in a local copy of the file +\texttt{univie-ling-wlg.cls} which is shipped with this class. \subsection{Titling} @@ -162,6 +180,8 @@ Use \jfcsmacro{maketitle} to set the title after the above settings have been ma \subsection{Abstract and keywords} The abstract is set with the \jmacro{abstract} environment. Keywords (following the abstract) are set with the \jcsmacro{keywords\{<comma-separated keywords>\}} macro. +Please note that language switches for abstracts in a different language should be done inside the \jmacro{abstract} +environment. It is suggested to use \textsf{babel}'s \jfmacro{otherlanguage} environment for this purpose. \subsection{Structuring} @@ -207,18 +227,28 @@ A layout for \LyX\footnote{See \url{https://www.lyx.org}.}\ can be retrieved fro A template is provided as well: \url{https://github.com/jspitz/univie-ling/raw/master/lyx/templates/template-wlg-article.lyx}. -\clearpage \section{Release History} +\raggedright \begin{itemize} + \item 2020/11/11 (v.\,1.13) + \begin{itemize} + \item Use \textsf{totpages} package rather than \textsf{lastpage} in order to fix + clash with \textsf{totpages} which is loaded by a secondary package. + \item New option \joption{peerrev}. + \item New option \joption{preprint}. + \item Factor out editorial data to new \texttt{univie-ling-wlg.cls} file + \item Make editorial data configurable locally via \jcsmacro{edboardGL}, \jcsmacro{edboardAL}, + \jcsmacro{edboardHL}, and \jcsmacro{techboard}. + \end{itemize} \item 2020/06/25 (v.\,1.12) Adapt to compatibility-breaking \textsf{doclicense} change. \item 2020/05/05 (v.\,1.11) Update editorial board info. \item 2020/05/01 (v.\,1.10) Fix encoding incompatibilities. \item 2019/01/21 (v.\,1.9) No change to this class. \item 2019/01/15 (v.\,1.8) No change to this class. \item 2018/11/07 (v.\,1.7) No change to this class. - \item 2018/11/04 (v.\,1.6) Remove \jmacro{subexamples} environment as this is now provided by \textsf{covington}. + \item 2018/11/04 (v.\,1.6) Remove \jmacro{subexamples} environment as this is now provided by \textsf{covington}. \item 2018/09/03 (v.\,1.5) \begin{itemize} \item Introduce \jmacro{subexamples} environment. diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls index 93bd987bffa..d283f4f3d02 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-expose}[2020/06/25 v1.12 Univie Linguistic Exposes (JSp)] +\ProvidesPackage{univie-ling-expose}[2020/11/11 v1.13 Univie Linguistic Exposes (JSp)] \RequirePackage{xkeyval} diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls index e57d4ebbfc0..a9ad7ed788d 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-paper}[2020/06/25 v1.12 Univie Linguistic Papers (JSp)] +\ProvidesPackage{univie-ling-paper}[2020/11/11 v1.13 Univie Linguistic Papers (JSp)] \RequirePackage{xkeyval} diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls index b3ede80b770..364d8519a1f 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls @@ -31,7 +31,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-thesis}[2020/06/25 v1.12 Univie Linguistic Theses (JSp)] +\ProvidesPackage{univie-ling-thesis}[2020/11/11 v1.13 Univie Linguistic Theses (JSp)] \RequirePackage{xkeyval} diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cfg b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cfg new file mode 100644 index 00000000000..5e6bfc32a79 --- /dev/null +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cfg @@ -0,0 +1,20 @@ +% +% Configuration for WLG class +% + +% +% Editorial Board +% +% General Linguistics +\edboardGL{Markus P\"ochtrager} +% Applied Linguistics +\edboardAL{Mi-Cha Flubacher, Jonas Hassemer \& Sabine Lehner}% +% Historical Linguistics +\edboardHL{Stefan Schumacher} + +% +% Technical Board +% +%\techboard{John Doe} + +% finis 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 2dcbbbbe83d..c9b73cc905d 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 @@ -32,7 +32,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{univie-ling-wlg}[2020/06/25 v1.12 WLG journal layout (JSp)] +\ProvidesPackage{univie-ling-wlg}[2020/11/11 v1.13 WLG journal layout (JSp)] %% ============================================================ @@ -103,6 +103,20 @@ } \DeclareOptionX{titlepage}{\setkeys{wlg}{ttp=#1}} +% preprint=<true|false> +\define@boolkey+{wlg}{preprint}[true]{% +}{% + \ClassWarning{univie-ling-wlg}{unknown preprint value}% +} +\DeclareOptionX{preprint}{\setkeys{wlg}{preprint=#1}} + +% peerrev=<true|false> +\define@boolkey+{wlg}{peerrev}[true]{% +}{% + \ClassWarning{univie-ling-wlg}{unknown peerrev value}% +} +\DeclareOptionX{peerrev}{\setkeys{wlg}{peerrev=#1}} + \DeclareOption*{% \PassOptionsToClass{\CurrentOption}{scrartcl}% } @@ -130,6 +144,18 @@ \fi \recalctypearea + +%% ============================================================ +%% CONFIGURATION: +%% ============================================================ + +\newcommand*\edboardAL[1]{\def\wlg@edboardAL{#1}} +\newcommand*\edboardGL[1]{\def\wlg@edboardGL{#1}} +\newcommand*\edboardHL[1]{\def\wlg@edboardHL{#1}} +\newcommand*\techboard[1]{\def\wlg@techboard{#1}} + +\InputIfFileExists{univie-ling-wlg.cfg} + %% ============================================================ %% FONTS UND MICROTYPOGRAPHY: %% ============================================================ @@ -182,6 +208,12 @@ \deftranslation[to=English]{published}{Published} \deftranslation[to=German]{specialprint}{Sonderdruck aus:} \deftranslation[to=English]{specialprint}{Special print from:} +\deftranslation[to=German]{peerrev}{Die Beitr\"age dieser Ausgabe wurden einer Doppelblindbegutachtung unterzogen.} +\deftranslation[to=English]{peerrev}{The papers of this issue have undergone double-blind peer review.} +\deftranslation[to=German]{preprintfrom}{Vorabdruck aus:} +\deftranslation[to=English]{preprintfrom}{Preprint from:} +\deftranslation[to=German]{preprint}{Vorabdruck} +\deftranslation[to=English]{preprint}{Preprint} \deftranslation[to=German]{specialissue}{Themenheft} \deftranslation[to=English]{specialissue}{Special Issue} \deftranslation[to=German]{keywords}{Schlagw\"orter} @@ -225,8 +257,8 @@ \AtBeginDocument{% -\addto\captionsngerman{\renewcommand*\contentsname{Inhalt}} -\addto\captionsnaustrian{\renewcommand*\contentsname{Inhalt}} +\addto\captionsngerman{\renewcommand*\contentsname{Inhalt}}% +\addto\captionsnaustrian{\renewcommand*\contentsname{Inhalt}}% } \AtEndPreamble{ % License @@ -252,11 +284,22 @@ \setlength\itemsep{0pt} \setlength\parsep{0pt} \setlength{\parskip}{0pt} +\def\wlg@lb{} \item[\textbf{\translate{edboard}:}] - Markus P\"ochtrager (\translate{general}),\\ - Mi-Cha Flubacher, Jonas Hassemer \& Sabine Lehner (\translate{applied}),\\ - Stefan Schumacher (\translate{hist}) -%\item[\textbf{\translate{techboard}:}] Markus Rheindorf + \ifcsname wlg@edboardGL\endcsname + \wlg@edboardGL\ (\translate{general}),% + \def\wlg@lb{\\}% + \fi + \ifcsname wlg@edboardAL\endcsname + \wlg@lb\wlg@edboardAL\ (\translate{applied}),% + \def\wlg@lb{\\}% + \fi + \ifcsname wlg@edboardHL\endcsname + \wlg@lb\wlg@edboardHL\ (\translate{hist}) + \fi +\ifcsname wlg@techboard\endcsname + \item[\textbf{\translate{techboard}:}] \wlg@techboard +\fi \item[\textbf{\translate{contact}:}] \href{mailto:wlg@univie.ac.at}{wlg@univie.ac.at} \item[\textbf{Homepage:}] \expandafter\url{\wlgurl} \end{labeling} @@ -269,6 +312,9 @@ \item[\textbf{\textsc{nbn}:}] BI,078,1063 \end{labeling} \vspace*{-.5em} +\ifKV@wlg@peerrev + \noindent\translate{peerrev}\par\vspace*{.5em} +\fi \noindent\translate{appform}\par \setlength{\doclicense@hsize}{\textwidth-\doclicense@imagewidth-\doclicense@imagedistance}% \begin{center} @@ -333,12 +379,12 @@ \immediate\write\@auxout{\noexpand\newlabel{LastFrontPage}{{}{\arabic{page}}}}% \@mainmattertrue\@frontmatterfalse% \pagenumbering{arabic}% - \def\computelastpage{\pageref{LastPage}}% + \def\computelastpage{\pageref{TotPages}}% \def\startpageref{\thestartpage}% } \newcommand*\backmatter{% \if@openright\cleardoubleoddpage\else\clearpage\fi\@mainmatterfalse\@frontmatterfalse% - \def\computelastpage{\pageref{LastPage}}% + \def\computelastpage{\pageref{TotPages}}% \def\startpageref{\thestartpage}% } @@ -371,9 +417,9 @@ %% TITLING %% ============================================================ -\RequirePackage{lastpage} +\RequirePackage{totpages} \RequirePackage{refcount} -\def\computelastpage{\pageref{LastPage}}% +\def\computelastpage{\pageref{TotPages}}% \def\lastpageref{\computelastpage}% \def\startpageref{\thestartpage}% \RequirePackage{xcolor} @@ -552,8 +598,10 @@ pdfborder={0 0 0} }% }% \vfill - {\usekomafont{date}{\translate{specialprint} \emph{Wiener Linguistische Gazette} (\versal{WLG}) - \@issue\ (\@pubyear): \startpageref--\lastpageref\par}} + {\usekomafont{date}{\ifKV@wlg@preprint\translate{preprintfrom}% + \else\translate{specialprint}\fi\ \emph{Wiener Linguistische Gazette} + (\versal{WLG}) + \@issue\ (\@pubyear)\ifKV@wlg@preprint\else: \startpageref--\lastpageref\fi\par}} {\ifx\@issuetitle\@empty\else \vskip 1em \usekomafont{date}{\translate{specialissue} \itshape\@issuetitle @@ -691,7 +739,9 @@ pdfborder={0 0 0} \emph{Wiener Linguistische Gazette} (\versal{WLG})\par \translate{lingdep}\par \translate{univie}\par - \translate{issue} \@issue\ (\@pubyear): \thepage--\lastpageref + \translate{issue} \@issue\ (\@pubyear): + \ifKV@wlg@preprint\translate{preprint}% + \else\thepage--\lastpageref\fi% }% \vskip \z@ \@plus 1em {\usekomafont{publishers}{\@publishers \par}}% @@ -707,7 +757,7 @@ pdfborder={0 0 0} % Rewrite \include for local LastPage counter \def\@include#1 {% \def\ljobname{#1}% - \def\lastpageref{\pageref{LastPage#1}}% + \def\lastpageref{\pageref{TotPages#1}}% \clearpage \if@filesw \immediate\write\@mainaux{\string\@input{#1.aux}}% @@ -729,7 +779,7 @@ pdfborder={0 0 0} \newrefsection \fi \@input@{#1.tex}% - \label{LastPage#1}% + \label{TotPages#1}% \clearpage \@writeckpt{#1}% \if@filesw @@ -813,18 +863,18 @@ pdfborder={0 0 0} \addsec*{\hspace*{2.4em}Abstract} \quotation\noindent\ignorespaces% }{% - \if@twocolumn\else\endquotation\fi + \if@twocolumn\else\endquotation\fi% } % Keywords \newcommand\keywords[1]{% - \begin{quote} - \begin{labeling}{\textbf{\translate{keywords}:}} + \begin{quote}% + \begin{labeling}{\textbf{\translate{keywords}:}}% \RaggedRight\small% \item[\textbf{\translate{keywords}:}] #1% - \end{labeling} - \end{quote} + \end{labeling}% + \end{quote}% } % Motto diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx index 66539321245..c88d648c0cd 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx @@ -36,7 +36,7 @@ % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\ProvidesFile{univie-ling.bbx}[2019/05/21 v1.11dev biblatex bibliography style] +\ProvidesFile{univie-ling.bbx}[2020/11/11 v1.13 biblatex bibliography style] % Load base style (authoryear) \RequireBibliographyStyle{authoryear} @@ -314,8 +314,8 @@ \iffieldundef{issuetitle}{}{% \usebibmacro{issue}% \adddotspace% - [\bibstring{specialissue}]% - } + \printtext[brackets]{\bibstring{specialissue}}% + }% \setunit{\addcolon\space}% \usebibmacro{issue+date}% \usebibmacro{periodical}% diff --git a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx index 3d7c4f8c20a..8f9720a39a5 100644 --- a/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx +++ b/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx @@ -34,7 +34,7 @@ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\ProvidesFile{univie-ling.cbx}[2019/05/21 v1.11dev biblatex citation style] +\ProvidesFile{univie-ling.cbx}[2020/11/11 v1.13 biblatex citation style] \RequireCitationStyle{authoryear} -- cgit v1.2.3