texlive[45312] Master/texmf-dist: scratch (15sep17)

commits+karl at tug.org commits+karl at tug.org
Fri Sep 15 23:22:26 CEST 2017


Revision: 45312
          http://tug.org/svn/texlive?view=revision&revision=45312
Author:   karl
Date:     2017-09-15 23:22:26 +0200 (Fri, 15 Sep 2017)
Log Message:
-----------
scratch (15sep17)

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

Modified: trunk/Master/texmf-dist/doc/latex/scratch/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scratch/README	2017-09-15 21:22:14 UTC (rev 45311)
+++ trunk/Master/texmf-dist/doc/latex/scratch/README	2017-09-15 21:22:26 UTC (rev 45312)
@@ -3,17 +3,17 @@
              L'extension
                scratch
                
-                v0.3
+                v0.31
 
-             8 aout 2017
+          15 septembre 2017
 ___________________________________
 
 Authors   : Christian Tellechea
 Maintainer: Christian Tellechea
-E-mail    : unbonpetit at netc.fr     (CT)
+E-mail    : unbonpetit at openmailbox.org     (CT)
             Commentaires, signalements de bugs et
             suggestions bienvenus
-Licence   : Released under the LaTeX Project Public License v1.3c or
+Licence   : Released under the LaTeX Project Public License v1.3 or
             later, see http://www.latex-project.org/lppl.txt
 
 ----------------------------------------------------------------------

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

Modified: trunk/Master/texmf-dist/doc/latex/scratch/scratch-fr.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/scratch/scratch-fr.tex	2017-09-15 21:22:14 UTC (rev 45311)
+++ trunk/Master/texmf-dist/doc/latex/scratch/scratch-fr.tex	2017-09-15 21:22:26 UTC (rev 45312)
@@ -120,6 +120,10 @@
 	}
 \endgroup
 \def\suffixe#1{\begingroup\sffamily\bfseries\color{scr#1}#1\endgroup}
