texlive[60937] Master/texmf-dist: univie-ling (3nov21)

commits+karl at tug.org commits+karl at tug.org
Wed Nov 3 21:49:54 CET 2021


Revision: 60937
          http://tug.org/svn/texlive?view=revision&revision=60937
Author:   karl
Date:     2021-11-03 21:49:54 +0100 (Wed, 03 Nov 2021)
Log Message:
-----------
univie-ling (3nov21)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/univie-ling/README
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-deutsch.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-deutsch.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-english.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.tex
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.tex
    trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-article.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf
    trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex
    trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls
    trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls
    trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls
    trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
    trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx
    trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/README	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/README	2021-11-03 20:49:54 UTC (rev 60937)
@@ -80,6 +80,20 @@
 
 == CHANGES ==
 
+V. 1.16 (2021-11-03):
+    - univie-ling-paper:
+     * Adjust font size and margins to dept. standards.
+     * Add option "draftmark".
+     * Fix grouping in \maketitle
+    - univie-ling-thesis:
+     * Add \makedeclaration (for BA theses)
+     * Adjust font size and margins of BA thesis to dept. standards.
+     * Add option "draftmark".
+     * Fix grouping in \maketitle
+    - univie-ling-expose:
+     * Add option "draftmark".
+     * Fix grouping in \maketitle
+
 V. 1.15 (2021-10-19)
     - univie-ling.bbx: 
       * Output url date only if url is given (not with DOI).

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-deutsch.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-deutsch.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-english.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.tex	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.tex	2021-11-03 20:49:54 UTC (rev 60937)
@@ -40,6 +40,9 @@
 % Die Titelseite
 \maketitle
 
+% Selbständigkeitserklärung (für BA-Arbeiten)
+% \makedeclaration
+
 \tableofcontents
 
 \chapter{Ein paar Tipps}\label{cha:hinweise}

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.tex	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.tex	2021-11-03 20:49:54 UTC (rev 60937)
@@ -40,6 +40,9 @@
 % The title page
 \maketitle
 
+% Declaration of good practice (BA theses)
+% \makedeclaration
+
 \tableofcontents
 
 \chapter{General hints}\label{cha:hints}

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-article.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex	2021-11-03 20:49:54 UTC (rev 60937)
@@ -63,7 +63,7 @@
 \author{\texorpdfstring{J\xFCrgen Spitzm\xFCller%
 \thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{J\xFCrgen Spitzm\xFCller}}
 
-\date{Version 1.15, 2021/10/19}
+\date{Version 1.16, 2021/11/03}
 
 \maketitle
 
@@ -126,6 +126,7 @@
 \begin{itemize}
  \setlength\itemsep{0pt}
  \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
+ \item \textsf{draftwatermark}: Create a draft mark.
  \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX).
  \item \textsf{polyglossia}: Multi-language and script support.
 \end{itemize}
@@ -197,6 +198,12 @@
         of the class (concerning verbose cross references) are omitted.
 \end{description}
 
+
+\subsection{Draft mode}\label{draft}
+
+The option \joption{draftmark=true|false|firstpage} allows you to mark your document as a draft, which is indicated by a watermark (including the current date). This might be useful when sharing preliminary versions with your supervisor.
+With \joption{draftmark=true}, this mark is printed on top of each page.  With \joption{draftmark=firstpage}, the draft mark appears on the title page only.
+
 \subsection{Further options}
 
 The class builds on \textsf{scrartcl} (KOMA article), which provides many more options to tweak the appearance of your document. You can use
@@ -319,6 +326,11 @@
 \section{Release History}
 
 \begin{description}
+  \item 2021/11/03 (v.\,1.16)
+	\begin{itemize}
+		\item Add option \joption{draftmark}. See sec.~\ref{draft}.
+		\item Fix grouping in \jcsmacro{maketitle}.
+	\end{itemize} 
   \item 2021/10/19 (v.\,1.15) No change to this class.
   \item 2021/09/01 (v.\,1.14) No change to this class.
   \item 2020/11/11 (v.\,1.13) No change to this class.

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex	2021-11-03 20:49:54 UTC (rev 60937)
@@ -59,7 +59,7 @@
 \author{\texorpdfstring{J\xFCrgen Spitzm\xFCller%
 		\thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{J\xFCrgen Spitzm\xFCller}}
 
-\date{Version 1.15, 2021/10/19}
+\date{Version 1.16, 2021/11/03}
 
 \maketitle
 
@@ -118,8 +118,9 @@
 The following package is required for an optional feature (not used by default):
 \begin{itemize}
  \setlength\itemsep{0pt}
+ \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
+ \item \textsf{draftwatermark}: Create a draft mark.
  \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX).
