texlive[51158] Master/texmf-dist: scratch3 (18may19)

commits+karl at tug.org commits+karl at tug.org
Sat May 18 23:15:39 CEST 2019


Revision: 51158
          http://tug.org/svn/texlive?view=revision&revision=51158
Author:   karl
Date:     2019-05-18 23:15:39 +0200 (Sat, 18 May 2019)
Log Message:
-----------
scratch3 (18may19)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/scratch3/README
    trunk/Master/texmf-dist/doc/latex/scratch3/scratch3-fr.pdf
    trunk/Master/texmf-dist/doc/latex/scratch3/scratch3-fr.tex
    trunk/Master/texmf-dist/tex/latex/scratch3/scratch3.sty

Modified: trunk/Master/texmf-dist/doc/latex/scratch3/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scratch3/README	2019-05-18 21:15:28 UTC (rev 51157)
+++ trunk/Master/texmf-dist/doc/latex/scratch3/README	2019-05-18 21:15:39 UTC (rev 51158)
@@ -3,9 +3,9 @@
             L'extension
              scratch3
 
-              v0.11
+              v0.12
 
-           10 mars 2019
+            18 mai 2019
 ___________________________________
 
 Author    : Christian Tellechea

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

Modified: trunk/Master/texmf-dist/doc/latex/scratch3/scratch3-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scratch3/scratch3-fr.tex	2019-05-18 21:15:28 UTC (rev 51157)
+++ trunk/Master/texmf-dist/doc/latex/scratch3/scratch3-fr.tex	2019-05-18 21:15:39 UTC (rev 51158)
@@ -591,4 +591,8 @@
 	>Correction d'un bug dans \verb|\scr_blockloop| : la couleur \verb|\scr_current_blockcolor| y est d\xE9sormais d\xE9finie;
 	>Correction d'un bug dans \verb|\boolmoreblocks| : la couleur est correcte et \verb|rounded corners| d\xE9sormais est nul pour le trac\xE9 d'un losange.
 \end{version}
+\begin{version}{0.12}{18/05/2019}
+	>Correction d'un bug dans \verb|\ovalnum|;
+	>Correction d'un bug dans \verb|\scr_ovalbox|.
+\end{version}
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/scratch3/scratch3.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scratch3/scratch3.sty	2019-05-18 21:15:28 UTC (rev 51157)
+++ trunk/Master/texmf-dist/tex/latex/scratch3/scratch3.sty	2019-05-18 21:15:39 UTC (rev 51158)
@@ -4,9 +4,9 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                    %
 \def\scrname{                   scratch3                            }%
-\def\scrver {                     0.11                              }%
+\def\scrver {                     0.12                              }%
 %                                                                    %
-\def\scrdate{                  2019/03/10                           }%
+\def\scrdate{                  2019/05/18                           }%
 %                                                                    %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -521,6 +521,10 @@
 		\fi
 		\scr_setcolors
 		\def\scr_current_blockcolor{#2}%
+		\unless\ifdefined\scr_contrast% bugfix 0.11
+			\scr_normalizedec\scr_contrast contrast[0,100]%
+			\edef\scr_contrast{\number\numexpr100-\scr_contrast}%
+		\fi
 		\begin{tikzpicture}[
 				baseline=(x.base),
 				x=1ex,
@@ -699,6 +703,7 @@
 \definecolor{penline}             {HTML}{595e73}%
 \definecolor{penblue}             {HTML}{4c8eea}%
 \definecolor{penvline}            {HTML}{0da57a}%
+
 \newenvironment{scratch}[1][]
 	{\skv_ifempty{#1}{}{\setscratch{#1}}%
 	\sffamily
@@ -775,7 +780,9 @@
 			\kern-.66667ex\relax
 		\fi
 		\edef\scr_linewidth{\the\dimexpr\useKV[\scrname]{line width}\relax}%
-		\ifdefined\scr_current_blockcolor\else
+		\ifdefined\scr_current_blockcolor% bugfix 0.11
+			\edef\scr_current_blockcolor{\scr_current_blockcolor dd}%
+		\else
 			\def\scr_current_blockcolor{black}%
 		\fi
 		\begin{tikzpicture}[
@@ -789,7 +796,7 @@
 			\node[
 					line width=\scr_linewidth,
 					rounded rectangle,
-					draw={\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor dd}},
+					draw={\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}},
 					fill=white,
 					text=black
 				]
@@ -1002,3 +1009,6 @@
 |         |            |   \scr_blockloop                                     |
 |         |            | * \boolmoreblocks n'est plus buggu\xE9e                 |
 |---------+------------+------------------------------------------------------|
+|   0.12  | 18/05/2019 | * bug corrig\xE9 dans \ovalnum                          |
+|         |            | * bug corrig\xE9 dans \scr_ovalbox                      |
+|---------+------------+------------------------------------------------------|
\ No newline at end of file



More information about the tex-live-commits mailing list