diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/univie-ling')
27 files changed, 269 insertions, 8 deletions
diff --git a/Master/texmf-dist/doc/latex/univie-ling/README b/Master/texmf-dist/doc/latex/univie-ling/README index 6d589988dee..c73460f0b42 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/README +++ b/Master/texmf-dist/doc/latex/univie-ling/README @@ -97,6 +97,29 @@ also have a look at the example files. == CHANGES == +V. 2.7 (2024-07-23): + - univie-ling-wlg: Use proper spacing with covington's + reflist environment. + - univie-ling-poster: add smallmargins option. + - univie-ling-thesis: fix running headers in twoside mode. + - univie-ling-handout: + - univie-ling-expose: + - univie-ling-paper: + - univie-ling-thesis: + - univie-ling-wlg: + * Fix empty argument check in \weblink. + * Fix spacing after \weblink. + +V. 2.6 (2024-06-27): + - univie-ling-poster: add smallmargins option. + - univie-ling-thesis: fix running headers in twoside mode. + - univie-ling-handout: + - univie-ling-expose: + - univie-ling-paper: + - univie-ling-thesis: + - univie-ling-wlg: + * provide \weblink, \SetURLDate and \urldate macros. + V. 2.5 (2024-05-09): - univie-ling-paper: implement "short" option. - univie-ling-poster: Add \restspace accessibility helper function. diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-deutsch.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-deutsch.pdf Binary files differindex 022d7b0ffb0..8652b32a5b1 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-deutsch.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-deutsch.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-english.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-english.pdf Binary files differindex bd912dfba4f..a8ac59e821b 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-english.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-expose-english.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-deutsch.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-deutsch.pdf Binary files differindex bab72dbf240..48b41cac878 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-deutsch.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-deutsch.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-english.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-english.pdf Binary files differindex c7add820559..608e203154b 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-english.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-handout-english.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-deutsch.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-deutsch.pdf Binary files differindex f701cadb328..5ac9aba1d19 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-deutsch.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-deutsch.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-english.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-english.pdf Binary files differindex 9ca6f625cc1..49efca45fac 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-english.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-paper-english.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-deutsch.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-deutsch.pdf Binary files differindex 0ed4b5d7cc8..f2260ffeb4c 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-deutsch.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-deutsch.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-english.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-english.pdf Binary files differindex ed8866e79a9..b16ccfe334f 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-english.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-poster-english.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.pdf Binary files differindex 38fe04556c3..9673abfdb0f 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-deutsch.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.pdf Binary files differindex eb482b6af26..0d550fa2862 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-thesis-english.pdf 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 Binary files differindex ffaa154e26f..8a1d9155c6a 100644 --- 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 diff --git a/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-review.pdf b/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-review.pdf Binary files differindex 65411031cc2..f811c049e47 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-review.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/templates/template-wlg-review.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.pdf Binary files differindex c4540b6210d..7efd2c2f362 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex index 9a9fc488097..c3d1c668055 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-expose.tex @@ -63,7 +63,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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle @@ -102,6 +102,7 @@ The following class and packages are required and loaded by \uvlt: \item \textsf{csquotes}: Context sensitive quotations. \item \textsf{datetime2}: Date localization. \item \textsf{graphicx}: Graphic support. + \item \textsf{isodate}: Format URL dates. \item \textsf{l3keys}: Key-value interface for class options. \item \textsf{scrlayer-scrpage}: Page layout settings. \item \textsf{setspace}: Line spacing adjustments. @@ -268,6 +269,34 @@ You can redefine each of these commands, if needed, like this: \renewcommand*\Meaning[1]{\enquote*{#1}} \end{lstlisting} +\section{Hyperlinks} + +The stylesheet requires you to always give last access dates to web links (URLs). To make this easier, +\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you +accessed the site with the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{<URL>}[<date>] +\end{lstlisting} +% +This will format the date in the preferred way (``[last accessed: <date>]''), localized to English or German. +The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g. +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{https://linguistics.univie.ac.at}[27/06/2024] +\end{lstlisting} +% +will print: \url{https://linguistics.univie.ac.at} [last accessed: 27/06/2024]. +If you do not give the optional date argument, no date is printed unless you have specified a general last access date +by means of the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}] +\SetURLDate{<date>} +\end{lstlisting} +% +which takes the same date format as argument. This function might come in handy if you have the same access date +for all, or many, URLs. And it lets you update all URL access dates with a single change. + +For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}. +To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}. + \section{Linguistic examples and glosses} The class automatically loads the \textsf{covington} package which provides macros for examples and glosses. @@ -341,6 +370,15 @@ Templates are provided as well: \section{Release History} \begin{itemize} + \item 2024/07/23 (v.\,2.7) + \begin{itemize} + \item Fix spacing after \jfcsmacro{weblink}. + \item Fix empty argument check in \jfcsmacro{weblink}. + \end{itemize} + \item 2024/06/27 (v.\,2.6) + \begin{itemize} + \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros. + \end{itemize} \item 2024/05/09 (v.\,2.5) \begin{itemize} \item No change to this class. diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.pdf Binary files differindex 4576acd9677..a253d4003ef 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.tex index f67e3f18465..bdd72da44e1 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-handout.tex @@ -63,7 +63,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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle @@ -98,6 +98,7 @@ The following class and packages are required and loaded by \uvlt: \item \textsf{csquotes}: Context sensitive quotations. \item \textsf{graphicx}: Graphic support. \item \textsf{geometry}: Page layout settings. + \item \textsf{isodate}: Format URL dates. \item \textsf{l3keys}: Key-value interface for class options. \item \textsf{translator}: Localization machinery. \item \textsf{url}: Support for typesetting URLs. @@ -305,6 +306,34 @@ You can redefine each of these commands, if needed, like this: \renewcommand*\Meaning[1]{\enquote*{#1}} \end{lstlisting} +\section{Hyperlinks} + +It is good practice to always give last access dates to web links (URLs). To make this easier, +\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you +accessed the site with the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{<URL>}[<date>] +\end{lstlisting} +% +This will format the date in the preferred way (``[last accessed: <date>]''), localized to English or German. +The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g. +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{https://linguistics.univie.ac.at}[27/06/2024] +\end{lstlisting} +% +will print: \url{https://linguistics.univie.ac.at} [last accessed: 27/06/2024]. +If you do not give the optional date argument, no date is printed unless you have specified a general last access date +by means of the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}] +\SetURLDate{<date>} +\end{lstlisting} +% +which takes the same date format as argument. This function might come in handy if you have the same access date +for all, or many, URLs. And it lets you update all URL access dates with a single change. + +For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}. +To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}. + \section{Linguistic examples and glosses} The class automatically loads the \textsf{covington} package which provides macros for examples and glosses. @@ -386,6 +415,15 @@ Templates are provided as well: \section{Release History} \begin{description} + \item 2024/07/23 (v.\,2.7) + \begin{itemize} + \item Fix spacing after \jfcsmacro{weblink}. + \item Fix empty argument check in \jfcsmacro{weblink}. + \end{itemize} + \item 2024/06/27 (v.\,2.6) + \begin{itemize} + \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros. + \end{itemize} \item 2024/05/09 (v.\,2.5) \begin{itemize} \item Add \jcsmacro{hoDate}. diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.pdf Binary files differindex 26aaaabcd50..e04efcd52f7 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex index 773dfdb47d1..d6f5293a898 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-paper.tex @@ -63,7 +63,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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle @@ -99,6 +99,7 @@ The following class and packages are required and loaded by \uvlt: \item \textsf{scrartcl}: KOMA-Script article class (base class). \item \textsf{csquotes}: Context sensitive quotations. \item \textsf{graphicx}: Graphic support. + \item \textsf{isodate}: Format URL dates. \item \textsf{l3keys}: Key-value interface for class options. \item \textsf{scrlayer-scrpage}: Page layout settings. \item \textsf{setspace}: Line spacing adjustments. @@ -308,6 +309,34 @@ You can redefine each of these commands, if needed, like this: \renewcommand*\Meaning[1]{\enquote*{#1}} \end{lstlisting} +\section{Hyperlinks} + +The stylesheet requires you to always give last access dates to web links (URLs). To make this easier, +\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you +accessed the site with the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{<URL>}[<date>] +\end{lstlisting} +% +This will format the date in the preferred way (``[last accessed: <date>]''), localized to English or German. +The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g. +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{https://linguistics.univie.ac.at}[27/06/2024] +\end{lstlisting} +% +will print: \url{https://linguistics.univie.ac.at} [last accessed: 27/06/2024]. +If you do not give the optional date argument, no date is printed unless you have specified a general last access date +by means of the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}] +\SetURLDate{<date>} +\end{lstlisting} +% +which takes the same date format as argument. This function might come in handy if you have the same access date +for all, or many, URLs. And it lets you update all URL access dates with a single change. + +For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}. +To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}. + \section{Linguistic examples and glosses} The class automatically loads the \textsf{covington} package which provides macros for examples and glosses. @@ -382,6 +411,15 @@ Templates are provided as well: \section{Release History} \begin{itemize} + \item 2024/07/23 (v.\,2.7) + \begin{itemize} + \item Fix spacing after \jfcsmacro{weblink}. + \item Fix empty argument check in \jfcsmacro{weblink}. + \end{itemize} + \item 2024/06/27 (v.\,2.6) + \begin{itemize} + \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros. + \end{itemize} \item 2024/05/09 (v.\,2.5) \begin{itemize} \item Implement \joption{short} option. diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.pdf Binary files differindex 391bec0c004..06d64c7638a 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.tex index dcd04b33386..1985658b786 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-poster.tex @@ -65,7 +65,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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle @@ -107,6 +107,7 @@ The following class and packages are required and loaded by \uvlt: \item \textsf{csquotes}: Context sensitive quotations. \item \textsf{graphicx}: Graphic support. \item \textsf{geometry}: Page layout settings. + \item \textsf{isodate}: Format URL dates. \item \textsf{l3keys}: Key-value interface for class options. \item \textsf{translator}: Localization machinery. \item \textsf{url}: Support for typesetting URLs. @@ -207,6 +208,9 @@ The following layout options are available \item{\joption{portrait=true|false}} Set the poster to portrait format (default is landscape). This also adjusts the logo positioning. \item{\joption{scale=<double>}} Scales the contents of the poster. The default is \texttt{1.4}. + \item{\joption{smallmargins=true|false}} By default, and following the corporate design, posters + have a larger left margin that make the poster title and text align with the logo. + If you need more space or do prefer equal left and right margin sizes, set this to true. \end{description} \subsection{Language setting} @@ -406,6 +410,34 @@ Since texts on posters might be larger than usual, the class provides three size (in increasing size): \verb|\veryHuge|, \verb|\VeryHuge|, and \verb|\VERYHuge|. Like the legacy size commands, these are switches. +\section{Hyperlinks} + +It is good practice to always give last access dates to web links (URLs). To make this easier, +\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you +accessed the site with the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{<URL>}[<date>] +\end{lstlisting} +% +This will format the date in the preferred way (``[last accessed: <date>]''), localized to English or German. +The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g. +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{https://linguistics.univie.ac.at}[27/06/2024] +\end{lstlisting} +% +will print: \url{https://linguistics.univie.ac.at} [last accessed: 27/06/2024]. +If you do not give the optional date argument, no date is printed unless you have specified a general last access date +by means of the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}] +\SetURLDate{<date>} +\end{lstlisting} +% +which takes the same date format as argument. This function might come in handy if you have the same access date +for all, or many, URLs. And it lets you update all URL access dates with a single change. + +For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}. +To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}. + \subsection{Linguistic examples and glosses}\label{sec:examples} The class automatically loads the \textsf{covington} package which provides macros for examples and glosses. @@ -545,6 +577,16 @@ Templates are provided as well: \section{Release History} \begin{description} + \item 2024/07/23 (v.\,2.7) + \begin{itemize} + \item Fix spacing after \jfcsmacro{weblink}. + \item Fix empty argument check in \jfcsmacro{weblink}. + \end{itemize} + \item 2024/06/27 (v.\,2.6) + \begin{itemize} + \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros. + \item Add \joption{smallmargins} class option. + \end{itemize} \item 2024/05/09 (v.\,2.5) \begin{itemize} \item Add \verb|\restspace| accessibility helper function. diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.pdf Binary files differindex 199dd750a3a..b77ad97265c 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex index 9b99e1db6ca..2feb157bce8 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle @@ -96,6 +96,7 @@ The following class and packages are required and loaded by \uvlt: \item \textsf{csquotes}: Context sensitive quotations. \item \textsf{geometry}: Page layout settings. \item \textsf{graphicx}: Graphic support. + \item \textsf{isodate}: Format URL dates. \item \textsf{l3keys}: Key-value interface for class options. \item \textsf{scrlayer-scrpage}: Page header settings. \item \textsf{setspace}: Line spacing adjustments. @@ -310,6 +311,34 @@ You can redefine each of these commands, if needed, like this: \renewcommand*\Meaning[1]{\enquote*{#1}} \end{lstlisting} +\section{Hyperlinks} + +The stylesheet requires you to always give last access dates to web links (URLs). To make this easier, +\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you +accessed the site with the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{<URL>}[<date>] +\end{lstlisting} +% +This will format the date in the preferred way (``[last accessed: <date>]''), localized to English or German. +The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g. +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{https://linguistics.univie.ac.at}[27/06/2024] +\end{lstlisting} +% +will print: \url{https://linguistics.univie.ac.at} [last accessed: 27/06/2024]. +If you do not give the optional date argument, no date is printed unless you have specified a general last access date +by means of the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}] +\SetURLDate{<date>} +\end{lstlisting} +% +which takes the same date format as argument. This function might come in handy if you have the same access date +for all, or many, URLs. And it lets you update all URL access dates with a single change. + +For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}. +To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}. + \section{Linguistic examples and glosses} The class automatically loads the \textsf{covington} package which provides macros for examples and glosses. @@ -404,6 +433,16 @@ Templates are provided as well: \section{Release History} \begin{itemize} + \item 2024/07/23 (v.\,2.7) + \begin{itemize} + \item Fix spacing after \jfcsmacro{weblink}. + \item Fix empty argument check in \jfcsmacro{weblink}. + \end{itemize} + \item 2024/06/27 (v.\,2.6) + \begin{itemize} + \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros. + \item Fix running headers in twoside mode. + \end{itemize} \item 2024/05/09 (v.\,2.5) \begin{itemize} \item No change to this class. 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 Binary files differindex c9d37e22218..f2a5a48dc28 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling-wlg.pdf 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 96cf80916f4..6ca75cc0ed0 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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle @@ -219,8 +219,37 @@ You can redefine each of these commands, if needed, like this: \renewcommand*\Concept[1]{\textsc{#1}} \renewcommand*\Meaning[1]{\enquote*{#1}} \end{lstlisting} +% +Furthermore, the class features a \jcsmacro{versal\{<text>\}} macro to typeset capital text and acronyms +(slightly scaled and tracked). + +\section{Hyperlinks} + +The journal stylesheet requires you to always give last access dates to web links (URLs). To make this easier, +\uvlt\ provides a number of convenience macros. To begin with, you can easily enter URLs with the last date you +accessed the site with the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{<URL>}[<date>] +\end{lstlisting} +% +This will format the date in the way preferred by the journal (``[last accessed: <date>]''), localized to English or German. +The argument can be given in the form YYYY-MM-DD, DD/MM/YYYY, or DD.MM.YYYY, e.g. +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={weblink}] +\weblink{https://wlg.univie.ac.at}[27/06/2024] +\end{lstlisting} +% +will print: \url{https://wlg.univie.ac.at} [last accessed: 27/06/2024]. +If you do not give the optional date argument, no date is printed unless you have specified a general last access date +by means of the function +\begin{lstlisting}[language={[LaTeX]TeX},basicstyle={\small\ttfamily},frame=single,morekeywords={SetURLDate}] +\SetURLDate{<date>} +\end{lstlisting} +% +which takes the same date format as argument. This function might come in handy if you have the same access date +for all, or many, URLs. And it lets you update all URL access dates with a single change. -Furthermore, the class features a \jcsmacro{versal\{<text>\}} macro to typeset capital text and acronyms (slightly scaled and tracked). +For hyperlinks without date, you can also use the legacy command \jcsmacro{url\{<URL>\}}. +To output the date information only, you can use the macro \jcsmacro{urldate\{<date>\}}. \section{Linguistic examples and glosses} @@ -234,6 +263,10 @@ If the class option \joption{biblatex=true} is set, the \uvlt\ class loads a bib \emph{Unified Style Sheet for Linguistics} of the LSA (\emph{Linguistic Society of America}). In order to conform to this style, the \uvlt\ class uses the \textsf{biblatex} package with the \textsf{univie-ling} style that is included in the \textsf{univie-ling} bundle. +If, for some reason, you do not want to use \textsf{biblatex} and prefer to have a manually constituted bibliography\footnote{A reason might be that you transform +a paper submitted in a an office file format to \LaTeX.}, use the \texttt{reflist} environment +and separate each entry by a blank line. Since this environment is provided by \textsf{covington}, the \joption{covington} options must not be \joption{false}. + \section{\LyX\ layouts and templates} A layout for \LyX\footnote{See \url{https://www.lyx.org}.}\ can be retrieved from \url{https://github.com/jspitz/univie-ling/raw/master/lyx/layouts/univie-ling-wlg.layout}. @@ -245,6 +278,16 @@ A template is provided as well: \url{https://github.com/jspitz/univie-ling/raw/m \raggedright \begin{itemize} + \item 2024/07/23 (v.\,2.7) + \begin{itemize} + \item Use proper spacing with \textsf{covington}'s \texttt{reflist} environment. + \item Fix spacing after \jfcsmacro{weblink}. + \item Fix empty argument check in \jfcsmacro{weblink}. + \end{itemize} + \item 2024/06/27 (v.\,2.6) + \begin{itemize} + \item Provide \jcsmacro{weblink}, \jcsmacro{SetURLDate} and \jcsmacro{urldate} macros. + \end{itemize} \item 2024/05/09 (v.\,2.5) \begin{itemize} \item Update the editorial structure. diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling.pdf b/Master/texmf-dist/doc/latex/univie-ling/univie-ling.pdf Binary files differindex 057fd5d0ffd..394cddb6923 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling.pdf +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling.pdf diff --git a/Master/texmf-dist/doc/latex/univie-ling/univie-ling.tex b/Master/texmf-dist/doc/latex/univie-ling/univie-ling.tex index 6cc4ac25f88..f88f1fcea48 100644 --- a/Master/texmf-dist/doc/latex/univie-ling/univie-ling.tex +++ b/Master/texmf-dist/doc/latex/univie-ling/univie-ling.tex @@ -42,7 +42,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 2.5, 2024/05/09} +\date{Version 2.7, 2024/07/23} \maketitle |