texlive[71084] Master: jigsaw (26apr24)

commits+karl at tug.org commits+karl at tug.org
Fri Apr 26 23:26:00 CEST 2024


Revision: 71084
          https://tug.org/svn/texlive?view=revision&revision=71084
Author:   karl
Date:     2024-04-26 23:26:00 +0200 (Fri, 26 Apr 2024)
Log Message:
-----------
jigsaw (26apr24)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/jigsaw/README.md
    trunk/Master/texmf-dist/doc/latex/jigsaw/jigsaw-doc.pdf
    trunk/Master/texmf-dist/doc/latex/jigsaw/jigsaw-doc.tex
    trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw.sty
    trunk/Master/tlpkg/tlpsrc/epstopdf-pkg.tlpsrc
    trunk/Master/tlpkg/tlpsrc/jigsaw.tlpsrc

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/jigsaw/DEPENDS.txt
    trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw-doc-settings.sty

Added: trunk/Master/texmf-dist/doc/latex/jigsaw/DEPENDS.txt
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jigsaw/DEPENDS.txt	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/jigsaw/DEPENDS.txt	2024-04-26 21:26:00 UTC (rev 71084)
@@ -0,0 +1,3 @@
+hard pgf
+hard iftex
+hard epstopdf-pkg


Property changes on: trunk/Master/texmf-dist/doc/latex/jigsaw/DEPENDS.txt
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/doc/latex/jigsaw/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jigsaw/README.md	2024-04-25 23:42:02 UTC (rev 71083)
+++ trunk/Master/texmf-dist/doc/latex/jigsaw/README.md	2024-04-26 21:26:00 UTC (rev 71084)
@@ -1,9 +1,32 @@
+![](https://raw.githubusercontent.com/samcarter/jigsaw/main/ICON.png)
+
+
 # Jigsaw
 
+[![GitHub](https://img.shields.io/github/license/samcarter/jigsaw.svg?color=blue)](http://www.latex-project.org/lppl.txt)
+[![GitHub tag (latest SemVer)](https://img.shields.io/github/tag/samcarter/jigsaw.svg?label=current%20version)](https://github.com/samcarter/jigsaw/releases/latest)
+[![CTAN](https://img.shields.io/ctan/v/jigsaw.svg)](https://ctan.org/pkg/jigsaw)
+
+
 A small LaTeX package to draw jigsaw pieces with TikZ. It is possible to draw individual pieces and adjust their shape, produce tile patterns or to automatically generate complete jigsaws.
 
-Current version: 2023/02/21 version v0.4
+This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt .
 
-This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt
+The project repository, including a bug tracker, can be found at https://github.com/samcarter/jigsaw .
 
-The project repository, including a bug tracker, can be found at https://github.com/samcarter/jigsaw/issues
+### Usage
+
+```latex
+\documentclass{standalone}
+\usepackage{jigsaw}
+
+\begin{document}
+
+\begin{tikzpicture}
+  \piece[color=teal]{1}{-1}{1}{-1}
+\end{tikzpicture}
+
+\end{document}
+```
+
+For more details, please consult the [package documentation](https://github.com/samcarter/jigsaw/blob/main/DOCUMENTATION.pdf).

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

Modified: trunk/Master/texmf-dist/doc/latex/jigsaw/jigsaw-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/jigsaw/jigsaw-doc.tex	2024-04-25 23:42:02 UTC (rev 71083)
+++ trunk/Master/texmf-dist/doc/latex/jigsaw/jigsaw-doc.tex	2024-04-26 21:26:00 UTC (rev 71084)
@@ -11,92 +11,41 @@
 % See http://www.latex-project.org/lppl.txt
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\documentclass[parskip=half]{scrartcl}
+% !TeX program = txs:///arara
+% arara: latexmk: {
+% arara: --> engine: pdflatex,
+% arara: --> options: [
+% arara: -->    '-shell-escape',
+% arara: -->    '-synctex=1',
+% arara: -->    '-interaction=nonstopmode',
+% arara: -->  ]
+% arara: --> }
+\documentclass{scrartcl}
 
-% packages %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\usepackage[T1]{fontenc}	
-\usepackage[utf8]{inputenc}		
-\usepackage[english]{babel}
-\usepackage[bitstream-charter]{mathdesign}
-%\usepackage{duckuments}
-\usepackage{jigsaw}
-\usetikzlibrary{matrix}
-\usepackage[most]{tcolorbox}
-\usepackage[paper=a4paper,margin=2.9cm]{geometry}
-\usepackage{url}
-\usepackage{xspace}
-\usepackage{scrlayer-scrpage} 
-\usepackage[hang,flushmargin,bottom]{footmisc}
-\usepackage[colorlinks=true,breaklinks=true,urlcolor=duckblue,linkcolor=duckblue,citecolor=duckblue,filecolor=duckblue]{hyperref}
-
-% macros %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\newcommand{\CTAN}{\textsc{CTAN}\xspace}
-\newcommand{\TikZ}{Ti\emph{k}Z\xspace}
-\newcommand{\miktex}{MiK\TeX\xspace}
-\newcommand{\texlive}{\TeX{}Live\xspace}
-
-% customisation %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\definecolor{duckblue}{RGB}{0,70,140}
-\definecolor{marmotred}{RGB}{140,20,40}
-\addtokomafont{sectioning}{\color{teal}}
-\addtokomafont{date}{\normalsize}
-\addtokomafont{author}{\normalsize}
-\setlength{\footnotemargin}{0.7em}
-
-% from https://tex.stackexchange.com/a/147848
-\def\beginlstdelim#1#2#3%
-{%
-    \def\endlstdelim{#2\egroup}%
-    \ttfamily#1\bgroup\color{#3}\aftergroup\endlstdelim%
-}
-
-\lstdefinestyle{jigsawstyle}{%
-	language={[latex]TeX},
-	tabsize=2,
-	breaklines,
-	basicstyle=\footnotesize\ttfamily,
-	commentstyle={\color{teal}\slshape}, 
-	columns=fullflexible,
-	texcsstyle=*\color{duckblue}\bfseries,
-	keywordstyle=\color{red!60!black}\bfseries,
-	morekeywords={tikzpicture,scope},
-	moretexcs={path,node,draw,clip,pic,includegraphics,color,piece,tile,jigsaw},
-	delim ={[s][\ttfamily\color{green!50!black}]{$}{$}},
-	moredelim=[is][\footnotesize\ttfamily\color{orange!70!black}]{|}{|},
-	moredelim={[s][\color{gray}]{<}{>}},
-%	moredelim = **[is][\beginlstdelim{\{}{\}}{orange!70!black}]{\{}{\}},
-%	moredelim = **[is][\beginlstdelim{[}{]}{orange!70!black}]{[}{]},
-}
-
-\tcbset{%
-	colframe=teal,
-	arc=2mm,
-	fonttitle=\bfseries,
-	sidebyside,
-	listing options={style=jigsawstyle},
-	center lower,
-	righthand width=5.7cm,
-	bottom=0pt, 
-	top=0pt,
-	sidebyside gap=10pt
-}
-
-\lstset{style=jigsawstyle}
-
 % meta %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \title{The jigsaw package}
 \subtitle{Drawing jigsaw pieces in \TikZ}
 \author{%
-	\texorpdfstring{
-		\begin{tikzpicture}
-			 \piece[lightgray!70!white]{1}{-1}{1}{-1}
-		\end{tikzpicture}\\[0.8em]		
-		\texttt{samcarter}\\
-		\url{https://github.com/samcarter/jigsaw}\\
-		\url{https://www.ctan.org/pkg/jigsaw}
-	}{samcarter}}
-\date{Version v0.4 \textendash{} 2023/02/21}
+  \texorpdfstring{
+    \begin{tikzpicture}
+       \piece[lightgray!70!white]{1}{-1}{1}{-1}
+    \end{tikzpicture}\\[0.8em]
+    \texttt{samcarter}\\
+    \url{https://github.com/samcarter/jigsaw}\\
+    \url{https://www.ctan.org/pkg/jigsaw}
+  }{samcarter}}
+\date{Version v0.5 \textendash{} 2024/04/25}
 
+\usepackage[
+  themecolor=samlgreen
+]{\jobname-settings}
+
+\colorlet{teal}{samlgreen}
+\colorlet{violet}{samviolet}
+
+\usepackage{jigsaw}
+\usetikzlibrary{matrix}
+
 \begin{document}
 \maketitle
 
@@ -114,20 +63,22 @@
 An individual jigsaw piece can be drawn with
 
 \begin{tcolorbox}[title={Jigsaw piece}]
-\begin{lstlisting}
+\begin{samcode}
 \piece{<bottom>}{<right>}{<top>}{<left>}
-\end{lstlisting}
+\end{samcode}
 \tcblower
 \begin{tikzpicture}
-	 \piece{1}{-1}{1}{1}
+\piece{1}{-1}{1}{1}
 \end{tikzpicture}
 \end{tcolorbox}
 
-wherein arguments specify for each side if it should be a tab (-1), a straight line (0) or a slot (1). The following example will produce a jigsaw piece with one tab sticking out, one straight boarder and two slots:
+wherein arguments specify for each side if it should be a tab (-1), a straight line (0) or a slot (1).
 
+The following example will produce a jigsaw piece with one tab sticking out, one straight boarder and two slots:
+
 \begin{tcblisting}{title={Jigsaw piece}}
 \begin{tikzpicture}
-	 \piece{1}{-1}{0}{1}
+  \piece{1}{-1}{0}{1}
 \end{tikzpicture}
 \end{tcblisting}
 
@@ -135,7 +86,7 @@
 
 \begin{tcblisting}{title={Filled piece}}
 \begin{tikzpicture}
-	 \piece[teal]{-1}{1}{-1}{1}
+  \piece[teal]{-1}{1}{-1}{1}
 \end{tikzpicture}
 \end{tcblisting}
 
@@ -143,16 +94,16 @@
 
 \begin{tcblisting}{title={Coloured piece}}
 \begin{tikzpicture}
-	\color{teal}\piece{-1}{-1}{1}{1}
+  \color{teal}\piece{-1}{-1}{1}{1}
 \end{tikzpicture}
 \end{tcblisting}
 
-The piece shape is also available as \TikZ \verb|pic|:
+The piece shape is also available as \TikZ \saminline|pic|:
 
 \begin{tcblisting}{title={\texttt{pic}}}
 \begin{tikzpicture}
-	\path (2,-3) pic[
-    fill=lightgray, draw=teal, ultra thick, 
+  \path (2,-3) pic[
+    fill=lightgray, draw=teal, thick,
     scale=2, pic text={Some Text},
     pic text options={text=violet}
   ]{piece={1}{-1}{1}{0}};
@@ -159,7 +110,7 @@
 \end{tikzpicture}
 \end{tcblisting}
 
-Using the \TikZ \verb|pic| allows to apply various \TikZ option like \verb|scale| or add text in the centre of the piece via \verb|pic text={...}|.
+Using the \TikZ \saminline|pic| allows to apply various \TikZ option like \saminline|scale| or add text in the centre of the piece via \saminline|pic text={...}|.
 
 The shapes of the jigsaw pieces are designed to seamlessly fit into each other which allows to produce tile patters in various ways:
 
@@ -166,16 +117,16 @@
 \begin{tcblisting}{title={Manual tile pattern}}
 \begin{tikzpicture}
 \begin{scope}
-    \piece[teal]{1}{1}{0}{0}
+  \piece[teal]{1}{1}{0}{0}
 \end{scope}
 \begin{scope}[xshift=1cm]
-    \piece[lightgray]{1}{0}{0}{-1}
+  \piece[lightgray]{1}{0}{0}{-1}
 \end{scope}
 \begin{scope}[yshift=-1cm]
-    \piece[lightgray]{0}{-1}{-1}{0}
+  \piece[lightgray]{0}{-1}{-1}{0}
 \end{scope}
 \begin{scope}[xshift=1cm,yshift=-1cm]
-    \piece[teal]{0}{0}{-1}{1}
+  \piece[teal]{0}{0}{-1}{1}
 \end{scope}
 \end{tikzpicture}
 \end{tcblisting}
@@ -182,14 +133,14 @@
 
 \begin{tcblisting}{title={Manual pattern using \texttt{\textbackslash pic}}}
 \begin{tikzpicture}
-\pic at (0,1) [fill=lightgray,draw]
-  {piece={1}{1}{0}{0}};
-\pic at (1,1) [fill=teal]
-  {piece={1}{0}{0}{-1}};  
-\pic at (0,0) [fill=teal]
-  {piece={0}{-1}{-1}{0}};  
-\pic at (1,0) [fill=lightgray,draw]
-  {piece={0}{0}{-1}{1}};     
+  \pic at (0,1) [fill=lightgray,draw]
+    {piece={1}{1}{0}{0}};
+  \pic at (1,1) [fill=teal,draw]
+    {piece={1}{0}{0}{-1}};
+  \pic at (0,0) [fill=teal,draw]
+    {piece={0}{-1}{-1}{0}};
+  \pic at (1,0) [fill=lightgray,draw]
+    {piece={0}{0}{-1}{1}};
 \end{tikzpicture}
 \end{tcblisting}
 
@@ -196,16 +147,20 @@
 \begin{tcblisting}{title={Manual pattern using Ti\emph{k}Z matrix}}
 % \usetikzlibrary{matrix}
 \begin{tikzpicture}
-\matrix [nodes=draw]{
-\pic [fill=lightgray]{piece={-1}{1}{0}{0}};&
-\pic [fill=teal]{piece={1}{0}{0}{-1}}; \\
-\pic [fill=teal]{piece={0}{-1}{1}{0}}; &
-\pic [fill=lightgray]{piece={0}{0}{-1}{1}};\\
-};
+  \matrix [nodes=draw]{
+    \pic [fill=lightgray]
+      {piece={-1}{1}{0}{0}}; &
+    \pic [fill=teal]
+      {piece={1}{0}{0}{-1}}; \\
+    \pic [fill=teal]
+      {piece={0}{-1}{1}{0}}; &
+    \pic [fill=lightgray]
+      {piece={0}{0}{-1}{1}};\\
+  };
 \end{tikzpicture}
 \end{tcblisting}
 
-Manually position each jigsaw piece at the correct position can be tedious, therefore the command \lstinline|\tile[<colour>]{<bottom>}{<right>}{<top>}{<left>}| was added. It can be used outside of of the \lstinline|tikzpicture| environment to place the pieces besides each other like normal letters in a text. Line breaks have to be added at the appropriate positions and one has to be careful not to introduce additional spaces between the jigsaw pieces from unprotected line endings.
+Manually position each jigsaw piece at the correct position can be tedious, therefore the command \saminline|\tile[<colour>]{<bottom>}{<right>}{<top>}{<left>}| was added. It can be used outside of of the \saminline|tikzpicture| environment to place the pieces besides each other like normal letters in a text. Line breaks have to be added at the appropriate positions and one has to be careful not to introduce additional spaces between the jigsaw pieces from unprotected line endings.
 
 \begin{tcblisting}{title={The tile command}}
 \tile[violet]{1}{1}{0}{0}%
@@ -221,23 +176,25 @@
 \tile[violet]{0}{0}{1}{1}
 \end{tcblisting}
 
-Finally there is also the possibility to automatically generate complete jigsaw puzzles using the command \lstinline|\jigsaw{<x>}{<y>}|, with \lstinline|<x>| and \lstinline|<y>| the number of rows and columns, respectively.
+Finally there is also the possibility to automatically generate complete jigsaw puzzles using the command \saminline|\jigsaw{<x>}{<y>}|, with \saminline|<x>| and \saminline|<y>| the number of rows and columns, respectively.
 
-\begin{tcblisting}{title={Automatic jigsaw generation}}
+\begin{tcblisting}{title={Automatic jigsaw generation},righthand width=6.1cm}
 \begin{tikzpicture}
-\jigsaw{6}{4}
+  \jigsaw{6}{4}
 \end{tikzpicture}
 \end{tcblisting}
 
 This automatically generated jigsaw can also be overlaid on a picture:
 
-\begin{tcblisting}{title={Overlaid image}}
+\begin{tcblisting}{title={Overlaid image},righthand width=6.1cm}
 \begin{tikzpicture}
-\clip (0,0) rectangle (6,4);
-\node at (3,2) {%
-  \includegraphics[width=6cm,height=4cm]{example-image-duck}%
-};
-\jigsaw{6}{4}
+  \clip (0,0) rectangle (6,4);
+  \node at (3,2) {%
+    \includegraphics[
+      width=6cm,height=4cm
+    ]{example-image-duck}%
+  };
+  \jigsaw{6}{4}
 \end{tikzpicture}
 \end{tcblisting}
 

Added: trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw-doc-settings.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw-doc-settings.sty	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw-doc-settings.sty	2024-04-26 21:26:00 UTC (rev 71084)
@@ -0,0 +1,196 @@
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Personal helper theme for package documentations
+% Copyright samcarter
+%
+% This file may be distributed and/or modified
+% under the LaTeX Project Public License 1.3c or later
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% Usage:
+% ln ~/Life/latex/beamertheme-sam/themesam.sty package-doc-settings.sty 
+% \usepackage[
+%   themecolor=samdblue
+% ]{\jobname-settings}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Colours
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage{xcolor}
+\definecolor{samyellow}{RGB}{246,193,65}
+\definecolor{samorange}{RGB}{241,147,45}
+\definecolor{samred}{RGB}{191,26,46}% TikZbricks
+\definecolor{sammagenta}{RGB}{170,42,104}% TikZmarmots
+\definecolor{samviolet}{RGB}{136,46,114}% TikZlings
+\definecolor{samlila}{RGB}{101,67,159}% Rainbow beamer theme
+\definecolor{samdblue}{RGB}{0,51,134}% beamer theme
+\definecolor{samlblue}{RGB}{22,89,155}% TikZducks
+\definecolor{samteal}{RGB}{25,143,157}% Tcolorbox beamer theme
+\definecolor{samlgreen}{RGB}{68,170,153}% Jigsaw
+\definecolor{samdgreen}{RGB}{78,178,125}
+\definecolor{samlgray}{RGB}{160,160,185}
+\definecolor{samdgray}{RGB}{60,60,85}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Package options
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage{xkeyval}
+\DeclareOptionX{themecolor}[samdblue]{\colorlet{themecolor}{#1}}
+\DeclareOptionX{listingcolor}[samlblue]{\colorlet{listingcolor}{#1}}
+\ExecuteOptionsX{themecolor,listingcolor}
+\ProcessOptionsX
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Packages
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\@ifclassloaded{beamer}{}{%
+  \RequirePackage[english]{babel}
+  \RequirePackage[paper=a4paper,margin=2.9cm]{geometry}
+  \RequirePackage{scrlayer-scrpage}
+  \let\hrulefillx\hrulefill
+  \RequirePackage[bitstream-charter]{mathdesign}
+  \let\hrulefill\hrulefillx
+  \RequirePackage[hang,flushmargin,bottom]{footmisc}
+  \RequirePackage{footnotehyper}
+  \makesavenoteenv{tcolorbox}
+  \RequirePackage[all]{nowidow}
+  \RequirePackage[colorlinks=true,breaklinks=true,allcolors=themecolor,hyperfootnotes=false]{hyperref}
+}
+\RequirePackage[T1]{fontenc}
+\RequirePackage{xspace}
+\RequirePackage{inconsolata}% mono font with bold, but italic is missing
+% \RequirePackage[scale=0.85]{cascadia-code}
+% \AddToHook{cmd/ttfamily/before}{\fontseries{sl}}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Listings
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\RequirePackage[
+  cachedir=./build/
+]{minted}
+
+% smuggling custom pygmentize style in cache folder
+% (a real pygmentise style would need installtion in some python folder)
+\begin{filecontents*}[noheader]{./build/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}}
+
+% 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}{##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*}
+
+\usemintedstyle{sam}
+\setminted{
+  breaksymbolleft={},
+  tabsize=2,
+  breaklines=true,
+}
+\newminted[samcode]{latex}{}
+\newmintinline[saminline]{latex}{}
+
+% use non-bold and all coloured for inline code in articles
+\ifdefined\insertaspectratio\else
+  \patchcmd{\minted at inputpyg@inline}{\minted at input}{\color{listingcolor}\renewcommand\textcolor[3][]{##3}\renewcommand\bfseries{}\minted at input}{}{}
+\fi
+
+\RequirePackage[most]{tcolorbox}
+\tcbuselibrary{minted}
+\tcbset{%
+  colframe=themecolor,
+  fonttitle=\bfseries,
+  sidebyside,
+  center lower,
+  righthand width=5.7cm,
+  bottom=2pt, 
+  top=2pt,
+  left=3pt,
+  right=3pt,
+  sidebyside gap=10pt,
+  lower separated=false,
+  listing engine=minted,
+  minted language=latex,
+  colback=themecolor!10,
+  sharp corners,
+  boxrule=0pt,
+  before title={\strut}
+}
+
+% avoid page breaks right in front of the tcolorbox
+\@ifclassloaded{beamer}{}{
+  \tcbuselibrary{hooks}
+  \tcbset{before pre={\nopagebreak[4]}}
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% document settings
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\@ifclassloaded{scrartcl}{%
+  \KOMAoptions{parskip=half}
+  \addtokomafont{sectioning}{\color{themecolor}}
+  \addtokomafont{date}{\normalsize}
+  \addtokomafont{author}{\normalsize}
+  \setlength{\footnotemargin}{0.7em}
+}{}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% Custom macros
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\providecommand*{\CTAN}{\textsc{CTAN}\xspace}
+\providecommand*{\TikZ}{Ti\emph{k}Z\xspace}
+\providecommand*{\miktex}{MiK\TeX\xspace}
+\providecommand*{\texlive}{\TeX{}Live\xspace}
+\providecommand*{\tikzbrick}{Ti\emph{k}Zbrick\xspace}
+\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


Property changes on: trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw-doc-settings.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw.sty	2024-04-25 23:42:02 UTC (rev 71083)
+++ trunk/Master/texmf-dist/tex/latex/jigsaw/jigsaw.sty	2024-04-26 21:26:00 UTC (rev 71084)
@@ -12,7 +12,7 @@
 % See http://www.latex-project.org/lppl.txt
 %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
-\ProvidesPackage{jigsaw}[2023/02/21 version v0.4 Draw jigsaw pieces in TikZ]
+\ProvidesPackage{jigsaw}[2024/04/25 version v0.5 Draw jigsaw pieces in TikZ]
 
 \RequirePackage{tikz}
 

Modified: trunk/Master/tlpkg/tlpsrc/epstopdf-pkg.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/epstopdf-pkg.tlpsrc	2024-04-25 23:42:02 UTC (rev 71083)
+++ trunk/Master/tlpkg/tlpsrc/epstopdf-pkg.tlpsrc	2024-04-26 21:26:00 UTC (rev 71084)
@@ -0,0 +1 @@
+depend epstopdf

Modified: trunk/Master/tlpkg/tlpsrc/jigsaw.tlpsrc
===================================================================
--- trunk/Master/tlpkg/tlpsrc/jigsaw.tlpsrc	2024-04-25 23:42:02 UTC (rev 71083)
+++ trunk/Master/tlpkg/tlpsrc/jigsaw.tlpsrc	2024-04-26 21:26:00 UTC (rev 71084)
@@ -0,0 +1,3 @@
+depend pgf
+depend iftex
+depend epstopdf-pkg



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