diff options
Diffstat (limited to 'macros/latex')
-rw-r--r-- | macros/latex/contrib/bangorcsthesis/README | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bangorcsthesis/bangorcsthesis.dtx | 11 | ||||
-rw-r--r-- | macros/latex/contrib/bangorcsthesis/bangorcsthesis.ins | 2 | ||||
-rw-r--r-- | macros/latex/contrib/bangorcsthesis/bangorcsthesis.pdf | bin | 298298 -> 302301 bytes | |||
-rw-r--r-- | macros/latex/contrib/clicks/DEPENDS.txt | 9 | ||||
-rw-r--r-- | macros/latex/contrib/clicks/LICENSE.txt | 2 | ||||
-rw-r--r-- | macros/latex/contrib/clicks/README.md | 12 | ||||
-rw-r--r-- | macros/latex/contrib/clicks/clicks.dtx | 59 | ||||
-rw-r--r-- | macros/latex/contrib/clicks/clicks.ins | 12 | ||||
-rw-r--r-- | macros/latex/contrib/clicks/clicks.pdf | bin | 243984 -> 244368 bytes |
10 files changed, 64 insertions, 45 deletions
diff --git a/macros/latex/contrib/bangorcsthesis/README b/macros/latex/contrib/bangorcsthesis/README index fd7a4f3b0e..f84621277b 100644 --- a/macros/latex/contrib/bangorcsthesis/README +++ b/macros/latex/contrib/bangorcsthesis/README @@ -1,6 +1,6 @@ Bangor University Computer Science Department Thesis Document Class -Cameron Gray <c.gray@bangor.ac.uk> January 28, 2022 +Cameron Gray <c.gray@bangor.ac.uk> December 20, 2024 Abstract diff --git a/macros/latex/contrib/bangorcsthesis/bangorcsthesis.dtx b/macros/latex/contrib/bangorcsthesis/bangorcsthesis.dtx index f6e8e18259..ee56d125b9 100644 --- a/macros/latex/contrib/bangorcsthesis/bangorcsthesis.dtx +++ b/macros/latex/contrib/bangorcsthesis/bangorcsthesis.dtx @@ -53,10 +53,11 @@ %\changes{v1.5.3}{2018/10/05}{Altered School and College names.} %\changes{v1.5.4}{2021/11/12}{Added more Engineering degree types.} %\changes{v1.5.5}{2022/01/28}{Fixed a typo in degree scheme.} +%\changes{v1.5.6}{2024/12/20}{Altered School name.} %\pagestyle{fancy} -%\title{Bangor University Computer Science and Electronic Engineering Department\\ Thesis Document Class} +%\title{Bangor University School of Computer Science and Engineering\\Thesis Document Class} %\author{Cameron Gray \texttt{<c.gray@bangor.ac.uk>}} -%\date{January 28, 2022} +%\date{December 20, 2024} %\maketitle % %\begin{abstract} @@ -267,11 +268,11 @@ % \end{macrocode} %\fi % \begin{macrocode} -\def\version{1.5.5} +\def\version{1.5.6} \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{bangorcsthesis}[2022/01/28 \version C. Gray] +\ProvidesClass{bangorcsthesis}[2024/12/20 \version C. Gray] % Originally inspired by Clean Thesis % - http://cleanthesis.der-ric.de/ @@ -3986,7 +3987,7 @@ singlelinecheck=false % - no centred single-lined captions \centering \scalebox{0.38}{\bangorlogo} \\ - {School of Computer Science and Electronic Engineering \\ + {School of Computer Science and Engineering \\ \vspace{-1.5mm}College of Environmental Sciences and Engineering} \\ \vfill diff --git a/macros/latex/contrib/bangorcsthesis/bangorcsthesis.ins b/macros/latex/contrib/bangorcsthesis/bangorcsthesis.ins index cc4664ec66..6c3feada6c 100644 --- a/macros/latex/contrib/bangorcsthesis/bangorcsthesis.ins +++ b/macros/latex/contrib/bangorcsthesis/bangorcsthesis.ins @@ -3,7 +3,7 @@ \preamble bangorcsthesis.dtx - Copyright 2014-21 Cameron Gray/Bangor University <c.gray@bangor.ac.uk> + Copyright 2014-24 Cameron Gray/Bangor University <c.gray@bangor.ac.uk> This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 diff --git a/macros/latex/contrib/bangorcsthesis/bangorcsthesis.pdf b/macros/latex/contrib/bangorcsthesis/bangorcsthesis.pdf Binary files differindex 708cc73132..834f1dccc1 100644 --- a/macros/latex/contrib/bangorcsthesis/bangorcsthesis.pdf +++ b/macros/latex/contrib/bangorcsthesis/bangorcsthesis.pdf diff --git a/macros/latex/contrib/clicks/DEPENDS.txt b/macros/latex/contrib/clicks/DEPENDS.txt index 406b4071a5..541921e923 100644 --- a/macros/latex/contrib/clicks/DEPENDS.txt +++ b/macros/latex/contrib/clicks/DEPENDS.txt @@ -1,2 +1,9 @@ -hard xkeyval hard etoolbox +hard pgfopts +soft href-ul +soft hypdoc +soft l3build +soft libertine +soft scheme-basic +soft tools +soft xetex diff --git a/macros/latex/contrib/clicks/LICENSE.txt b/macros/latex/contrib/clicks/LICENSE.txt index bd949ffdab..1f211e0287 100644 --- a/macros/latex/contrib/clicks/LICENSE.txt +++ b/macros/latex/contrib/clicks/LICENSE.txt @@ -1,6 +1,6 @@ (The MIT License) -Copyright (c) 2021-2022 Yegor Bugayenko +Copyright (c) 2021-2024 Yegor Bugayenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal diff --git a/macros/latex/contrib/clicks/README.md b/macros/latex/contrib/clicks/README.md index 5357152b3b..02dd5bb6f1 100644 --- a/macros/latex/contrib/clicks/README.md +++ b/macros/latex/contrib/clicks/README.md @@ -1,11 +1,15 @@ +# Rolling Animation in Slides + [![make](https://github.com/yegor256/clicks/actions/workflows/l3build.yml/badge.svg)](https://github.com/yegor256/clicks/actions/workflows/l3build.yml) [![CTAN](https://img.shields.io/ctan/v/clicks)](https://ctan.org/pkg/clicks) [![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/yegor256/clicks/blob/master/LICENSE.txt) -This LaTeX package simulates animiation in slide deck, similar to what PowerPoint can do. +This LaTeX package simulates animiation in slide deck, +similar to what PowerPoint can do. -First, [install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages) -from [CTAN](https://ctan.org/pkg/clicks) +First, +[install it](https://en.wikibooks.org/wiki/LaTeX/Installing_Extra_Packages) +from [CTAN](https://ctan.org/pkg/clicks) and then use in the preamble: ```tex @@ -20,7 +24,7 @@ And then live happily ever after. \end{document} ``` -If you want to contribute yourself, make a fork, then create a branch, +If you want to contribute yourself, make a fork, then create a branch, then run `make` in the root directory. It should compile everything without errors. If not, submit an issue and wait. Otherwise, make your changes and then run `make` again. If the build is diff --git a/macros/latex/contrib/clicks/clicks.dtx b/macros/latex/contrib/clicks/clicks.dtx index d103ee064f..86e71fc746 100644 --- a/macros/latex/contrib/clicks/clicks.dtx +++ b/macros/latex/contrib/clicks/clicks.dtx @@ -1,7 +1,7 @@ % \iffalse meta-comment % (The MIT License) % -% Copyright (c) 2021-2022 Yegor Bugayenko +% Copyright (c) 2021-2024 Yegor Bugayenko % % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the 'Software'), to deal @@ -50,7 +50,7 @@ %<package>\NeedsTeXFormat{LaTeX2e} %<package>\ProvidesPackage{clicks} %<*package> -[2022-10-03 0.4.1 Slide Deck Animation] +[2024/12/20 0.4.2 Slide Deck Animation] %</package> %<*driver> \documentclass{ltxdoc} @@ -139,27 +139,24 @@ % \changes{v0.1.0}{2021/09/13}{Initial version} -% First, we include a few packages: +% First, we parse package options: % \begin{macrocode} -\RequirePackage{xkeyval} -\RequirePackage{etoolbox} -% \end{macrocode} - -% Then, we parse package options: -% \begin{macrocode} -\makeatletter -\newif\ifclicks@static -\DeclareOption{static}{\clicks@statictrue} -\makeatother -\ProcessOptions\relax +\RequirePackage{pgfopts} +\pgfkeys{ + /clicks/.cd, + static/.store in=\clicks@static, +} +\ProcessPgfPackageOptions{/clicks} % \end{macrocode} % Then, we define a few supplementary commands: % \begin{macrocode} -\makeatletter\newcommand*\clicks@body{}\makeatother -\makeatletter\newcommand\clicks@flush{% +\makeatletter +\newcommand*\clicks@body{} +\newcommand\clicks@flush{% \clicks@body\vspace*{0pt}\newpage% -}\makeatother +} +\makeatother % \end{macrocode} % Then, we declare a counter of minutes: @@ -170,38 +167,48 @@ % \begin{macro}{\print} % Then, we define |\print| command: % \begin{macrocode} -\makeatletter\newcommand\print[1]{% - \gappto\clicks@body{{#1\par}}% -}\makeatother +\RequirePackage{etoolbox} +\makeatletter +\newcommand\print[1]{% + \def\param{#1}% + \ifx\param\empty\else% + \gappto\clicks@body{{#1\par}}% + \fi% +} +\makeatother % \end{macrocode} % \end{macro} % \begin{macro}{\flush} % Then, we define |\flush| command: % \begin{macrocode} -\makeatletter\newcommand\flush[1][1]{% +\makeatletter +\newcommand\flush[1][1]{% \ifx\clicks@body\empty\else% \clicks@flush% \renewcommand*\clicks@body{}% \fi% - \ifclicks@static\else% + \ifdefined\clicks@static\else% \addtocounter{minutes}{#1}% \fi% } +\makeatother % \end{macrocode} % \end{macro} % \begin{macro}{\click} % Then, we define |\click| command: % \begin{macrocode} -\makeatletter\newcommand\click[1][0]{% - \ifclicks@static\else% +\makeatletter +\newcommand\click[1][0]{% + \ifdefined\clicks@static\else% \addtocounter{minutes}{#1}% \fi% - \ifclicks@static\else% + \ifdefined\clicks@static\else% \clicks@flush% \fi% -}\makeatother +} +\makeatother % \end{macrocode} % \end{macro} diff --git a/macros/latex/contrib/clicks/clicks.ins b/macros/latex/contrib/clicks/clicks.ins index 28083d43ef..814944c71d 100644 --- a/macros/latex/contrib/clicks/clicks.ins +++ b/macros/latex/contrib/clicks/clicks.ins @@ -1,6 +1,6 @@ %% (The MIT License) %% -%% Copyright (c) 2021-2022 Yegor Bugayenko +%% Copyright (c) 2021-2024 Yegor Bugayenko %% %% Permission is hereby granted, free of charge, to any person obtaining a copy %% of this software and associated documentation files (the 'Software'), to deal @@ -26,7 +26,7 @@ \preamble (The MIT License) -Copyright (c) 2021-2022 Yegor Bugayenko +Copyright (c) 2021-2024 Yegor Bugayenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal @@ -48,8 +48,8 @@ SOFTWARE. \endpreamble \generate{\file{clicks.sty}{\from{clicks.dtx}{package}}} \obeyspaces -\Msg{*** To finish the installation you have to move the ".sty"} -\Msg{*** file into a directory searched by TeX. To produce the} -\Msg{*** documentation run the file ".dtx" through LaTeX. If any} -\Msg{*** questions, submit a new GitHub issue.} +\Msg{To finish the installation you have to move the ".sty"} +\Msg{file into a directory searched by TeX. To produce the} +\Msg{documentation run the file ".dtx" through LaTeX. If any} +\Msg{questions, submit a new GitHub issue.} \endbatchfile diff --git a/macros/latex/contrib/clicks/clicks.pdf b/macros/latex/contrib/clicks/clicks.pdf Binary files differindex 9f26f16493..e7060e4d2b 100644 --- a/macros/latex/contrib/clicks/clicks.pdf +++ b/macros/latex/contrib/clicks/clicks.pdf |