- \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
  \item \textsf{polyglossia}: Multi-language and script support.
 \end{itemize}
 
@@ -211,6 +212,11 @@
         of the class (concerning verbose cross references) are omitted.
 \end{description}
 
+\subsection{Draft mode}\label{draft}
+
+The option \joption{draftmark=true|false|firstpage} allows you to mark your document as a draft, which is indicated by a watermark (including the current date). This might be useful when sharing preliminary versions with your supervisor.
+With \joption{draftmark=true}, this mark is printed on top of each page.  With \joption{draftmark=firstpage}, the draft mark appears on the title page only.
+
 \subsection{Further options}
 
 The class builds on \textsf{scrartcl} (KOMA article), which provides many more options to tweak the appearance of your document. You can use
@@ -343,6 +349,12 @@
 \section{Release History}
 
 \begin{itemize}
+  \item 2021/11/03 (v.\,1.16)
+	\begin{itemize}
+		\item Adjust font size and margins to dept. standards.
+		\item Add option \joption{draftmark}. See sec.~\ref{draft}.
+		\item Fix grouping in \jcsmacro{maketitle}.
+	\end{itemize} 
   \item 2021/10/19 (v.\,1.15) No change to this class.
   \item 2021/09/01 (v.\,1.14) Do not overwrite \jmacro{texttype} set by user with default value.
   \item 2020/11/11 (v.\,1.13) No change to this class.

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex	2021-11-03 20:49:54 UTC (rev 60937)
@@ -59,7 +59,7 @@
 \author{\texorpdfstring{J\xFCrgen Spitzm\xFCller%
 		\thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{J\xFCrgen Spitzm\xFCller}}
 
-\date{Version 1.15, 2021/10/19}
+\date{Version 1.16, 2021/11/03}
 
 \maketitle
 
@@ -122,6 +122,7 @@
 \begin{itemize}
  \setlength\itemsep{0pt}
  \item \textsf{biblatex-apa}: APA style for \textsf{biblatex}.
+ \item \textsf{draftwatermark}: Create a draft mark.
  \item \textsf{fontspec}: Load OpenType fonts (with LuaTeX or XeTeX).
  \item \textsf{polyglossia}: Multi-language and script support.
  \item \textsf{pdfa}: Create PDF/A compliant files.
@@ -215,6 +216,12 @@
         of the class (concerning verbose cross references) are omitted.
 \end{description}
 
+
+\subsection{Draft mode}\label{draft}
+
+The option \joption{draftmark=true|false|firstpage} allows you to mark your document as a draft, which is indicated by a watermark (including the current date). This might be useful when sharing preliminary versions with your supervisor.
+With \joption{draftmark=true}, this mark is printed on top of each page.  With \joption{draftmark=firstpage}, the draft mark appears on the title page only.
+
 \subsection{Further options}
 
 \begin{description}
@@ -258,6 +265,18 @@
 The suitable degree (\emph{Angestrebter akademischer Grad}) is automatically set by the \jcsmacro{thesistype} command, but you can override it with the optional command \jcsmacro{degree\{<custom degree>\}}.
 Note that female forms of degrees, where appropriate, are  used if you use the class option \joption{fdegree=true} (see sec.~\ref{coptions}).
 
+
+\section{Declaration}\label{decl}
+
+It is possible to automatically generate a page with a declaration where you declare and sign that you follow research ethics\slash anti-plagiarism rules
+(\emph{Selbst\"andigkeitserkl\"arung}) by means of the command
+
+\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={makedeclaration}]
+	\makedeclaration
+\end{lstlisting}
+%
+Such a declaration is needed for BA theses.
+
 \section{Semantic markup}\label{markup}
 
 The class defines some basic semantic markup common in linguistics:
@@ -367,11 +386,19 @@
 \section{Release History}
 
 \begin{itemize}
+ \item 2021/11/03 (v.\,1.16)
+ \begin{itemize}
+ 	\item Add \jcsmacro{makedeclaration} (for BA theses). See sec.~\ref{decl}.
+ 	\item Adjust font size and margins of BA thesis to dept. standards.
+ 	\item Add option \joption{draftmark}. See sec.~\ref{draft}.
+ 	\item Fix grouping in \jcsmacro{maketitle}.
+ \end{itemize} 
  \item 2021/10/19 (v.\,1.15) No change to this class.
  \item 2021/09/01 (v.\,1.14) No change to this class.
  \item 2020/11/11 (v.\,1.13) No change to this class.
  \item 2020/06/25 (v.\,1.12) No change to this class.
- \item 2020/05/05 (v.\,1.11)\begin{itemize}
+ \item 2020/05/05 (v.\,1.11)
+ \begin{itemize}
  	\item New option \joption{polyglossia}.
  	\item New option \joption{pdfa}.
  \end{itemize} 

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.tex	2021-11-03 20:49:54 UTC (rev 60937)
@@ -59,7 +59,7 @@
 \author{\texorpdfstring{J\xFCrgen Spitzm\xFCller%
 		\thanks{Please report issues via \protect\url{https://github.com/jspitz/univie-ling}.}}{J\xFCrgen Spitzm\xFCller}}
 
-\date{Version 1.15, 2021/10/19}
+\date{Version 1.16, 2021/11/03}
 
 \maketitle
 
@@ -232,6 +232,7 @@
 
 \raggedright
 \begin{itemize}
+  \item 2021/11/03 (v.\,1.16) No change to this class.
   \item 2021/10/19 (v.\,1.15) Allow for slanted/bold IPA.
   \item 2021/09/01 (v.\,1.14) Update editorial board.
   \item 2020/11/11 (v.\,1.13) 

Modified: trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-expose.cls	2021-11-03 20:49:54 UTC (rev 60937)
@@ -31,7 +31,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-expose}[2021/10/19 v1.15 Univie Linguistic Exposes (JSp)]
+\ProvidesPackage{univie-ling-expose}[2021/11/03 v1.16 Univie Linguistic Exposes (JSp)]
 
 \RequirePackage{xkeyval}
 
@@ -38,6 +38,8 @@
 \newif\ifbiblatex\biblatextrue
 \newif\ifapa\apafalse
 \newif\ifcaptionp\captionptrue
+\newif\ifdraftmark\draftmarkfalse
+\newif\ifdraftmarkfp\draftmarkfpfalse
 \newif\ifrefsp\refsptrue
 \newif\ifcovington\covingtontrue
 \newif\ifmicrotype\microtypetrue
@@ -132,6 +134,24 @@
 }
 \DeclareOptionX{covington}[true]{\setkeys{uvt}{covington=#1}}
 
+% draftmark=<true|false>
+% Print draftmark
+\define at choicekey*+{uvt}{draftmark}[\val\nr]{true,false,firstpage}{%
+    \ifcase\nr\relax% true:
+        \draftmarktrue
+        \draftmarkfpfalse
+    \or% false:
+        \draftmarkfalse
+        \draftmarkfpfalse
+    \or% firstpage:
+        \draftmarktrue
+        \draftmarkfptrue
+    \fi
+}{%
+    \ClassWarning{univie-ling-paper}{unknown draft value}%
+}
+\DeclareOptionX{draftmark}[true]{\setkeys{uvt}{draftmark=#1}}
+
 % microtype=<true|false>
 % Load microtype
 \define at boolkey+{uvt}{microtype}[true]{%
@@ -200,6 +220,8 @@
 %% ============================================================
 
 \RequirePackage{translations}
+\DeclareTranslation{German}{draft}{ENTWURF}
+\DeclareTranslation{English}{draft}{DRAFT}
 \DeclareTranslation{German}{section}{Abschnitt}
 \DeclareTranslation{English}{section}{section}
 \DeclareTranslation{German}{footnote}{Anm.}
@@ -432,7 +454,7 @@
        \end{flushright}
          \vspace{2\baselineskip}
        \begin{center}
-         \bgroup\usekomafont{thesistype}{\GetTranslation{expo}}\egroup
+         {\usekomafont{thesistype}\GetTranslation{expo}}
        \end{center}
       \vspace{2\baselineskip}
       \begin{center}
@@ -713,4 +735,28 @@
 
 \fi
 
+
+%% =============================================================
+%% DRAFT:
+%% =============================================================
+
+\ifdraftmark
+
+\ifdraftmarkfp
+  \RequirePackage[firstpageonly]{draftwatermark}
+\else
+  \RequirePackage{draftwatermark}
+\fi
+
+\DraftwatermarkOptions{%
+  angle=0,
+  vpos=10pt,
+  anchor=ct,
+  fontsize=14pt,
+  text={\GetTranslation{draft} (\today)}
+}
+
+\fi
+
+
 %% Finis.

Modified: trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-paper.cls	2021-11-03 20:49:54 UTC (rev 60937)
@@ -31,7 +31,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-paper}[2021/10/19 v1.15 Univie Linguistic Papers (JSp)]
+\ProvidesPackage{univie-ling-paper}[2021/11/03 v1.16 Univie Linguistic Papers (JSp)]
 
 \RequirePackage{xkeyval}
 
@@ -38,6 +38,8 @@
 \newif\ifbiblatex\biblatextrue
 \newif\ifapa\apafalse
 \newif\ifcaptionp\captionptrue
+\newif\ifdraftmark\draftmarkfalse
+\newif\ifdraftmarkfp\draftmarkfpfalse
 \newif\ifrefsp\refsptrue
 \newif\ifcovington\covingtontrue
 \newif\ifmicrotype\microtypetrue
@@ -107,6 +109,24 @@
 }
 \DeclareOptionX{caption}[true]{\setkeys{uvt}{caption=#1}}
 
+% draftmark=<true|false>
+% Print draftmark
+\define at choicekey*+{uvt}{draftmark}[\val\nr]{true,false,firstpage}{%
+    \ifcase\nr\relax% true:
+        \draftmarktrue
+        \draftmarkfpfalse
+    \or% false:
+        \draftmarkfalse
+        \draftmarkfpfalse
+    \or% firstpage:
+        \draftmarktrue
+        \draftmarkfptrue
+    \fi
+}{%
+    \ClassWarning{univie-ling-paper}{unknown draft value}%
+}
+\DeclareOptionX{draftmark}[true]{\setkeys{uvt}{draftmark=#1}}
+
 % ref=<true|false>
 % Load varioref and prettyref
 \define at boolkey+{uvt}{ref}[true]{%
@@ -186,6 +206,8 @@
 
 \LoadClass[%
 	   a4paper,
+	   fontsize=12pt,
+	   BCOR=0mm,
 	   captions=tableheading,
 	   listof=totoc,
 	   numbers=noenddot,
@@ -199,6 +221,8 @@
 %% ============================================================
 
 \RequirePackage{translations}
+\DeclareTranslation{German}{draft}{ENTWURF}
+\DeclareTranslation{English}{draft}{DRAFT}
 \DeclareTranslation{German}{subm}{Abgegeben am}
 \DeclareTranslation{English}{subm}{Submission date:}
 \DeclareTranslation{German}{submto}{bei}
@@ -387,6 +411,10 @@
 \RequirePackage{scrlayer-scrpage}
 \pagestyle{scrplain}
 
+% Margins
+\RequirePackage{geometry}
+\geometry{tmargin=3cm, bmargin=3cm, lmargin=3cm, rmargin=3cm, footskip=1.5cm}
+
 % No widows and orphans
 % No overfull lines
 \tolerance 1414
@@ -472,7 +500,7 @@
        \end{flushright}
          \vspace{2\baselineskip}
        \begin{center}
-         \bgroup\usekomafont{texttype}{\MakeUppercase{\@texttype}\par}\egroup
+         {\usekomafont{texttype}\MakeUppercase{\@texttype}\par}
        \end{center}
       \vspace{2\baselineskip}
       \begin{center}
@@ -816,4 +844,27 @@
 
 \fi
 
+
+%% =============================================================
+%% DRAFT:
+%% =============================================================
+
+\ifdraftmark
+
+\ifdraftmarkfp
+  \RequirePackage[firstpageonly]{draftwatermark}
+\else
+  \RequirePackage{draftwatermark}
+\fi
+
+\DraftwatermarkOptions{%
+  angle=0,
+  vpos=10pt,
+  anchor=ct,
+  fontsize=14pt,
+  text={\GetTranslation{draft} (\today)}
+}
+
+\fi
+
 %% Finis.

Modified: trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-thesis.cls	2021-11-03 20:49:54 UTC (rev 60937)
@@ -31,7 +31,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-thesis}[2021/10/19 v1.15 Univie Linguistic Theses (JSp)]
+\ProvidesPackage{univie-ling-thesis}[2021/11/03 v1.16 Univie Linguistic Theses (JSp)]
 
 \RequirePackage{xkeyval}
 
@@ -38,9 +38,12 @@
 \newif\ifbiblatex\biblatextrue
 \newif\ifapa\apafalse
 \newif\ifcaptionp\captionptrue
+\newif\ifdraftmark\draftmarkfalse
+\newif\ifdraftmarkfp\draftmarkfpfalse
 \newif\ifrefsp\refsptrue
 \newif\ifcovington\covingtontrue
 \newif\ifmicrotype\microtypetrue
+\newif\ifmultiauthors\multiauthorsfalse
 \newif\ifpolyglossia\polyglossiafalse
 \newif\ifpsfonts\psfontstrue
 \newif\ifotffonts\otffontsfalse
@@ -160,6 +163,24 @@
 }
 \DeclareOptionX{fdegree}[true]{\setkeys{uvt}{fdegree=#1}}
 
+% draftmark=<true|false>
+% Print draftmark
+\define at choicekey*+{uvt}{draftmark}[\val\nr]{true,false,firstpage}{%
+    \ifcase\nr\relax% true:
+        \draftmarktrue
+        \draftmarkfpfalse
+    \or% false:
+        \draftmarkfalse
+        \draftmarkfpfalse
+    \or% firstpage:
+        \draftmarktrue
+        \draftmarkfptrue
+    \fi
+}{%
+    \ClassWarning{univie-ling-paper}{unknown draft value}%
+}
+\DeclareOptionX{draftmark}[true]{\setkeys{uvt}{draftmark=#1}}
+
 % polyglossia=<true|false>
 % Load polyglossia
 \define at boolkey+{uvt}{polyglossia}[true]{%
@@ -227,6 +248,8 @@
 %% ============================================================
 
 \RequirePackage{translations}
+\DeclareTranslation{German}{draft}{ENTWURF}
+\DeclareTranslation{English}{draft}{DRAFT}
 \DeclareTranslation{German}{section}{Abschnitt}
 \DeclareTranslation{English}{section}{section}
 \DeclareTranslation{German}{footnote}{Anm.}
@@ -235,8 +258,27 @@
 \DeclareTranslation{English}{footnote}{example}
 \DeclareTranslation{German}{stkz}{Studienkennzahl}
 \DeclareTranslation{English}{stkz}{Studienkennzahl}
+\DeclareTranslation{German}{erkl}{Erkl\"arung}
+\DeclareTranslation{English}{erkl}{Declaration}
+\DeclareTranslation{German}{selbst1s}{Hiermit versichere ich, dass ich die vorliegende Arbeit selbst\"andig verfasst
+und keine anderen als die angegebenen Hilfsmittel benutzt habe.}
+\DeclareTranslation{German}{selbst1p}{Hiermit versichern wir, dass wir die vorliegende Arbeit selbst\"andig verfasst
+und keine anderen als die angegebenen Hilfsmittel benutzt haben.}
+\DeclareTranslation{German}{selbst2}{Die Stellen der Arbeit, die anderen Quellen im Wortlaut oder dem Sinn nach entnommen wurden, sind durch Herkunftsangaben kenntlich gemacht.
+Dies gilt auch f\"ur Zeichnungen, Skizzen, bildliche Darstellungen sowie f\"ur Quellen aus dem Internet.}
+\DeclareTranslation{German}{selbst3s}{Ich versichere ferner, dass ich die vorliegende Arbeit weder ganz noch in Teilen bereits als
+Pr\"ufungsleistung vorgelegt habe.}
+\DeclareTranslation{German}{selbst3p}{Wir versichern ferner, dass wir die vorliegende Arbeit weder ganz noch in Teilen bereits als
+Pr\"ufungsleistung vorgelegt haben.}
+\DeclareTranslation{English}{selbst1s}{I hereby declare that this paper is entirely my own work and that I used no source material or aids other than those stipulated.}
+\DeclareTranslation{English}{selbst1p}{We hereby declare that this paper is entirely our own work and that we used no source material or aids other than those stipulated.}
+\DeclareTranslation{English}{selbst2}{No part of it has been copied from any work produced by any other person or copied from any other source without reference to the source.
+This includes all drawings, sketches, graphics and internet sources.}
+\DeclareTranslation{English}{selbst3s}{Furthermore, I declare that this paper has not been submitted as an examination already, neither as a whole nor in parts.}
+\DeclareTranslation{English}{selbst3p}{Furthermore, we declare that this paper has not been submitted as an examination already, neither as a whole nor in parts.}
+\DeclareTranslation{German}{wien}{Wien}
+\DeclareTranslation{English}{wien}{Vienna}
 
-
 %% ============================================================
 %% FONTS AND EMPHASIZING:
 %% ============================================================
@@ -309,6 +351,11 @@
     \else
         \def\@degree{\csuse{degree@#1}}
     \fi
+    \Ifstr{#1}{bachelor}{%
+      \KOMAoptions{fontsize=12pt}%
+      \RequirePackage{geometry}
+      \geometry{tmargin=3cm, bmargin=3cm, lmargin=3cm, rmargin=3cm, footskip=1.5cm}
+    }
   }%
 }
 
@@ -451,6 +498,7 @@
   \else
     \def\and{%
       \end{tabular}%
+      \global\multiauthorstrue%
       \hskip 1em \@plus.17fil%
       \begin{tabular}[t]{c}%
     }%
@@ -501,7 +549,7 @@
        \end{flushright}
          \vspace{2\baselineskip}
        \begin{center}
-         \bgroup\usekomafont{thesistype}{\MakeUppercase{\@thesistype\,/\,\hskip\z at skip\mbox{\@thesistype at en}}\par}\egroup
+         {\usekomafont{thesistype}\MakeUppercase{\@thesistype\,/\,\hskip\z at skip\mbox{\@thesistype at en}}\par}
        \end{center}
       \vspace{2\baselineskip}
       \begin{center}
@@ -588,7 +636,49 @@
   \restoregeometry
 }%
 
+\newcommand\makedeclaration{%
+\def\and{%
+      \end{tabular}%
+      \hskip 1em \@plus.17fil%
+      \begin{tabular}[t]{c}%
+      \hline
+    }%
+\clearpage
+\thispagestyle{plain}%
+\section*{\GetTranslation{erkl}}
 
+\ifmultiauthors
+\GetTranslation{selbst1p}
+\else
+\GetTranslation{selbst1s}
+\fi
+
+\GetTranslation{selbst2}
+
+\ifmultiauthors
+\GetTranslation{selbst3p}
+\else
+\GetTranslation{selbst3s}
+\fi
+
+\bigskip
+\bgroup
+\raggedleft
+\GetTranslation{wien}, \today
+
+\vspace{15mm}
+
+\begin{tabular}[t]{c}
+    \hline
+    \@author
+\end{tabular}\par
+\egroup
+\clearpage
+\global\let\and\relax
+}
+
+
+
 %% =============================================================
 %% FOOTNOTES:
 %% =============================================================
@@ -794,4 +884,28 @@
 
 \fi
 
+
+%% =============================================================
+%% DRAFT:
+%% =============================================================
+
+\ifdraftmark
+
+\ifdraftmarkfp
+  \RequirePackage[firstpageonly]{draftwatermark}
+\else
+  \RequirePackage{draftwatermark}
+\fi
+
+\DraftwatermarkOptions{%
+  angle=0,
+  vpos=10pt,
+  anchor=ct,
+  fontsize=14pt,
+  text={\GetTranslation{draft} (\today)}
+}
+
+\fi
+
+
 %% Finis.

Modified: trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling-wlg.cls	2021-11-03 20:49:54 UTC (rev 60937)
@@ -32,7 +32,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{univie-ling-wlg}[2021/10/19 v1.15 WLG journal layout (JSp)]
+\ProvidesPackage{univie-ling-wlg}[2021/11/03 v1.16 WLG journal layout (JSp)]
 
 
 %% ============================================================

Modified: trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.bbx	2021-11-03 20:49:54 UTC (rev 60937)
@@ -36,7 +36,7 @@
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
-\ProvidesFile{univie-ling.bbx}[2021/10/13 v1.15dev biblatex bibliography style]
+\ProvidesFile{univie-ling.bbx}[2021/11/03 v1.16 biblatex bibliography style]
 
 % Load base style (authoryear)
 \RequireBibliographyStyle{authoryear}

Modified: trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx
===================================================================
--- trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx	2021-11-03 20:49:34 UTC (rev 60936)
+++ trunk/Master/texmf-dist/tex/latex/univie-ling/univie-ling.cbx	2021-11-03 20:49:54 UTC (rev 60937)
@@ -34,7 +34,7 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 
-\ProvidesFile{univie-ling.cbx}[2021/09/01 v1.14 biblatex citation style]
+\ProvidesFile{univie-ling.cbx}[2021/11/03 v1.16 biblatex citation style]
 
 \RequireCitationStyle{authoryear}
 



More information about the tex-live-commits mailing list.