diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/univie-ling/univie-ling-thesis.tex | 41 |
1 files changed, 40 insertions, 1 deletions
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. |