From 34824cd53b9836b5d001883cc5eec74445dc8b5c Mon Sep 17 00:00:00 2001 From: Johan Larsson Date: Fri, 12 Jan 2024 14:38:53 +0100 Subject: [PATCH] build: use generic release-please action --- src/beamercolorthememoloch.dtx | 2 +- src/beamerfontthememoloch.dtx | 178 ++++++++++++++++----------------- src/beamerinnerthememoloch.dtx | 2 +- src/beamerouterthememoloch.dtx | 2 +- src/beamerthememoloch.dtx | 2 +- src/pgfplotsthemetol.dtx | 2 +- 6 files changed, 89 insertions(+), 99 deletions(-) diff --git a/src/beamercolorthememoloch.dtx b/src/beamercolorthememoloch.dtx index d549ca6..b40ad0b 100644 --- a/src/beamercolorthememoloch.dtx +++ b/src/beamercolorthememoloch.dtx @@ -12,7 +12,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamercolorthememoloch}[2017/01/23 Moloch color theme] +\ProvidesPackage{beamercolorthememoloch}[2017/01/23 v0.1.0 Moloch color theme] % x-release-please-version % % \fi % \CheckSum{0} diff --git a/src/beamerfontthememoloch.dtx b/src/beamerfontthememoloch.dtx index 7e225b8..42e682a 100644 --- a/src/beamerfontthememoloch.dtx +++ b/src/beamerfontthememoloch.dtx @@ -12,7 +12,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerfontthememoloch}[2017/01/23 Moloch font theme] +\ProvidesPackage{beamerfontthememoloch}[2017/01/23 v0.1.0 Moloch font theme] % x-release-please-version % % \fi % \CheckSum{0} @@ -39,33 +39,23 @@ % \subsubsection{General font definitions} % % \begin{macrocode} -\setbeamerfont{title}{size=\Large,% - series=\bfseries} +\setbeamerfont{title}{size=\Large, series=\bfseries} \setbeamerfont{author}{size=\small} \setbeamerfont{date}{size=\small} -\setbeamerfont{section title}{size=\Large,% - series=\bfseries} -\setbeamerfont{block title}{size=\normalsize,% - series=\bfseries} -\setbeamerfont{block title alerted}{size=\normalsize,% - series=\bfseries} +\setbeamerfont{section title}{size=\Large, series=\bfseries} +\setbeamerfont{block title}{size=\normalsize, series=\bfseries} +\setbeamerfont{block title alerted}{size=\normalsize, series=\bfseries} \setbeamerfont*{subtitle}{size=\large} -\setbeamerfont{frametitle}{size=\large,% - series=\bfseries} +\setbeamerfont{frametitle}{size=\large, series=\bfseries} \setbeamerfont{caption}{size=\small} \setbeamerfont{caption name}{series=\bfseries} \setbeamerfont{description item}{series=\bfseries} \setbeamerfont{page number in head/foot}{size=\scriptsize} -\setbeamerfont{bibliography entry author}{size=\normalsize,% - series=\normalfont} -\setbeamerfont{bibliography entry title}{size=\normalsize,% - series=\bfseries} -\setbeamerfont{bibliography entry location}{size=\normalsize,% - series=\normalfont} -\setbeamerfont{bibliography entry note}{size=\small,% - series=\normalfont} -\setbeamerfont{standout}{size=\Large,% - series=\bfseries} +\setbeamerfont{bibliography entry author}{size=\normalsize, series=\normalfont} +\setbeamerfont{bibliography entry title}{size=\normalsize, series=\bfseries} +\setbeamerfont{bibliography entry location}{size=\normalsize, series=\normalfont} +\setbeamerfont{bibliography entry note}{size=\small, series=\normalfont} +\setbeamerfont{standout}{size=\Large, series=\bfseries} % \end{macrocode} % % @@ -77,23 +67,23 @@ % \begin{macrocode} \pgfkeys{ /moloch/font/titleformat title/.cd, - .is choice, - regular/.code={% + .is choice, + regular/.code={% \let\moloch@titleformat\@empty% \setbeamerfont{title}{shape=\normalfont}% }, - smallcaps/.code={% + smallcaps/.code={% \let\moloch@titleformat\@empty% \setbeamerfont{title}{shape=\scshape}% }, - allsmallcaps/.code={% + allsmallcaps/.code={% \let\moloch@titleformat\lowercase% \setbeamerfont{title}{shape=\scshape}% \PackageWarning{beamerthememoloch}{% Be aware that titleformat title=allsmallcaps can lead to problems% } }, - allcaps/.code={% + allcaps/.code={% \let\moloch@titleformat\uppercase% \setbeamerfont{title}{shape=\normalfont} \PackageWarning{beamerthememoloch}{% @@ -109,23 +99,23 @@ % \begin{macrocode} \pgfkeys{ /moloch/font/titleformat subtitle/.cd, - .is choice, - regular/.code={% + .is choice, + regular/.code={% \let\moloch@subtitleformat\@empty% \setbeamerfont{subtitle}{shape=\normalfont}% }, - smallcaps/.code={% + smallcaps/.code={% \let\moloch@subtitleformat\@empty% \setbeamerfont{subtitle}{shape=\scshape}% }, - allsmallcaps/.code={% + allsmallcaps/.code={% \let\moloch@subtitleformat\lowercase% \setbeamerfont{subtitle}{shape=\scshape}% \PackageWarning{beamerthememoloch}{% Be aware that titleformat subtitle=allsmallcaps can lead to problems% } }, - allcaps/.code={% + allcaps/.code={% \let\moloch@subtitleformat\uppercase% \setbeamerfont{subtitle}{shape=\normalfont}% \PackageWarning{beamerthememoloch}{% @@ -141,23 +131,23 @@ % \begin{macrocode} \pgfkeys{ /moloch/font/titleformat section/.cd, - .is choice, - regular/.code={% + .is choice, + regular/.code={% \let\moloch@sectiontitleformat\@empty% \setbeamerfont{section title}{shape=\normalfont}% }, - smallcaps/.code={% + smallcaps/.code={% \let\moloch@sectiontitleformat\@empty% \setbeamerfont{section title}{shape=\scshape}% }, - allsmallcaps/.code={% + allsmallcaps/.code={% \let\moloch@sectiontitleformat\MakeLowercase% \setbeamerfont{section title}{shape=\scshape}% \PackageWarning{beamerthememoloch}{% Be aware that titleformat section=allsmallcaps can lead to problems% } }, - allcaps/.code={% + allcaps/.code={% \let\moloch@sectiontitleformat\MakeUppercase% \setbeamerfont{section title}{shape=\normalfont}% \PackageWarning{beamerthememoloch}{% @@ -173,23 +163,23 @@ % \begin{macrocode} \pgfkeys{ /moloch/font/titleformat frame/.cd, - .is choice, - regular/.code={% + .is choice, + regular/.code={% \let\moloch@frametitleformat\@empty% \setbeamerfont{frametitle}{shape=\normalfont}% }, - smallcaps/.code={% + smallcaps/.code={% \let\moloch@frametitleformat\@empty% \setbeamerfont{frametitle}{shape=\scshape}% }, - allsmallcaps/.code={% + allsmallcaps/.code={% \let\moloch@frametitleformat\MakeLowercase% \setbeamerfont{frametitle}{shape=\scshape}% \PackageWarning{beamerthememoloch}{% Be aware that titleformat frame=allsmallcaps can lead to problems% } }, - allcaps/.code={% + allcaps/.code={% \let\moloch@frametitleformat\MakeUppercase% \setbeamerfont{frametitle}{shape=\normalfont} \PackageWarning{beamerthememoloch}{% @@ -245,61 +235,61 @@ % % \begin{macrocode} \patchcmd{\beamer@title}% - {\def\inserttitle{#2}}% - {\def\inserttitle{\moloch@titleformat{#2}}}% - {}% - {\PackageError{beamerfontthememoloch}{Patching title failed}\@ehc} +{\def\inserttitle{#2}}% +{\def\inserttitle{\moloch@titleformat{#2}}}% +{}% +{\PackageError{beamerfontthememoloch}{Patching title failed}\@ehc} \patchcmd{\beamer@subtitle}% - {\def\insertsubtitle{#2}}% - {\def\insertsubtitle{\moloch@subtitleformat{#2}}}% - {}% - {\PackageError{beamerfontthememoloch}{Patching subtitle failed}\@ehc} +{\def\insertsubtitle{#2}}% +{\def\insertsubtitle{\moloch@subtitleformat{#2}}}% +{}% +{\PackageError{beamerfontthememoloch}{Patching subtitle failed}\@ehc} \patchcmd{\sectionentry} - {\def\insertsectionhead{#2}} - {\def\insertsectionhead{\moloch@sectiontitleformat{#2}}} - {} - {\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc} +{\def\insertsectionhead{#2}} +{\def\insertsectionhead{\moloch@sectiontitleformat{#2}}} +{} +{\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc} \@tempswafalse \patchcmd{\beamer@section} - {\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} - {\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}} - {\@tempswatrue} - {} +{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} +{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% + \noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@section} - {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} - {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{% - \moloch@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} +{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{% + \moloch@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@section} - {\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} - {\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\moloch@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} +{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% + \noexpand\moloch@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \if@tempswa\else \PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc \fi \@tempswafalse \patchcmd{\beamer@subsection} - {\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} - {\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}} - {\@tempswatrue} - {} +{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} +{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% + \noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@subsection} - {\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} - {\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{% - \moloch@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} +{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{% + \moloch@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \patchcmd{\beamer@subsection} - {\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} - {\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% - \noexpand\moloch@sectiontitleformat{#1}}}} - {\@tempswatrue} - {} +{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} +{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% + \noexpand\moloch@sectiontitleformat{#1}}}} +{\@tempswatrue} +{} \if@tempswa\else \PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc \fi @@ -310,21 +300,21 @@ % % \begin{macrocode} \patchcmd{\beamer@@frametitle} - {{% +{{% \gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space% - \usebeamertemplate*{frametitle continuation}\fi}}% - \gdef\beamer@frametitle{#2}% - \gdef\beamer@shortframetitle{#1}% + \usebeamertemplate*{frametitle continuation}\fi}}% + \gdef\beamer@frametitle{#2}% + \gdef\beamer@shortframetitle{#1}% }} - {{% +{{% \gdef\insertframetitle{{\moloch@frametitleformat{#2}\ifnum% - \beamer@autobreakcount>0\relax{}\space% - \usebeamertemplate*{frametitle continuation}\fi}}% - \gdef\beamer@frametitle{#2}% - \gdef\beamer@shortframetitle{#1}% + \beamer@autobreakcount>0\relax{}\space% + \usebeamertemplate*{frametitle continuation}\fi}}% + \gdef\beamer@frametitle{#2}% + \gdef\beamer@shortframetitle{#1}% }} - {} - {\PackageError{beamerfontthememoloch}{Patching frame title failed}\@ehc} +{} +{\PackageError{beamerfontthememoloch}{Patching frame title failed}\@ehc} % \end{macrocode} % % diff --git a/src/beamerinnerthememoloch.dtx b/src/beamerinnerthememoloch.dtx index 3fc8185..f21a91b 100644 --- a/src/beamerinnerthememoloch.dtx +++ b/src/beamerinnerthememoloch.dtx @@ -12,7 +12,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerinnerthememoloch}[2017/01/23 Moloch inner theme] +\ProvidesPackage{beamerinnerthememoloch}[2017/01/23 v0.1.0 Moloch inner theme] % x-release-please-version % % \fi % \CheckSum{0} diff --git a/src/beamerouterthememoloch.dtx b/src/beamerouterthememoloch.dtx index 273a4e4..c02e5db 100644 --- a/src/beamerouterthememoloch.dtx +++ b/src/beamerouterthememoloch.dtx @@ -12,7 +12,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerouterthememoloch}[2017/01/23 Moloch outer theme] +\ProvidesPackage{beamerouterthememoloch}[2017/01/23 v0.1.0 Moloch outer theme] % x-release-please-version % % \fi % \CheckSum{0} diff --git a/src/beamerthememoloch.dtx b/src/beamerthememoloch.dtx index a924e81..fc5bdc6 100644 --- a/src/beamerthememoloch.dtx +++ b/src/beamerthememoloch.dtx @@ -12,7 +12,7 @@ % \iffalse %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{beamerthememoloch}[2017/01/23 v1.2 Moloch Beamer theme] +\ProvidesPackage{beamerthememoloch}[2017/01/23 v0.1.0 Moloch Beamer theme] % x-release-please-version % % \fi % \CheckSum{0} diff --git a/src/pgfplotsthemetol.dtx b/src/pgfplotsthemetol.dtx index 109c61b..4965b0a 100644 --- a/src/pgfplotsthemetol.dtx +++ b/src/pgfplotsthemetol.dtx @@ -15,7 +15,7 @@ % \ProvidesFile{pgfplotsthemetol.dtx} %<*package> \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pgfplotsthemetol}[2017/01/23 PGFplots colors based on Paul Tol's SRON technical note] +\ProvidesPackage{pgfplotsthemetol}[2017/01/23 v0.1.0 PGFplots colors based on Paul Tol's SRON technical note] % x-release-please-version % % \documentclass{ltxdoc} % \usepackage{pgfplotsthemetol}