texlive[73705] Master/texmf-dist: beamertheme-tcolorbox (2feb25)

commits+karl at tug.org commits+karl at tug.org
Sun Feb 2 22:00:24 CET 2025


Revision: 73705
          https://tug.org/svn/texlive?view=revision&revision=73705
Author:   karl
Date:     2025-02-02 22:00:23 +0100 (Sun, 02 Feb 2025)
Log Message:
-----------
beamertheme-tcolorbox (2feb25)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc-settings.sty
    trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf
    trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex
    trunk/Master/texmf-dist/tex/latex/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc-settings.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc-settings.sty	2025-02-02 21:00:14 UTC (rev 73704)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc-settings.sty	2025-02-02 21:00:23 UTC (rev 73705)
@@ -61,6 +61,7 @@
   \RequirePackage{footnotehyper}
   \makesavenoteenv{tcolorbox}
   \RequirePackage[all]{nowidow}
+  \RequirePackage[hyphens]{url}
   \RequirePackage[colorlinks=true,breaklinks=true,allcolors=themecolor,hyperfootnotes=false]{hyperref}
 }
 \RequirePackage[T1]{fontenc}
@@ -68,8 +69,8 @@
 \RequirePackage{inconsolata}% mono font with bold, but italic is missing
 % \RequirePackage[scale=0.85]{cascadia-code}
 % \AddToHook{cmd/ttfamily/before}{\fontseries{sl}}
-\RequirePackage{iexec}
-\usepackage{synthslant}% to fake slented comments in inconsolata
+\RequirePackage{synthslant}% to fake slanted comments in inconsolata
+\RequirePackage{metalogox}% should be loaded after the fonts
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -76,60 +77,20 @@
 % Listings
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\RequirePackage[
-  cachedir=$TMPDIR/minted/
-]{minted}
+\RequirePackage[cachedir=./.minted]{minted}
 