+\newenvironment{version}[2]
+	{\paragraph{\hbox to 4em {v\hskip1pt #1\hfill}#2}\hskip0pt \par
+	\catcode`\>13 \begingroup\lccode`\~`\> \lowercase{\endgroup\let~}\item
+	\begin{itemize}}{\end{itemize}}
 \begin{document}
 \parindent=0pt
 \thispagestyle{empty}
@@ -481,17 +485,25 @@
 Toute remarque, remont\xE9e de bug ---~je n'ose pas dire am\xE9lioration du code~---, demande d'impl\xE9mentation de fonctionnalit\xE9 est bien \xE9videmment bienvenue; j'invite les utilisateurs \xE0 m'en faire part \emph{via} email \xE0 \texttt{unbonpetit at netc.fr}
 
 \section{Historique}
-\paragraph{v0.1\quad 16/05/2017} Premi\xE8re version.
-\paragraph{v0.2\quad 28/05/2017} Pour une impression en noir et blanc, ajout de l'option \xAB\texttt{print}\xBB, suite \xE0 une demande de P.~\bsc{Celdran}. De cette option d\xE9coulent les options \xAB\texttt{fill blocks}\xBB, \xAB\texttt{fill gray}\xBB, \xAB\texttt{text color}\xBB, \xAB\texttt{flag gray}\xBB et \xAB\texttt{line gray}\xBB.
-	
-	Ajout \xE9galement de l'option \xAB\texttt{contrast}\xBB qui qualifie la diff\xE9rence de nuance entre les lignes de contraste des parties hautes et des parties basses.
-\paragraph{v0.21\quad 24/07/2017} Correction d'une erreur dans le trac\xE9 des lignes de contraste des "boolbox".
+\begin{version}{0.1}{16/05/2017}
+	>Premi\xE8re version.
+\end{version}
 
-Correction d'un bug dans \verb|\resetscratch|.
+\begin{version}{0.2}{28/05/2017}
+	>Pour une impression en noir et blanc, ajout de l'option \xAB\texttt{print}\xBB, suite \xE0 une demande de P.~\bsc{Celdran}. De cette option d\xE9coulent les options \xAB\texttt{fill blocks}\xBB, \xAB\texttt{fill gray}\xBB, \xAB\texttt{text color}\xBB, \xAB\texttt{flag gray}\xBB et \xAB\texttt{line gray}\xBB.
+	>Ajout \xE9galement de l'option \xAB\texttt{contrast}\xBB qui qualifie la diff\xE9rence de nuance entre les lignes de contraste des parties hautes et des parties basses.
+\end{version}
 
-Correction d'un bug dans \verb|\txtbox|.
+\begin{version}{0.3}{03/08/2017}
+	>Correction d'une erreur dans le trac\xE9 des lignes de contraste des "boolbox".
+	>Correction d'un bug dans \verb|\resetscratch|.
+	>Correction d'un bug dans \verb|\txtbox|.
+	>Chargement de l'extension \texttt{simplekv} pour les cl\xE9s/valeurs.
+	>Ajout de la cl\xE9 \xABscale\xBB.
+\end{version}
 
-Chargement de l'extension \texttt{simplekv} pour les cl\xE9s/valeurs.
-
-Ajout de la cl\xE9 \xABscale\xBB.
+\begin{version}{0.31}{15/09/2017}
+	>Correction d'un bug signal\xE9 par G. \textsc{Mandallaz} dans \verb|\scr_ovalbox| qui s'ex\xE9cute maintenant dans un groupe : l'assignation de \verb|\scr_current_fillcolor| est donc locale.
+	>Correction d'une erreur dans le trac\xE9 des lignes de contraste des \verb|\scr_ovalbox|.
+\end{version}
 \end{document}
\ No newline at end of file

Modified: trunk/Master/texmf-dist/tex/latex/scratch/scratch.sty
===================================================================
--- trunk/Master/texmf-dist/tex/latex/scratch/scratch.sty	2017-09-15 21:22:14 UTC (rev 45311)
+++ trunk/Master/texmf-dist/tex/latex/scratch/scratch.sty	2017-09-15 21:22:26 UTC (rev 45312)
@@ -4,9 +4,9 @@
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                                                                    %
 \def\scrname                   {scratch}                             %
-\def\scrver                      {0.3}                               %
+\def\scrver                      {0.31}                              %
 %                                                                    %
-\def\scrdate                  {2017/08/08}                           %
+\def\scrdate                  {2017/09/15}                           %
 %                                                                    %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %
@@ -13,10 +13,10 @@
 % --------------------------------------------------------------------
 % This work may be distributed and/or modified under the
 % conditions of the LaTeX Project Public License, either version 1.3
-% of this license or (at your option) any later version.
+% of this license or any later version.
 % The latest version of this license is in
 %
-% %     http://www.latex-project.org/lppl.txt
+%     http://www.latex-project.org/lppl.txt
 %
 % and version 1.3 or later is part of all distributions of LaTeX
 % version 2005/12/01 or later.
@@ -28,6 +28,8 @@
 %        Commentaires, suggestions et signalement de bugs bienvenus !
 %        Comments, bug reports and suggestions are welcome.
 % Package URL: https://www.ctan.org/pkg/scratch
+% Bug tracker: https://framagit.org/unbonpetit/scratch/issues
+% Repository:  https://framagit.org/unbonpetit/scratch/tree/master
 % Copyright: Christian Tellechea 2017
 % --------------------------------------------------------------------
 % L'extension scratch est compos\xE9e des 4 fichiers suivants :
@@ -323,17 +325,19 @@
 %                           dessine un ovale                           %
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 \def\scr_ovalbox#1#2{% #1=couleur remplissage et contour  #2=texte
-	\edef\scr_linewidth{\the\dimexpr\useKV[\scrname]{line width}\relax}%
-	\def\scr_current_blockcolor{#1}%
-	\edef\scr_current_fillcolor{\ifboolKV[\scrname]{print}{\ifboolKV[\scrname]{fill blocks}{scr_fillgray}{none}}{\scr_current_blockcolor}}%
-	\edef\scr_current_linelight{\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!white}%
-	\edef\scr_current_linedark {\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!black}%
-	\edef\scr_current_textcolor{\ifboolKV[\scrname]{print}{\useKV[\scrname]{text color}}{white}}%
-	\begin{tikzpicture}[baseline=(x.base),x=1ex,y=1ex,inner ysep=0.25ex,inner xsep=0.1ex,line width=\scr_linewidth]
-		\node[rounded rectangle,draw=none,fill=\scr_current_fillcolor,text=\scr_current_textcolor](x){\sffamily\bfseries\relax#2\scr_ovalstrut};%
-		\draw[draw=\scr_current_linedark](x.west)to[out=270,in=180](x.south west)--(x.south east)to[out=0,in=270](x.east);
-		\draw[draw=\scr_current_linelight](x.west)to[out=90,in=180](x.north west)--(x.north east)to[out=0,in=90](x.east);
-	\end{tikzpicture}%
+	\begingroup
+		\edef\scr_linewidth{\the\dimexpr\useKV[\scrname]{line width}\relax}%
+		\def\scr_current_blockcolor{#1}%
+		\edef\scr_current_fillcolor{\ifboolKV[\scrname]{print}{\ifboolKV[\scrname]{fill blocks}{scr_fillgray}{none}}{\scr_current_blockcolor}}%
+		\edef\scr_current_linelight{\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!white}%
+		\edef\scr_current_linedark {\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!black}%
+		\edef\scr_current_textcolor{\ifboolKV[\scrname]{print}{\useKV[\scrname]{text color}}{white}}%
+		\begin{tikzpicture}[baseline=(x.base),x=1ex,y=1ex,inner ysep=0.25ex,inner xsep=0.1ex,line width=\scr_linewidth]
+			\node[rounded rectangle,draw=none,fill=\scr_current_fillcolor,text=\scr_current_textcolor](x){\sffamily\bfseries\relax#2\scr_ovalstrut};%
+			\draw[draw=\scr_current_linedark](x.west)to[out=270,in=180](x.south west)--(x.south east)to[out=0,in=270](x.east);
+			\draw[draw=\scr_current_linelight](x.west)to[out=90,in=180](x.north west)--(x.north east)to[out=0,in=90](x.east);
+		\end{tikzpicture}%
+	\endgroup
 }
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 %                   dessine un triangle de s\xE9lection                   %
@@ -351,8 +355,8 @@
 		\edef\scr_current_linedark {\ifboolKV[\scrname]{print}{scr_linegray}{\scr_current_blockcolor}!\the\numexpr100-\useKV[\scrname]{contrast}\relax!black}%
 		\edef\scr_current_textcolor{\ifboolKV[\scrname]{print}{\useKV[\scrname]{text color}}{white}}%
 		\node[draw=none,inner xsep=0.2em,fill=\scr_current_fillcolor,text=\scr_current_textcolor](textmenu){\normalfont\sffamily#1\scr_ovalstrut\hskip.6666em \scr_menuselectarrow};
-		\draw[draw=\scr_current_linelight,line width=\scr_linewidth](textmenu.south west)--(textmenu.north west)--(textmenu.north east);
-		\draw[draw=\scr_current_linedark,line width=\scr_linewidth](textmenu.south west)--(textmenu.south east)--(textmenu.north east);
+		\draw[draw=\scr_current_linedark,line width=\scr_linewidth](textmenu.south west)--(textmenu.north west)--(textmenu.north east);
+		\draw[draw=\scr_current_linelight,line width=\scr_linewidth](textmenu.south west)--(textmenu.south east)--(textmenu.north east);
 	\end{tikzpicture}%
 }
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -540,12 +544,12 @@
 Versions :
  _____________________________________________________________________________
 | Version |    Date    | Changements                                          |
-|-----------------------------------------------------------------------------|
+|---------+------------+------------------------------------------------------|
 |   0.1   | 16/05/2017 | Premi\xE8re version                                     |
-|-----------------------------------------------------------------------------|
+|---------+------------+------------------------------------------------------|
 |   0.2   | 28/05/2017 | Ajout des options "constast", "print" ainsi que      |
 |         |            | les options relatives \xE0 "print"                      |
-|-----------------------------------------------------------------------------|
+|---------+------------+------------------------------------------------------|
 |   0.3   | 08/08/2017 | - Correction d'une erreur dans le trac\xE9 des lignes   |
 |         |            |   de contraste des "boolbox"                         |
 |         |            | - Correction d'un bug dans \resetscratch             |
@@ -552,4 +556,11 @@
 |         |            | - Correction d'un bug dans \txtbox                   |
 |         |            | - Appel \xE0 simplekv pour les cl\xE9s/valeurs             |
 |         |            | - Ajout de la cl\xE9 "scale"                            |
-|-----------------------------------------------------------------------------|
\ No newline at end of file
+|---------+------------+------------------------------------------------------|
+|   0.31  | 15/09/2017 | - Correction d'un bug dans \scr_ovalbox qui          |
+|         |            |   s'ex\xE9cute maintenant dans un groupe semi-simple    |
+|         |            |   pour rendre locale l'assignation \xE0                 |
+|         |            |   \scr_current_fillcolor                             |
+|         |            | - Correction d'un bug dans le trac\xE9 des lignes de    |
+|         |            |   relief dans \scr_ovalbox                           |
+|---------+------------+------------------------------------------------------|
\ No newline at end of file



More information about the tex-live-commits mailing list