build: use generic release-please action

This commit is contained in:
Johan Larsson 2024-01-12 14:38:53 +01:00
parent b539124997
commit 34824cd53b
6 changed files with 89 additions and 99 deletions

View File

@ -12,7 +12,7 @@
% \iffalse % \iffalse
%<*package> %<*package>
\NeedsTeXFormat{LaTeX2e} \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
%</package> %</package>
% \fi % \fi
% \CheckSum{0} % \CheckSum{0}

View File

@ -12,7 +12,7 @@
% \iffalse % \iffalse
%<*package> %<*package>
\NeedsTeXFormat{LaTeX2e} \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
%</package> %</package>
% \fi % \fi
% \CheckSum{0} % \CheckSum{0}
@ -39,33 +39,23 @@
% \subsubsection{General font definitions} % \subsubsection{General font definitions}
% %
% \begin{macrocode} % \begin{macrocode}
\setbeamerfont{title}{size=\Large,% \setbeamerfont{title}{size=\Large, series=\bfseries}
series=\bfseries}
\setbeamerfont{author}{size=\small} \setbeamerfont{author}{size=\small}
\setbeamerfont{date}{size=\small} \setbeamerfont{date}{size=\small}
\setbeamerfont{section title}{size=\Large,% \setbeamerfont{section title}{size=\Large, series=\bfseries}
series=\bfseries} \setbeamerfont{block title}{size=\normalsize, series=\bfseries}
\setbeamerfont{block title}{size=\normalsize,% \setbeamerfont{block title alerted}{size=\normalsize, series=\bfseries}
series=\bfseries}
\setbeamerfont{block title alerted}{size=\normalsize,%
series=\bfseries}
\setbeamerfont*{subtitle}{size=\large} \setbeamerfont*{subtitle}{size=\large}
\setbeamerfont{frametitle}{size=\large,% \setbeamerfont{frametitle}{size=\large, series=\bfseries}
series=\bfseries}
\setbeamerfont{caption}{size=\small} \setbeamerfont{caption}{size=\small}
\setbeamerfont{caption name}{series=\bfseries} \setbeamerfont{caption name}{series=\bfseries}
\setbeamerfont{description item}{series=\bfseries} \setbeamerfont{description item}{series=\bfseries}
\setbeamerfont{page number in head/foot}{size=\scriptsize} \setbeamerfont{page number in head/foot}{size=\scriptsize}
\setbeamerfont{bibliography entry author}{size=\normalsize,% \setbeamerfont{bibliography entry author}{size=\normalsize, series=\normalfont}
series=\normalfont} \setbeamerfont{bibliography entry title}{size=\normalsize, series=\bfseries}
\setbeamerfont{bibliography entry title}{size=\normalsize,% \setbeamerfont{bibliography entry location}{size=\normalsize, series=\normalfont}
series=\bfseries} \setbeamerfont{bibliography entry note}{size=\small, series=\normalfont}
\setbeamerfont{bibliography entry location}{size=\normalsize,% \setbeamerfont{standout}{size=\Large, series=\bfseries}
series=\normalfont}
\setbeamerfont{bibliography entry note}{size=\small,%
series=\normalfont}
\setbeamerfont{standout}{size=\Large,%
series=\bfseries}
% \end{macrocode} % \end{macrocode}
% %
% %
@ -77,23 +67,23 @@
% \begin{macrocode} % \begin{macrocode}
\pgfkeys{ \pgfkeys{
/moloch/font/titleformat title/.cd, /moloch/font/titleformat title/.cd,
.is choice, .is choice,
regular/.code={% regular/.code={%
\let\moloch@titleformat\@empty% \let\moloch@titleformat\@empty%
\setbeamerfont{title}{shape=\normalfont}% \setbeamerfont{title}{shape=\normalfont}%
}, },
smallcaps/.code={% smallcaps/.code={%
\let\moloch@titleformat\@empty% \let\moloch@titleformat\@empty%
\setbeamerfont{title}{shape=\scshape}% \setbeamerfont{title}{shape=\scshape}%
}, },
allsmallcaps/.code={% allsmallcaps/.code={%
\let\moloch@titleformat\lowercase% \let\moloch@titleformat\lowercase%
\setbeamerfont{title}{shape=\scshape}% \setbeamerfont{title}{shape=\scshape}%
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
Be aware that titleformat title=allsmallcaps can lead to problems% Be aware that titleformat title=allsmallcaps can lead to problems%
} }
}, },
allcaps/.code={% allcaps/.code={%
\let\moloch@titleformat\uppercase% \let\moloch@titleformat\uppercase%
\setbeamerfont{title}{shape=\normalfont} \setbeamerfont{title}{shape=\normalfont}
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
@ -109,23 +99,23 @@
% \begin{macrocode} % \begin{macrocode}
\pgfkeys{ \pgfkeys{
/moloch/font/titleformat subtitle/.cd, /moloch/font/titleformat subtitle/.cd,
.is choice, .is choice,
regular/.code={% regular/.code={%
\let\moloch@subtitleformat\@empty% \let\moloch@subtitleformat\@empty%
\setbeamerfont{subtitle}{shape=\normalfont}% \setbeamerfont{subtitle}{shape=\normalfont}%
}, },
smallcaps/.code={% smallcaps/.code={%
\let\moloch@subtitleformat\@empty% \let\moloch@subtitleformat\@empty%
\setbeamerfont{subtitle}{shape=\scshape}% \setbeamerfont{subtitle}{shape=\scshape}%
}, },
allsmallcaps/.code={% allsmallcaps/.code={%
\let\moloch@subtitleformat\lowercase% \let\moloch@subtitleformat\lowercase%
\setbeamerfont{subtitle}{shape=\scshape}% \setbeamerfont{subtitle}{shape=\scshape}%
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
Be aware that titleformat subtitle=allsmallcaps can lead to problems% Be aware that titleformat subtitle=allsmallcaps can lead to problems%
} }
}, },
allcaps/.code={% allcaps/.code={%
\let\moloch@subtitleformat\uppercase% \let\moloch@subtitleformat\uppercase%
\setbeamerfont{subtitle}{shape=\normalfont}% \setbeamerfont{subtitle}{shape=\normalfont}%
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
@ -141,23 +131,23 @@
% \begin{macrocode} % \begin{macrocode}
\pgfkeys{ \pgfkeys{
/moloch/font/titleformat section/.cd, /moloch/font/titleformat section/.cd,
.is choice, .is choice,
regular/.code={% regular/.code={%
\let\moloch@sectiontitleformat\@empty% \let\moloch@sectiontitleformat\@empty%
\setbeamerfont{section title}{shape=\normalfont}% \setbeamerfont{section title}{shape=\normalfont}%
}, },
smallcaps/.code={% smallcaps/.code={%
\let\moloch@sectiontitleformat\@empty% \let\moloch@sectiontitleformat\@empty%
\setbeamerfont{section title}{shape=\scshape}% \setbeamerfont{section title}{shape=\scshape}%
}, },
allsmallcaps/.code={% allsmallcaps/.code={%
\let\moloch@sectiontitleformat\MakeLowercase% \let\moloch@sectiontitleformat\MakeLowercase%
\setbeamerfont{section title}{shape=\scshape}% \setbeamerfont{section title}{shape=\scshape}%
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
Be aware that titleformat section=allsmallcaps can lead to problems% Be aware that titleformat section=allsmallcaps can lead to problems%
} }
}, },
allcaps/.code={% allcaps/.code={%
\let\moloch@sectiontitleformat\MakeUppercase% \let\moloch@sectiontitleformat\MakeUppercase%
\setbeamerfont{section title}{shape=\normalfont}% \setbeamerfont{section title}{shape=\normalfont}%
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
@ -173,23 +163,23 @@
% \begin{macrocode} % \begin{macrocode}
\pgfkeys{ \pgfkeys{
/moloch/font/titleformat frame/.cd, /moloch/font/titleformat frame/.cd,
.is choice, .is choice,
regular/.code={% regular/.code={%
\let\moloch@frametitleformat\@empty% \let\moloch@frametitleformat\@empty%
\setbeamerfont{frametitle}{shape=\normalfont}% \setbeamerfont{frametitle}{shape=\normalfont}%
}, },
smallcaps/.code={% smallcaps/.code={%
\let\moloch@frametitleformat\@empty% \let\moloch@frametitleformat\@empty%
\setbeamerfont{frametitle}{shape=\scshape}% \setbeamerfont{frametitle}{shape=\scshape}%
}, },
allsmallcaps/.code={% allsmallcaps/.code={%
\let\moloch@frametitleformat\MakeLowercase% \let\moloch@frametitleformat\MakeLowercase%
\setbeamerfont{frametitle}{shape=\scshape}% \setbeamerfont{frametitle}{shape=\scshape}%
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
Be aware that titleformat frame=allsmallcaps can lead to problems% Be aware that titleformat frame=allsmallcaps can lead to problems%
} }
}, },
allcaps/.code={% allcaps/.code={%
\let\moloch@frametitleformat\MakeUppercase% \let\moloch@frametitleformat\MakeUppercase%
\setbeamerfont{frametitle}{shape=\normalfont} \setbeamerfont{frametitle}{shape=\normalfont}
\PackageWarning{beamerthememoloch}{% \PackageWarning{beamerthememoloch}{%
@ -245,61 +235,61 @@
% %
% \begin{macrocode} % \begin{macrocode}
\patchcmd{\beamer@title}% \patchcmd{\beamer@title}%
{\def\inserttitle{#2}}% {\def\inserttitle{#2}}%
{\def\inserttitle{\moloch@titleformat{#2}}}% {\def\inserttitle{\moloch@titleformat{#2}}}%
{}% {}%
{\PackageError{beamerfontthememoloch}{Patching title failed}\@ehc} {\PackageError{beamerfontthememoloch}{Patching title failed}\@ehc}
\patchcmd{\beamer@subtitle}% \patchcmd{\beamer@subtitle}%
{\def\insertsubtitle{#2}}% {\def\insertsubtitle{#2}}%
{\def\insertsubtitle{\moloch@subtitleformat{#2}}}% {\def\insertsubtitle{\moloch@subtitleformat{#2}}}%
{}% {}%
{\PackageError{beamerfontthememoloch}{Patching subtitle failed}\@ehc} {\PackageError{beamerfontthememoloch}{Patching subtitle failed}\@ehc}
\patchcmd{\sectionentry} \patchcmd{\sectionentry}
{\def\insertsectionhead{#2}} {\def\insertsectionhead{#2}}
{\def\insertsectionhead{\moloch@sectiontitleformat{#2}}} {\def\insertsectionhead{\moloch@sectiontitleformat{#2}}}
{} {}
{\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc} {\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc}
\@tempswafalse \@tempswafalse
\patchcmd{\beamer@section} \patchcmd{\beamer@section}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} {\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
{\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% {\edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}} \noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}}
{\@tempswatrue} {\@tempswatrue}
{} {}
\patchcmd{\beamer@section} \patchcmd{\beamer@section}
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
{\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{% {\def\insertsectionhead{\hyperlink{Navigation\the\c@page}{%
\moloch@sectiontitleformat{#1}}}} \moloch@sectiontitleformat{#1}}}}
{\@tempswatrue} {\@tempswatrue}
{} {}
\patchcmd{\beamer@section} \patchcmd{\beamer@section}
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} {\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
{\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% {\protected@edef\insertsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{#1}}}} \noexpand\moloch@sectiontitleformat{#1}}}}
{\@tempswatrue} {\@tempswatrue}
{} {}
\if@tempswa\else \if@tempswa\else
\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc \PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc
\fi \fi
\@tempswafalse \@tempswafalse
\patchcmd{\beamer@subsection} \patchcmd{\beamer@subsection}
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}} {\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{\unexpanded{#1}}}}
{\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% {\edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}} \noexpand\moloch@sectiontitleformat{\unexpanded{#1}}}}}
{\@tempswatrue} {\@tempswatrue}
{} {}
\patchcmd{\beamer@subsection} \patchcmd{\beamer@subsection}
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}} {\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{#1}}}
{\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{% {\def\insertsubsectionhead{\hyperlink{Navigation\the\c@page}{%
\moloch@sectiontitleformat{#1}}}} \moloch@sectiontitleformat{#1}}}}
{\@tempswatrue} {\@tempswatrue}
{} {}
\patchcmd{\beamer@subsection} \patchcmd{\beamer@subsection}
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}} {\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{#1}}}
{\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{% {\protected@edef\insertsubsectionhead{\noexpand\hyperlink{Navigation\the\c@page}{%
\noexpand\moloch@sectiontitleformat{#1}}}} \noexpand\moloch@sectiontitleformat{#1}}}}
{\@tempswatrue} {\@tempswatrue}
{} {}
\if@tempswa\else \if@tempswa\else
\PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc \PackageError{beamerfontthememoloch}{Patching section title failed}\@ehc
\fi \fi
@ -310,21 +300,21 @@
% %
% \begin{macrocode} % \begin{macrocode}
\patchcmd{\beamer@@frametitle} \patchcmd{\beamer@@frametitle}
{{% {{%
\gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space% \gdef\insertframetitle{{#2\ifnum\beamer@autobreakcount>0\relax{}\space%
\usebeamertemplate*{frametitle continuation}\fi}}% \usebeamertemplate*{frametitle continuation}\fi}}%
\gdef\beamer@frametitle{#2}% \gdef\beamer@frametitle{#2}%
\gdef\beamer@shortframetitle{#1}% \gdef\beamer@shortframetitle{#1}%
}} }}
{{% {{%
\gdef\insertframetitle{{\moloch@frametitleformat{#2}\ifnum% \gdef\insertframetitle{{\moloch@frametitleformat{#2}\ifnum%
\beamer@autobreakcount>0\relax{}\space% \beamer@autobreakcount>0\relax{}\space%
\usebeamertemplate*{frametitle continuation}\fi}}% \usebeamertemplate*{frametitle continuation}\fi}}%
\gdef\beamer@frametitle{#2}% \gdef\beamer@frametitle{#2}%
\gdef\beamer@shortframetitle{#1}% \gdef\beamer@shortframetitle{#1}%
}} }}
{} {}
{\PackageError{beamerfontthememoloch}{Patching frame title failed}\@ehc} {\PackageError{beamerfontthememoloch}{Patching frame title failed}\@ehc}
% \end{macrocode} % \end{macrocode}
% %
% %

View File

@ -12,7 +12,7 @@
% \iffalse % \iffalse
%<*package> %<*package>
\NeedsTeXFormat{LaTeX2e} \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
%</package> %</package>
% \fi % \fi
% \CheckSum{0} % \CheckSum{0}

View File

@ -12,7 +12,7 @@
% \iffalse % \iffalse
%<*package> %<*package>
\NeedsTeXFormat{LaTeX2e} \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
%</package> %</package>
% \fi % \fi
% \CheckSum{0} % \CheckSum{0}

View File

@ -12,7 +12,7 @@
% \iffalse % \iffalse
%<*package> %<*package>
\NeedsTeXFormat{LaTeX2e} \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
%</package> %</package>
% \fi % \fi
% \CheckSum{0} % \CheckSum{0}

View File

@ -15,7 +15,7 @@
%<driver> \ProvidesFile{pgfplotsthemetol.dtx} %<driver> \ProvidesFile{pgfplotsthemetol.dtx}
%<*package> %<*package>
\NeedsTeXFormat{LaTeX2e} \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
%</package> %</package>
%<driver> \documentclass{ltxdoc} %<driver> \documentclass{ltxdoc}
%<driver> \usepackage{pgfplotsthemetol} %<driver> \usepackage{pgfplotsthemetol}