-% smuggling custom pygmentize style in cache folder
-% (a real pygmentise style would need installtion in some python folder)
-\begin{filecontents*}[noheader,overwrite]{./sam.pygstyle}
-\makeatletter
-\def\PYG at reset{\let\PYG at it=\relax \let\PYG at bf=\relax%
-    \let\PYG at ul=\relax \let\PYG at tc=\relax%
-    \let\PYG at bc=\relax \let\PYG at ff=\relax}
-\def\PYG at tok#1{\csname PYG at tok@#1\endcsname}
-\def\PYG at toks#1+{\ifx\relax#1\empty\else%
-    \PYG at tok{#1}\expandafter\PYG at toks\fi}
-\def\PYG at do#1{\PYG at bc{\PYG at tc{\PYG at ul{%
-    \PYG at it{\PYG at bf{\PYG at ff{#1}}}}}}}
-\def\PYG#1#2{\PYG at reset\PYG at toks#1+\relax+\PYG at do{#2}}
+\AddToHook{env/MintedVerbatim/before}{%
+  % optional arguments
+  \@namedef{PYG at tok@na}{\def\PYG at tc##1{\textcolor{black}{##1}}}%
+  % macros
+  \@namedef{PYG at tok@k}{\def\PYG at tc##1{\textcolor{listingcolor}{\bfseries ##1}}}%
+  % curly brackets
+  \@namedef{PYG at tok@nb}{\def\PYG at tc##1{\textcolor{listingcolor}{\bfseries ##1}}}%
+  % comments (italics won't work with the inconsolata font)
+  \@namedef{PYG at tok@c}{\def\PYG at tc##1{\textcolor{gray}{\textsynthslant{##1}}}}%
+}
 
-% optional arguments
-\expandafter\def\csname PYG at tok@na\endcsname{\def\PYG at tc##1{\textcolor{black}{##1}}}
-
-% macros
-\expandafter\def\csname PYG at tok@k\endcsname{\def\PYG at tc##1{\textcolor{listingcolor}{\bfseries ##1}}}
-% curly brakets
-\expandafter\def\csname PYG at tok@nb\endcsname{\def\PYG at tc##1{\textcolor{listingcolor}{\bfseries ##1}}}
-
-% comments (italics won't work with the inconsolata font)
-\expandafter\def\csname PYG at tok@c\endcsname{\def\PYG at tc##1{\textcolor{gray}{\textsynthslant{##1}}}}
-
-\def\PYGZbs{\char`\\}
-\def\PYGZus{\char`\_}
-\def\PYGZob{\char`\{}
-\def\PYGZcb{\char`\}}
-\def\PYGZca{\char`\^}
-\def\PYGZam{\char`\&}
-\def\PYGZlt{\char`\<}
-\def\PYGZgt{\char`\>}
-\def\PYGZsh{\char`\#}
-\def\PYGZpc{\char`\%}
-\def\PYGZdl{\char`\$}
-\def\PYGZhy{\char`\-}
-\def\PYGZsq{\char`\'}
-\def\PYGZdq{\char`\"}
-\def\PYGZti{\char`\~}
-% for compatibility with earlier versions
-\def\PYGZat{@}
-\def\PYGZlb{[}
-\def\PYGZrb{]}
-\makeatother
-\end{filecontents*}
-
-\iexec{mkdir -p $TMPDIR/minted && mv sam.pygstyle $TMPDIR/minted/.}
-
-\usemintedstyle{sam}
+\usemintedstyle{default}
 \setminted{
   breaksymbolleft={},
   tabsize=2,
@@ -197,4 +158,21 @@
 \providecommand*{\tikzducks}{Ti\emph{k}Zducks\xspace}
 \providecommand*{\tikzlings}{Ti\emph{k}Zlings\xspace}
 \providecommand*{\tikzmarmots}{Ti\emph{k}Zmarmots\xspace}
-\providecommand*{\ConTeXt}{C\kern-.0333emon\-\kern-.0667em\TeX\kern-.0333emt}
\ No newline at end of file
+\providecommand*{\ConTeXt}{C\kern-.0333emon\-\kern-.0667em\TeX\kern-.0333emt}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Doc blurb
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\newcommand{\packagename}[1]{\def\@packagename{#1}}
+
+\NewDocumentCommand\blurb{s}{%
+  This package is work in progress, therefore I would be happy to hear your feedback and ideas how to improve the package. The development version of the source code can be found at  \url{https://github.com/samcarter/\@packagename}, including an issue tracker.
+  \IfBooleanF#1{%
+    A more stable version of the package can be found on \CTAN (\url{https://ctan.org/pkg/\@packagename}) and is included in both \texlive and \miktex as \texttt{\@packagename}.
+  }%
+  If you seek any other assistance (not bug reports/feature requests), I suggest asking at \url{https://topanswers.xyz/tex}.
+
+  Copyright {\footnotesize\textcopyright} \texttt{samcarter}. Permission is granted to copy, distribute and\slash or modify this software under the terms of the LaTeX project public licence, version 1.3c or later \url{https://www.latex-project.org/lppl.txt}.
+}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex	2025-02-02 21:00:14 UTC (rev 73704)
+++ trunk/Master/texmf-dist/doc/latex/beamertheme-tcolorbox/beamertheme-tcolorbox-doc.tex	2025-02-02 21:00:23 UTC (rev 73705)
@@ -22,6 +22,10 @@
 % arara: --> }
 \documentclass{scrartcl}
 
+\usepackage[
+  themecolor=samteal
+]{\jobname-settings}
+
 % meta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \title{The tcolorbox beamer inner theme}
 \subtitle{A beamer inner theme to replicate standard beamer blocks with tcolorboxes}
@@ -29,14 +33,11 @@
   \texorpdfstring{
     \texttt{samcarter}\\
     \url{https://github.com/samcarter/beamertheme-tcolorbox}\\
-    \url{https://www.ctan.org/pkg/beamertheme-tcolorbox}
+    \url{https://ctan.org/pkg/beamertheme-tcolorbox}
   }{samcarter}}
-\date{Version v0.8 \textendash{} 2024/09/23}
+\date{Version v0.9 \textendash{} 2025/02/01}
+\packagename{beamertheme-tcolorbox}
 
-\usepackage[
-  themecolor=samteal
-]{\jobname-settings}
-
 \newcommand{\prefix}{./include}
 \tcbset{
   compilable listing/.style={listing file={\prefix/\jobname-listing-\thetcblistingcount.tex}},
@@ -53,11 +54,8 @@
 
 For all these cases, there is now an alternative to the default beamer blocks: The tcolorbox inner beamer theme will replace the usual beamer mechanism to draw blocks with tcolorboxes. The tcolorboxes will automatically adopt the look and feel (round vs.\ sharp corners and shadows) as well as the colours of the normal beamer blocks.
 
-The package is included in \texlive and \miktex and available from \CTAN (\url{https://www.ctan.org/pkg/beamertheme-tcolorbox}).
-The development version of this package is located at \url{https://github.com/samcarter/beamertheme-tcolorbox}. If you have any problems, ideas or other feedback, please make constructive use of the issue tracker.
+\blurb
 
-Copyright \raisebox{0.2em}{\tiny\fontfamily{cmr}\selectfont\textcopyright} \texttt{samcarter}. Permission is granted to copy, distribute and\slash or modify this software under the terms of the LaTeX project public licence, version 1.3c or later \url{https://www.latex-project.org/lppl.txt}.
-
 \section{Usage}
 
 The basic usage is fairly simple. One just needs to load the theme via
@@ -177,4 +175,14 @@
 \end{document}
 \end{tcblisting}
 
+\section{Using with \texttt{\textbackslash pause}}
+
+Using the \saminline|\pause| macro in pgf-based environments like a \saminline|tikzpicture| or a \saminline|tcolorbox| is known to cause problems like disappearing footlines.
+There are some ways to avoid such problems:
+
+\begin{enumerate}
+\item The best solution to problems with \saminline|\pause| is to not use \saminline|\pause|. Instead one can use overlays like \saminline|\only<...>{...}|, \saminline|\visible<...>{...}|, \saminline|\uncover<...>{...}| etc.
+\item Alternatively, one could switch to another covered style for the presentation, e.g. by adding \saminline|\setbeamercovered{transparent=0}| to the preamble.
+\end{enumerate}
+
 \end{document}

Modified: trunk/Master/texmf-dist/tex/latex/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty	2025-02-02 21:00:14 UTC (rev 73704)
+++ trunk/Master/texmf-dist/tex/latex/beamertheme-tcolorbox/beamerinnerthemetcolorbox.sty	2025-02-02 21:00:23 UTC (rev 73705)
@@ -12,7 +12,7 @@
 % See https://www.latex-project.org/lppl.txt
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{beamerinnerthemetcolorbox}[2024/09/23 version v0.8 Beamer blocks with tcolorboxes]
+\ProvidesPackage{beamerinnerthemetcolorbox}[2025/02/01 version v0.9 Beamer blocks with tcolorboxes]
 
 \RequirePackage{tcolorbox}
 \tcbuselibrary{skins,hooks}
@@ -197,11 +197,11 @@
 
 \ifbeamer at tcb@blocks
   \setbeamertemplate{block begin}{\begin{beamer at tcb@block}} 
-  \setbeamertemplate{block end}{\onslide<1->\end{beamer at tcb@block}}
+  \setbeamertemplate{block end}{\end{beamer at tcb@block}}
   \setbeamertemplate{block alerted begin}{\begin{beamer at tcb@block}[ alerted]} 
-  \setbeamertemplate{block alerted end}{\onslide<1->\end{beamer at tcb@block}}
+  \setbeamertemplate{block alerted end}{\end{beamer at tcb@block}}
   \setbeamertemplate{block example begin}{\begin{beamer at tcb@block}[ example]} 
-  \setbeamertemplate{block example end}{\onslide<1->\end{beamer at tcb@block}}
+  \setbeamertemplate{block example end}{\end{beamer at tcb@block}}
 \fi
 
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%



More information about the tex-live-commits mailing list.