texlive[54663] Master: tkz-doc (10apr20)
commits+karl at tug.org
commits+karl at tug.org
Sun Apr 12 00:34:53 CEST 2020
Revision: 54663
http://tug.org/svn/texlive?view=revision&revision=54663
Author: karl
Date: 2020-04-12 00:34:53 +0200 (Sun, 12 Apr 2020)
Log Message:
-----------
tkz-doc (10apr20)
Modified Paths:
--------------
trunk/Master/tlpkg/libexec/ctan2tds
Added Paths:
-----------
trunk/Master/texmf-dist/doc/latex/tkz-doc/README.md
trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/
trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/couverture.tex
trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cfg
trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cls
trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkzexample.sty
Removed Paths:
-------------
trunk/Master/texmf-dist/doc/latex/tkz-doc/README
trunk/Master/texmf-dist/doc/latex/tkz-doc/couverture.tex
trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.cfg
trunk/Master/texmf-dist/tex/latex/tkz-doc/
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-doc/README
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/README 2020-04-11 22:30:16 UTC (rev 54662)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/README 2020-04-11 22:34:53 UTC (rev 54663)
@@ -1,24 +0,0 @@
-Class and package for the documentation of all tkz-* packages.
- %%% H I G H L Y E X P E R I M E N T A L %%%
-readme-tkz-doc.txt V1.3c 2020/03/08
-
-Licence
--------
-% Copyright 2020 Alain Matthes
-% 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.
-% The latest version of this license is in
-% 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.
-%
-% This work has the LPPL maintenance status “maintained”.
-%
-% The Current Maintainer of this work is Alain Matthes.
-
- Alain Matthes
- 5 rue de Valence
- Paris 75005
-
- al (dot) ma (at) mac (dot) com
\ No newline at end of file
Added: trunk/Master/texmf-dist/doc/latex/tkz-doc/README.md
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/README.md (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/README.md 2020-04-11 22:34:53 UTC (rev 54663)
@@ -0,0 +1,46 @@
+# tkz-doc — Class and package for the documentation of all tkz-* packages.
+
+Release 1.43c 2020/04/10
+
+## Note
+
+This package is highly experimental and subject to change without notice.
+
+## Licence
+
+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.
+The latest version of this license is in
+[LaTeX Project Public License](https://www.latex-project.org/lppl/)
+and version 1.3 or later is part of all distributions of LaTeX
+version 2005/12/01 or later.
+This work has the LPPL maintenance status “maintained”.
+The Current Maintainer of this work is Alain Matthes.
+
+## Installation
+
+The package `tkz-doc` is present in `TeXLive` and `MiKTeX`, use the
+package manager to install.
+
+For manual installation all files must be moved into the different directories in your
+installation `TDS` tree or in your `TEXMFHOME`:
+
+```
+ doc/README.md -> TDS:doc/latex/tkz-doc/README.md
+ latex/*.* -> TDS:tex/latex/tkz-doc/*.*
+```
+
+## How to use it
+
+1. If you want to compile the documentation of a `tkz-*` package, you need to use the lualatex engine.
+
+## History
+
+- v 1.43 Correction of bug about the color. Remove the library `babel` of `TikZ`
+- v 1.42 I added in the version 1.4, an option called `cadre`. If you want to draw the frame of the cover, you need to use this option. In this case, you need to
+install the font `orna4`. By default, no frame.
+
+## Author
+
+Alain Matthes, 5 rue de Valence, Paris 75005, al (dot) ma (at) mac (dot) com
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/README.md
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-doc/couverture.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/couverture.tex 2020-04-11 22:30:16 UTC (rev 54662)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/couverture.tex 2020-04-11 22:34:53 UTC (rev 54663)
@@ -1,95 +0,0 @@
-% encoding: utf8
-% Copyright 2020 Alain Matthes
-% 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.
-% The latest version of this license is in
-% 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.
-%
-% This work has the LPPL maintenance status “maintained”.
-%
-% The Current Maintainer of this work is Alain Matthes.
-
-%<--------- Couverture des documentations --------------------------------
-
-%<------------------ Make Title ------------------------------------------
-
-\renewcommand\maketitle{%
-\null
-\AddToShipoutPicture*{%
-\setlength\unitlength{1mm}
-\put(0,0){%
- \makebox(0,0)[lb]{%
- \color{myblue!10}\rule{\paperwidth}{\paperheight}%
- }%
- }%
-\put(0,0){%
- \makebox(0,0)[lb]{%
- \color{myblue}\rule{40mm}{\paperheight}%
- }%
- }%
-\put(20,270){% 270 en portrait 180
- \rotatebox{90}{%
- \makebox(0,0)[r]{%
- \fontsize{30}{30}\color{myblue!50!white}%
- \bfseries
- \selectfont{\@title\ \tkzversionofpack}\hfill%
- }%
- }%
- }%
-\put(60,60){%
-\begin{pgfpicture}
-\pgfsys at transformxyscale{.5}{.5}
-\pgfmathdeclarerandomlist{color}{{myblue}{DarkBlue}{SteelBlue}{blue}{MidnightBlue}}
- \foreach \a in {1,...,5}{%
- \pgfmathrandominteger{\x}{1}{300}%
- \pgfmathrandominteger{\y}{1}{200}%
- \pgfmathrandominteger{\r}{20}{100}%
- \pgfmathrandominteger{\s}{5}{95}%
- \pgfmathrandominteger{\o}{50}{80}%
- \pgfmathrandomitem{\c}{color}%
- \pgfdeclareradialshading{ballshading}{%
- \pgfpoint{-10bp}{10bp}}%
- {%
- color(0bp)=(\c!15!white);
- color(9bp)=(\c!75!white);
- color(18bp)=(\c!70!black);
- color(25bp)=(\c!50!black);
- color(50bp)=(black)%
- }%
- \pgfsetfillopacity{\o/100}%
- \pgfpathcircle{\pgfpoint{+\x pt}{+\y pt}}{+\r pt}
- \pgfshadepath{ballshading}{\s}%
- \pgfusepath{}%
- }%
- \end{pgfpicture}}
-
-\put(60,250){% 60,250 en portait 120,180
- \makebox(0,0)[l]{%
- \begin{tikzpicture}
- \nodeshadowedone(2,-1.25){\fontsize{60}{60}
- \selectfont{\tkznamecollection}}
- \end{tikzpicture}
- }%
- }%
-\put(120,40){%
- \makebox(0,0)[l]{%
- \fontsize{17}{21}
- \textcolor{sectioncolor}{\selectfont{\tkzauthorofpack}}%
- }%
- }%
-\put(120,20){%
- \makebox(0,0)[l]{%
- \textcolor{sectioncolor}{\url{\tkzurlauthorcom}}%
- }%
- }%
-\put(120,30){%
- \makebox(0,0)[l]{%
- \textcolor{sectioncolor}{\today \ \ Documentation V.\tkzversionofdoc}}%
- }%
- }%
-\setcounter{footnote}{0}%
-}%
-%<----------------------- End Couverture ---------------------------->
Added: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/couverture.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/couverture.tex (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/couverture.tex 2020-04-11 22:34:53 UTC (rev 54663)
@@ -0,0 +1,98 @@
+% encoding: utf8
+% Copyright 2020 Alain Matthes
+% 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.
+% The latest version of this license is in
+% 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.
+%
+% This work has the LPPL maintenance status “maintained”.
+%
+% The Current Maintainer of this work is Alain Matthes.
+
+%<--------- Couverture des documentations --------------------------------
+\def\fileversion{1.43c}
+\def\filedate{2020/04/10}
+\typeout{2020/04/10 1.43c couverture.tex}
+%<------------------ Make Title ------------------------------------------
+
+\renewcommand\maketitle{%
+\null
+\AddToShipoutPicture*{%
+\setlength\unitlength{1mm}
+\put(0,0){%
+ \makebox(0,0)[lb]{%
+ \color{myblue!10}\rule{\paperwidth}{\paperheight}%
+ }%
+ }%
+\put(0,0){%
+ \makebox(0,0)[lb]{%
+ \color{myblue}\rule{40mm}{\paperheight}%
+ }%
+ }%
+\put(20,270){% 270 en portrait 180
+ \rotatebox{90}{%
+ \makebox(0,0)[r]{%
+ \fontsize{30}{30}\color{myblue!50!white}%
+ \bfseries
+ \selectfont{\@title\ \tkzversionofpack}\hfill%
+ }%
+ }%
+ }%
+\put(60,60){%
+\begin{pgfpicture}
+\pgfsys at transformxyscale{.5}{.5}
+\pgfmathdeclarerandomlist{color}{{myblue}{DarkBlue}{SteelBlue}{blue}{MidnightBlue}}
+ \foreach \a in {1,...,5}{%
+ \pgfmathrandominteger{\x}{1}{300}%
+ \pgfmathrandominteger{\y}{1}{200}%
+ \pgfmathrandominteger{\r}{20}{100}%
+ \pgfmathrandominteger{\s}{5}{95}%
+ \pgfmathrandominteger{\o}{50}{80}%
+ \pgfmathrandomitem{\c}{color}%
+ \pgfdeclareradialshading{ballshading}{%
+ \pgfpoint{-10bp}{10bp}}%
+ {%
+ color(0bp)=(\c!15!white);
+ color(9bp)=(\c!75!white);
+ color(18bp)=(\c!70!black);
+ color(25bp)=(\c!50!black);
+ color(50bp)=(black)%
+ }%
+ \pgfsetfillopacity{\o/100}%
+ \pgfpathcircle{\pgfpoint{+\x pt}{+\y pt}}{+\r pt}
+ \pgfshadepath{ballshading}{\s}%
+ \pgfusepath{}%
+ }%
+ \end{pgfpicture}}
+
+\put(60,250){% 60,250 en portait 120,180
+ \makebox(0,0)[l]{%
+ \begin{tikzpicture}
+ \nodeshadowedone(2,-1.25){\fontsize{60}{60}
+ \selectfont{\tkznamecollection}}
+ \end{tikzpicture}
+ }%
+ }%
+\put(120,40){%
+ \makebox(0,0)[l]{%
+ \fontsize{17}{21}
+ \textcolor{sectioncolor}{\selectfont{\tkzauthorofpack}}%
+ }%
+ }%
+\put(120,20){%
+ \makebox(0,0)[l]{%
+ \textcolor{sectioncolor}{\url{\tkzurlauthorcom}}%
+ }%
+ }%
+\put(120,30){%
+ \makebox(0,0)[l]{%
+ \textcolor{sectioncolor}{\today \ \ Documentation V.\tkzversionofdoc}}%
+ }%
+ }%
+\setcounter{footnote}{0}%
+}%
+%<----------------------- End Couverture ---------------------------->
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/couverture.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cfg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cfg (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cfg 2020-04-11 22:34:53 UTC (rev 54663)
@@ -0,0 +1,88 @@
+% Copyright 2020 Alain Matthes
+% 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.
+% The latest version of this license is in
+% 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.
+%
+% This work has the LPPL maintenance status “maintained”.
+%
+% The Current Maintainer of this work is Alain Matthes.
+
+% original tkz-doc.cfg
+%
+% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
+% updated. Instead, put your changes in the entire copy of tkz-base.cfg
+% and save the file in a directory part of your TEXINPUTS environment
+% variable.
+%===============================================================================
+
+\def\fileversion{1.43c}
+\def\filedate{22020/04/10}
+\typeout{2020/04/10 1.43c tkz-doc.cfg}
+
+% ============= colors =========================================================
+
+% \definecolor [⟨type⟩]{⟨name⟩}{⟨model-list⟩}{⟨spec-list⟩}
+% \providecolor [⟨type⟩]{⟨name⟩}{⟨model-list⟩}{⟨spec-list⟩}
+% \colorlet [⟨type⟩]{⟨name⟩}[⟨num model⟩]{⟨color⟩}
+\definecolor{myblue}{RGB}{020,120,180}
+\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
+\definecolor{bistre}{rgb}{.75,.50,.30}
+\definecolor{textcolor}{RGB}{0, 0, 0}
+\providecolor{bistre}{rgb}{.75,.50,.30}
+\definecolor{mygray}{gray}{0.1}
+
+\colorlet{sectioncolor}{MidnightBlue}
+\colorlet{titlecolorbox}{gray!10}
+\colorlet{pdflinkcolor}{myblue}
+\colorlet{pdfurlcolor}{MidnightBlue}
+\colorlet{pdffilecolor}{Peach}
+\colorlet{stringcolor}{myblue!40!black!100}
+\colorlet{commencolor}{blue!0!black!100}
+
+\colorlet{graphicbackground}{white}
+\colorlet{codebackground}{lightgray!30}
+\colorlet{codeonlybackground}{lightgray!30}
+\colorlet{numbackground}{white}
+\colorlet{textcodecolor}{darkgray}
+\colorlet{numcolor}{black}
+
+\definecolor{Salmon}{RGB}{178,51,51}
+\definecolor{BrickRed}{RGB}{233,49,16}
+\definecolor{TealBlue}{RGB}{16,83,165}
+\definecolor{ForestGreen}{RGB}{10,112,43}
+\definecolor{Tangerine}{RGB}{244,176,108}
+\definecolor{DarkBrown}{RGB}{130,65,0}
+\definecolor{blueGrey}{rgb}{0.4,0.48,0.53}
+\def\tkzred{\color{red}}
+\def\tkzblue{\color{blue}}
+%--------------- mots importants et macros ---------------------------------
+\newcommand*{\BS}{\texttt{\char92}}
+\newcommand*{\tkz}{T{\em k}Z}
+\newcommand*{\PGF}{\tkzname{PGF}}
+\newcommand*{\TIKZ}{Ti\textsl{k}Z}
+\newcommand*{\pdf}{\textsc{pdf}}
+\newcommand*{\pgfname}{\textsc{pgf}}
+\newcommand*{\tikzname}{Ti{\em k}Z}
+\newcommand*{\tkzdft}[1]{{\texttt{#1}}}
+\newcommand*{\tkzAttention}[3]{\ \\\llap{\textcolor{#3}{#1\hskip #2}}}
+\newcommand*{\tkzHand}{\ \\\llap{\textcolor{red}{\lefthand\hskip1em}}}
+\newcommand*{\tkzBomb}{\ \\\llap{\textcolor{red}{\bomb\hskip1em}}}
+\newcommand*{\tkzTwoBomb}{\ \\\llap{\textcolor{red}{\bomb\ \bomb\hskip1em}}}
+\newcommand*{\tkzname}[1]{\textbf{\texttt{\textcolor{black}{#1}}}}
+\newcommand*{\tkzimp}[1]{\textbf{#1}}
+\newcommand*{\tkzHandBomb}{\ \\\llap{\textcolor{red}{\lefthand\ \bomb\hskip1em}}}
+\providecommand\LaTeX{L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}
+\providecommand\LATEX{\LaTeX}
+\renewcommand\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\spacefactor1000}
+\providecommand\TEX{\TeX}
+%-------------------------------------------------------------------------------
+\def\tkz at background@color{white}
+\def\tkz at text@color{black}
+\global\edef\tkz at suc@bkc{\tkz at background@color}
+\global\edef\tkz at suc@txt{\tkz at text@color}
+%-------------------------------------------------------------------------------
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cfg
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cls
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cls (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cls 2020-04-11 22:34:53 UTC (rev 54663)
@@ -0,0 +1,307 @@
+% tkz-doc.cls
+% encoding: utf8
+% Copyright 2020 Alain Matthes
+% 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.
+% The latest version of this license is in
+% 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.
+% This work has the LPPL maintenance status “maintained”.
+% The Current Maintainer of this work is Alain Matthes.
+% tkz-doc class for use with the tkz documentation
+% ( AlterMundus Collection ).
+%
+%% Objet : Classe LaTeX et Styles pour créer des documentations.
+%<-------------- Définitions relatives au package --------------------------->
+\newcommand*{\PackageName}{tkz-doc}
+\newcommand*{\PackageVersion}{1.43c}
+\newcommand*{\filedate}{2020/04/10}
+
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+
+%<---------------------- Identification Part -------------------------------->
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{\PackageName}[%
+ \filedate\space Version:\space\PackageVersion\space %
+ tkz documentation class based on scrartcl]
+\newif\if at tkzcadre
+\@tkzcadrefalse
+\DeclareOption{cadre}{\@tkzcadretrue}
+\ProcessOptions\relax
+\LoadClass[titlepage,a4paper]{scrartcl}
+%<----------------- loading some packages ---------------------------------->
+% dvipsnames loads a set of 68 cmyk colors as defined in the dvips driver.
+% svgnames loads a set of 151 rgb color names
+% obsolete usenames
+\PassOptionsToPackage{dvipsnames,svgnames}{xcolor}
+%<-------------------------------------------------------------------------->-
+\KOMAoptions{twoside=false}
+%<-------------------------------------------------------------------------->-
+\RequirePackage{framed,eso-pic}
+\RequirePackage[bottom,stable,ragged]{footmisc}
+\RequirePackage[automark,markcase=ignoreuppercase]{scrlayer-scrpage}
+%<------------- define important words ---------------------------------->
+\InputIfFileExists{tkz-doc.cfg}{\typeout{Local configuration file tkz-doc.cfg found and used}}{\typeout{tkz-doc.cfg not found}}
+ %<-------------------------------------------------------------------------->-
+\pagestyle{scrheadings}
+\clearscrheadings
+\clearscrplain
+\ohead{\textcolor{sectioncolor}{\pagemark}}
+\ihead{\textcolor{sectioncolor}{\headmark}}
+\rofoot{\textcolor{sectioncolor}{\tkznamecollection}}
+\lofoot{\textcolor{sectioncolor}{\tkznameofpack}}
+
+\automark[subsection]{section}
+\KOMAoptions{headsepline=.4pt}
+\addtokomafont{headsepline}{\color{sectioncolor}}
+
+\KOMAoptions{footsepline=.4pt}
+\addtokomafont{footsepline}{\color{sectioncolor}}
+
+\setheadwidth[0pt]{text}
+\setfootwidth[0pt]{text}
+\renewcommand{\footnoterule}{\vspace*{-3pt}{%
+ \color{sectioncolor}\hrule width 2in height 0.4pt}\vspace*{2.6pt}}
+\deffootnote{1.5em}{1em}{\makebox[1.5em][l]{\thefootnotemark}}
+\addtolength{\skip\footins}{\baselineskip}%
+%<------------------– En-tête et pied de page ------------------------------
+\pagenumbering{arabic}
+\newcommand\SectionFontStyle{\ttfamily}
+\setkomafont{sectioning}{\bfseries\SectionFontStyle}
+\setkomafont{pagenumber}{\bfseries\SectionFontStyle}
+\setkomafont{pagehead}{\small\ttfamily}
+\setkomafont{pagefoot}{\small\ttfamily}
+\setkomafont{descriptionlabel}{\itshape}
+\addtokomafont{sectioning}{\color{sectioncolor}}
+\renewcommand*{\raggedsection}{\raggedright}
+%<---------------------------------------------------------------------------
+\newcounter{cnt}\setcounter{cnt}{1}
+\setcounter{secnumdepth}{3}%
+\setcounter{tocdepth}{3}
+%<------------------ Éxécution et chargement -----------------------------
+\RequirePackage{tikz}
+\usetikzlibrary{decorations.shapes,
+ decorations.text,
+ decorations.pathreplacing,
+ decorations.pathmorphing,
+ decorations.markings,
+ shadows}
+\RequirePackage{tabularx,ragged2e}
+\RequirePackage[bottom,stable,ragged]{footmisc}
+\raggedbottom
+\newbox\tkzbox
+%<--------------- some macros --------------------------------------------
+\def\nodeshadowedone(#1,#2)#3{%
+\node[myblue,above,inner sep=0pt]{\global\setbox\tkzbox=\hbox{#3}\copy\tkzbox};
+\node[above,yscale=#2,inner sep=0pt,xslant=#1,myblue!60]{\box\tkzbox};
+}%
+ % some of the macros below are absolete
+\def\nameoffile#1{\gdef\@nameoffile{#1}}
+\def\@nameoffile{\@latex at warning@no at line{No \noexpand\nameoffile given}}
+\long\def\defoffile#1{\protected at xdef\@defoffile{\@defoffile{#1}}}
+\let\@defoffile\@empty
+%<-------------------------------------------------------------------------
+\newcommand*{\addbs}[1]{\texttt{\textbackslash#1}}
+\newcommand*{\@CellCode}[1]{}
+\newcommand*{\thead}{\noalign{\iffalse}\fi\@thead}
+\newcommand*{\@thead}[1][\em\ttfamily]{\gdef\@CellCode{#1}\iffalse{\fi}}
+\newcommand*{\tbody}{\noalign{\gdef\@CellCode{}}}
+\newcolumntype{I}{>{\@CellCode}}
+%<-------------------------- NewMacroBox ----------------------------------->
+\newcommand*{\ActivBoxName}{}
+\newenvironment{NewMacroBox}[2]{%
+\parindent=0pt
+\renewcommand*{\ActivBoxName}{#1}
+\def\FrameCommand{\color{MidnightBlue}{\vrule width 1pt\hspace{3pt}}}%
+\MakeFramed{\advance\hsize-\width}%
+\noindent
+\makebox[0pt][l]{%
+ \hspace{-4pt}%
+ \setlength{\fboxrule}{1pt}%
+ \setlength{\fboxsep}{3pt}%
+ \fcolorbox{sectioncolor}{titlecolorbox}{%
+ \rule{6pt}{0pt}%
+ \makebox[\width+6pt][l]{\tkzcname{#1#2}}%
+ }%
+}\\*[.5\baselineskip]%
+\noindent
+% \ignorespaces\tkzcname{#1#3}
+\Imacro{#1}%
+}%
+{%
+\par\noindent%
+\makebox[0pt][l]{%
+\hspace{-6pt}%
+\rule{6pt}{1pt}%
+\rule{\textwidth}{1pt}%
+\hspace{-1pt}%
+\rule{1pt}{10pt}%
+}%
+\endMakeFramed
+\noindent
+\ignorespacesafterend
+\par\medskip
+}%
+%<----------------- end NewMacroBox ----------------------------------------->
+
+%<----------------------------- NewEnvBox ----------------------------------->
+\let\fram at d=\MakeFramed \let\endfram at d=\endMakeFramed
+
+\newenvironment{NewEnvBox}[1]{%
+\parindent=0pt
+\renewcommand*{\ActivBoxName}{#1}
+%\gdef\tkzEnvMacro{#1}
+\def\FrameCommand{\color{sectioncolor}{\vrule width 1pt\hspace{3pt}}}%
+\MakeFramed{\advance\hsize-\width}%
+\noindent
+\makebox[0pt][l]{%
+\hspace{-4pt}%
+\setlength{\fboxrule}{1pt}%
+\setlength{\fboxsep}{3pt}%
+\fcolorbox{sectioncolor}{titlecolorbox}{%
+\rule{6pt}{0pt}%
+\makebox[\width+6pt][l]{%
+ \tkzcname{\textcolor{sectioncolor}{begin}\{\ActivBoxName\}}{\oarg{options}}%
+ \hspace*{.25cm}\meta{environment contents}\hspace*{.25cm}%
+ \tkzcname{\textcolor{sectioncolor}{end}\{\ActivBoxName\}}}%
+}%
+}\\*[.5\baselineskip]%
+\noindent
+% \ignorespaces\tkzcname{#1#3}
+\Ienv{#1}
+\color{MidnightBlue}}{%
+\par\noindent%
+\makebox[0pt][l]{%
+\hspace{-6pt}%
+\rule{6pt}{1pt}%
+\rule{\textwidth}{1pt}%
+\hspace{-1pt}%
+\rule{1pt}{10pt}%
+}%
+\endMakeFramed
+\noindent
+\ignorespacesafterend
+\par\medskip
+}
+%<------------------- end NewEnvBox ----------------------------------------->
+%<----------------------------- def macro arg opt---------------------------->
+\def\cmd#1{\cs{\expandafter\cmd at to@cs\string#1}}
+\def\cmd at to@cs#1#2{\char\number`#2\relax}
+\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
+\providecommand\marg[1]{{\ttfamily\char`\{}\opt{\meta{#1}}{\ttfamily\char`\}}}
+\providecommand\oarg[1]{{\ttfamily[}\opt{\meta{#1}}{\ttfamily]}}
+\providecommand\parg[1]{{\ttfamily(}\opt{\meta{#1}}{\ttfamily)}}
+\newcommand\opt[1]{{\color{myblue}#1}}
+\newcommand\ooarg[1]{{\ttfamily[}\meta{#1}{\ttfamily]}}
+\newcommand*{\var}[1]{\{\opt{\meta{#1}}\}}
+\newcommand*{\varp}[1]{\big(\opt{\meta{#1}}\big)}
+\newcommand*{\vara}[1]{\{#1\}}
+% -- Macros pour indexation -------------------------------------------------
+\newcommand*{\tkzNamePack}[1]{\NamePack{#1}}
+\newcommand*{\tkzNameMacro}[1]{\tkzcname{#1}\Imacro{#1}}
+\newcommand*{\tkzNameEnv}[1]{\tkzname{#1}\Ienv{#1}}
+\newcommand*{\Ilib}[1]{\index{Library_1@\texttt{Library}!\texttt{#1}}}
+\newcommand*{\Ienv}[1]{\index{Environment_1@\texttt{Environment}!\texttt{#1}}}
+\newcommand*{\IargEnv}[2]{\index{#1_2@\texttt{#1: arguments}!\texttt{#2}}}
+\newcommand*{\IargNameEnv}[2]{\texttt{#2}\index{#1_2@\texttt{#1: arguments}!\texttt{#2}}}
+\newcommand*{\IoptEnv}[2]{\index{#1_3@\texttt{#1: options}!\texttt{#2}}}
+\newcommand*{\IoptNameEnv}[2]{\texttt{#2}\index{#1_3@\texttt{#1: options}!\texttt{#2}}}
+\newcommand*{\Imacro}[1]{\index{#1_1@\texttt{\textbackslash#1}}}%n
+\newcommand*{\Iarg}[2]{\index{#1_2@\texttt{\textbackslash#1: arguments}!\texttt{#2}}}
+\newcommand*{\IargName}[2]{\texttt{#2}\index{#1_2@\texttt{\textbackslash#1: arguments}!\texttt{#2}}}
+\newcommand*{\IoptName}[2]{\texttt{#2}\index{#1_3@\texttt{\textbackslash#1: options}!\texttt{#2}}}
+\newcommand*{\Iopt}[2]{\index{#1_3@\texttt{\textbackslash#1: options}!\texttt{#2}}}
+\newcommand*{\Istyle}[2]{\index{#1_3@\texttt{\textbackslash#1: styles}!\texttt{#2}}}
+\newcommand*{\IstyleEnv}[2]{\index{#1_3@\texttt{#1: styles}!\texttt{#2}}}
+\newcommand*{\Iaccent}[2]{\index{#1@\texttt{#2}}}
+\newcommand*{\NameLib}[1]{\texttt{\textcolor{MidnightBlue}{#1}}\index{Ti\emph{k}Z Library !#1@\texttt{#1}}}
+\newcommand*{\NameSys}[1]{\texttt{#1}\index{Operating System !#1@\texttt{#1}}}
+\newcommand*{\NameDist}[1]{\texttt{\textcolor{MidnightBlue}{#1}}\index{TeX Distributions !#1@\texttt{#1}}}
+\newcommand*{\NameFonct}[1]{\texttt{\textcolor{MidnightBlue}{#1}}\index{Functions !#1@\texttt{#1}}}
+\newcommand*{\NamePack}[1]{\texttt{\textcolor{MidnightBlue}{#1}}\index{Package !#1@\texttt{#1}}}
+\newcommand*{\TOenvline}[3]{\IoptNameEnv{\ActivBoxName}{#1}&\tkzdft{#2}&\ttfamily #3\\}
+\newcommand*{\TOline}[3]{\IoptName{\ActivBoxName}{#1}&\tkzdft{#2}&\ttfamily #3\\}
+\newcommand*{\TAline}[3]{\IargName{\ActivBoxName}{#1}&\tkzdft{#2}&\ttfamily #3\\}
+\newcommand*{\TMline}[3]{\tkzcname{#1}\index{#1_1@\texttt{\textbackslash#1}}&\tkzdft{#2}&\ttfamily #3\\}
+\newcommand*{\tkzcname}[1]{\Imacro{#1}\textbf{\texttt{\textcolor{MidnightBlue}{%
+ \textbackslash#1}}}}
+\newcommand*{\tkzhname}[1]{\textbf{\texttt{\textcolor{MidnightBlue}{%
+ \textbackslash#1}}}}
+
+\DeclareRobustCommand\meta[1]{%
+\ensuremath\langle
+ \ifmmode \expandafter \nfss at text \fi
+ {%
+ \meta at font@select
+ \edef\meta at hyphen@restore
+ {\hyphenchar\the\font\the\hyphenchar\font}%
+ \hyphenchar\font\m at ne
+ \language\l at nohyphenation
+ \/#1\/%
+ \meta at hyphen@restore
+ }\ensuremath\rangle
+}
+\def\meta at font@select{}
+
+\renewcommand*{\idx at heading}{%
+ \idx@@heading{\indexname}%
+}
+\renewenvironment{theindex}{%
+ \@restonecoltrue
+ \columnseprule \z@
+ \columnsep 35\p@
+ \idx at heading%
+ \index at preamble\par\nobreak
+ \thispagestyle{\indexpagestyle}\parindent\z@
+ \setlength{\parskip}{\z@ \@plus .3\p@}%
+ \setlength{\parfillskip}{\z@ \@plus 1fil}%
+ \let\item\@idxitem
+}{%
+ \if at restonecol\onecolumn\else\clearpage\fi
+}
+%<----------- set colors of the document --------------------------
+\pgfkeys{/tkzsetupcolor/.cd,
+ background/.code = {\global\edef\tkz at suc@bkc{#1}},
+ text/.code = {\global\edef\tkz at suc@txt{#1}}}
+\def\tkzSetUpColors{\pgfutil at ifnextchar[{\tkz at SetUpColors}{%
+ \tkz at SetUpColors[]}}
+\def\tkz at SetUpColors[#1]{%
+\begingroup
+ \pgfkeys{tkzsetupcolor/.cd,
+ background = \tkz at background@color,
+ text = \tkz at text@color}
+ \pgfqkeys{/tkzsetupcolor}{#1}
+ \pagecolor{\tkz at suc@bkc}
+ \color{\tkz at suc@txt}
+\endgroup}
+
+%<---------------------------------------------------------------------
+\input{couverture}
+%<--------- presentation première page --------------------------------->
+\newcommand\presentation{%
+ \thispagestyle{empty}%
+ \par\vspace*{3 cm}
+ \begin{center}
+ {\textcolor{myblue}{\Huge \@nameoffile}}
+ \end{center}
+ \par\vspace*{3 cm}
+ \noindent
+ \newlength{\tkz at lx}\settowidth{\tkz at lx}{\huge \tkznamecollection}%
+ \advance\tkz at lx3em\quad
+ \href{\tkzurlauthor}{%
+ \rotatebox{90}{\hspace*{1.5em}{%
+ \textcolor{sectioncolor}{\Huge \tkznamecollection}}}}
+ \textcolor{sectioncolor}{\rule{2pt}{\tkz at lx}}\quad%
+ \begin{minipage}[b]{.90\textwidth}
+ {%
+ \noindent\hfill
+ \raggedleft\Large
+ \href{mailto:al.ma at mac.com}{\textcolor{sectioncolor}{\tkzauthorofpack}}\par
+ }%
+ {\@defoffile}
+ \par
+ \end{minipage}
+}
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkz-doc.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkzexample.sty
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkzexample.sty (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkzexample.sty 2020-04-11 22:34:53 UTC (rev 54663)
@@ -0,0 +1,502 @@
+% Documentation of tkz-euclide
+% Copyright 2020 Alain Matthes
+% 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.
+% The latest version of this license is in
+% 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.
+%
+% This work has the LPPL maintenance status “maintained”.
+%
+% The Current Maintainer of this work is Alain Matthes.
+
+%
+% The author of the original code
+% of the environment 'codeexample' is Till Tantau
+% from the file pgfmanual-en-macros.tex
+% (Copyright 2006 by Till Tantau)
+% See the file doc/generic/pgf/licenses/LICENSE for more details.
+% H I G H L Y E X P E R I M E N T A L
+%<--------------------------------------------------------------------------->
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{tkzexample}[2020/04/10 v1.43c (code and graphic)]
+\RequirePackage{calc,mdframed,fancyvrb}
+\newif\iftkzcodesaved
+\DeclareOption{saved}{\tkzcodesavedtrue}
+\ProcessOptions\relax
+%<--------------------------------------------------------------------------->
+\colorlet{graphicbackground}{white}
+\colorlet{codebackground}{white}
+\colorlet{codeonlybackground}{white}
+\colorlet{numbackground}{white}
+\colorlet{textcodecolor}{black}
+\colorlet{numcolor}{gray}
+%<--------------------------------------------------------------------------->
+\def\code at style{\small\ttfamily}
+\makeatletter
+\newcounter{code at cnt}%
+
+\ifx\scantokens\@undefined
+ \PackageError{tkzexample}{You need to use extended latex
+ (elatex) or (pdfelatex) to use this package}{}
+\fi
+
+% Define \find at tkzexample such that it doesn't destroy catcodes:
+\begingroup
+\catcode`|=0
+\catcode`[= 1
+\catcode`]=2
+\catcode`\{=12
+\catcode `\}=12
+\catcode`\\=12 |gdef|find at tkzexample#1\end{tkzexample}[|endoftkzexample[#1]]
+|endgroup
+
+\begingroup
+\catcode`|=0
+\catcode`[= 1
+\catcode`]=2
+\catcode`\{=12
+\catcode `\}=12
+\catcode`\\=12 |gdef|find at tkzltxexample#1\end{tkzltxexample}[|endoftkzltxexample[#1]]
+|endgroup
+
+% define \returntospace.
+%
+% It should define NEWLINE as {}, spaces and tabs as \space.
+\begingroup
+\catcode`\^=7
+\catcode`\^^M=13
+\catcode`\^^I=13
+\catcode`\ =13%
+\gdef\returntospace{\catcode`\ =13\def {\space}\catcode`\^^I=13\def^^I{\space}\catcode`\^^M=13\def^^M{}}%
+\endgroup
+
+\begingroup
+\catcode`\%=13
+\catcode`\^^M=13
+\gdef\commenthandler{\catcode`\%=13\def%{\@gobble at till@return}}
+\gdef\@gobble at till@return#1^^M{}
+\gdef\@gobble at till@return at ignore#1^^M{\ignorespaces}
+\gdef\typesetcomment{\catcode`\%=13\def%{\@typeset at till@return}}
+\gdef\@typeset at till@return#1^^M{{\def%{\char`\%}\textsl{\char`\%#1}}\par}
+\gdef\typesetcommentnum{\catcode`\%=13\def%{\@typeset at till@return at num}}
+\gdef\@typeset at till@return at num#1^^M{{\def%{\char`\%}\textsl{\char`\%#1}} \@@par}
+\endgroup
+
+\let\tkz at frameset\colorbox
+\let\tkz at frameltxset\colorbox
+\newwrite\fileexample
+\newdimen\tkzexamplewidth
+\newdimen\tkz at hsep
+\tkz at hsep=0pt
+\newif\ifcode at execute
+\newif\ifcode at saved\code at savedfalse
+\newif\ifnum at show \num at showfalse
+\newif\ifcode at overhang
+\newbox\tkzexamplebox
+\newif\ifcode at vbox \code at vboxfalse
+
+\pgfqkeys{/tkzexample}{%
+ execute code/.is if = code at execute,
+ show num/.is if = num at show,
+ overhang/.is if = code at overhang,
+ code only/.code = {\code at executefalse},
+ width/.code = {\setlength\tkzexamplewidth{#1}},
+ code/.code = {\colorlet{codebackground}{#1}},
+ graphic/.code = {\colorlet{graphicbackground}{#1}},
+ overhang/.code = {\code at overhangtrue},
+ num/.code = {\num at showtrue\setcounter{code at cnt}{1}},
+ numcolor/.code = {\colorlet{numcolor}{#1}},
+ numbkgcolor/.code = {\colorlet{numbackground}{#1}},
+ global num/.code = {\num at showtrue},
+ code style/.code = {\def\code at style{#1}},
+ normal/.code = {\def\code at size{\normalsize}},
+ small/.code = {\def\code at size{\small}},
+ very small/.code = {\def\code at size{\footnotesize}},
+ right margin/.code = {\def\tkz at rightmargin{#1}},
+ left margin/.code = {\def\tkz at leftmargin{#1}},
+ inner left margin/.code = {\def\tkz at innerleftmargin{#1}},
+ inner right margin/.code = {\def\tkz at innerrightmargin{#1}},
+ inner top margin/.code = {\def\tkz at innertopmargin{#1}},
+ inner bottom margin/.code = {\def\tkz at innerbottommargin{#1}},
+ line frame width/.code = {\def\tkz at linewidth{#1}},
+ frame code/.code = {\def\tkz at frameset{\fcolorbox{#1}}},
+ frame tex/.code = {\def\tkz at frameltxset{\fcolorbox{#1}}},
+ above skip/.code = {\def\tkz at above{#1}},
+ below skip/.code = {\def\tkz at below{#1}},
+ hsep/.code = {\setlength\tkz at hsep{#1}},
+ pre/.code = {\def\code at pre{#1}},
+ post/.code = {\def\code at post{#1}},
+ latex/.code = {\setlength\tkzexamplewidth{#1}%
+ \def\code at preadd{\begin{minipage}{#1}}%
+ \def\code at postadd{\end{minipage}}},
+ vbox/.code = {\code at vboxtrue
+ \def\code at preadd{\noindent
+ \vbox\bgroup
+ \setlength{\hsize}{\linewidth-6pt}%
+ }%
+ \def\code at postadd{\egroup}},
+ every tkzexample/.style={width=6cm},
+}%
+\def\code at size{}%
+\def\code at pre{}%
+\def\code at post{}%
+\def\code at preadd{}%
+\def\code at postadd{}%
+\def\tkz at above{\par}%
+\def\tkz at below{\par}%
+
+% execution du code
+\def\tkz at result{%
+ \begin{minipage}[t]{\wd\tkzexamplebox}%
+ \hrule width0pt
+ \code at size
+ \box\tkzexamplebox
+ \leavevmode
+ \end{minipage}%
+}%
+
+\newcommand\tkz at code[1]{%
+\begin{minipage}[t]{\code at width}{%
+\color{textcodecolor}%
+\parskip=\z@
+\hrule width\z@
+\vskip-.25em
+\let\do\@makeother
+\dospecials
+\frenchspacing
+\code at style\code at size
+\obeylines
+\@vobeyspaces
+\@tempswafalse
+\ifnum at show
+ \typesetcommentnum
+ \def\par{%
+ \if at tempswa
+ \leavevmode\null\@@par\penalty\interlinepenalty
+ \everypar{\setlength\fboxsep{1pt}%
+ \noindent\parskip=0pt%
+ \llap{\colorbox{numbackground}{\textcolor{numcolor}{%
+ \footnotesize\number\value{code at cnt}}}\enspace}%
+ \stepcounter{code at cnt}}%
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi%
+ \fi
+ }%
+ \everypar{\setlength\fboxsep{1pt}%
+ \noindent\parskip=0pt%
+ \llap{\colorbox{numbackground}{\textcolor{numcolor}{%
+ \footnotesize\number\value{code at cnt}}}\enspace}%
+ \stepcounter{code at cnt}%
+ }%
+\else
+ \typesetcomment
+ \def\par{%
+ \if at tempswa
+ \leavevmode\null\@@par\penalty\interlinepenalty%
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi%
+ \fi
+ }%
+\fi
+\obeylines
+\ifcode at saved\input{#1}\else#1\fi%
+}% end of content for the minipage
+\end{minipage}%
+}%
+
+\newcommand\tkz at codesplit[1]{%
+\begin{mdframed}[linewidth = \tkz at linewidth,
+ leftmargin = \tkz at leftmargin,
+ rightmargin = \tkz at rightmargin,
+ backgroundcolor = codeonlybackground,
+ innerleftmargin = \tkz at innerleftmargin,
+ innertopmargin = \tkz at innertopmargin]
+\begingroup
+\color{textcodecolor}%
+\parskip=\z@
+\hrule width0pt
+\let\do\@makeother
+\dospecials
+\frenchspacing
+\code at style\code at size
+\obeylines
+\@vobeyspaces
+\@tempswafalse
+\ifnum at show
+\typesetcommentnum
+\def\par{%
+ \if at tempswa
+ \leavevmode\null\@@par\penalty\interlinepenalty
+ \everypar{\setlength\fboxsep{1pt}%
+ \noindent\parskip=0pt%
+ \llap{\colorbox{numbackground}{\textcolor{numcolor}{%
+ \footnotesize\number\value{code at cnt}}}\enspace}%
+ \stepcounter{code at cnt}}%
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi
+ \fi
+}%
+\everypar{\setlength\fboxsep{1pt}%
+ \noindent\parskip=0pt%
+ \llap{\colorbox{numbackground}{\textcolor{numcolor}{%
+ \footnotesize\number\value{code at cnt}}}\enspace}%
+ \stepcounter{code at cnt}%
+ }%
+\else
+\typesetcomment%
+\def\par{%
+ \if at tempswa
+ \leavevmode\null\@@par\penalty\interlinepenalty%
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi%
+ \fi
+}%
+\fi
+\obeylines
+\ifcode at saved\input{#1}\else #1\fi
+\endgroup
+\end{mdframed}%
+}%
+
+
+\def\tkzref{\arabic{section}-\arabic{subsection}-\arabic{subsubsection}}%
+\def\tkzFileSavedPrefix{tkzFile}%
+\def\tkz at File@Saved at Name{\tkzFileSavedPrefix-\tkzref}%
+
+\iftkzcodesaved
+\def\tkzexample[#1]{%
+\code at executetrue
+\normalsize
+\pgfkeys{/tkzexample/.cd,
+ right margin = 0pt,
+ left margin = 0pt,
+ line frame width = 0,
+ inner left margin = 0 pt,
+ inner right margin = 0 pt,
+ inner top margin = 6 pt,
+ inner bottom margin = 0 pt}
+\pgfqkeys{/tkzexample}{every tkzexample,#1}%
+\parindent0pt
+\bgroup
+\VerbatimEnvironment
+\killienc\begin{VerbatimOut}{\tkz at File@Saved at Name.tex}}%
+\def\endtkzexample{\end{VerbatimOut}%
+\egroup
+\ifcode at execute
+\setbox\tkzexamplebox=\hbox{\input{\tkz at File@Saved at Name.tex}}%
+\ifdim\wd\tkzexamplebox>\tkzexamplewidth%
+ \gdef\code at mid{\parskip2pt\par}%
+% \hrule
+ %\def\code at mid{\hfill}%
+ \gdef\code at width{\linewidth}%
+\else
+ \ifdim\tkz at hsep=0pt
+ \gdef\code at mid{\hfill}%
+ \else
+ \gdef\code at mid{\hskip\tkz at hsep}%
+ \fi
+ \gdef\code at width{\linewidth-1.5em-\tkz at hsep-\tkzexamplewidth}%
+ \fi
+ \par\noindent
+ \code at savedtrue
+ \ifcode at overhang
+ \tkz at frameset{codebackground}{\tkz at code{\tkz at File@Saved at Name.tex}}%
+ \else
+ \tkz at frameltxset{graphicbackground}{\tkz at result}%
+ \fi
+ \else% pas de code pas clair
+ \gdef\code at mid{\hfill}%
+ \gdef\code at width{\linewidth}%
+ \gdef\code at end{}%
+ \fi% fin pas de code
+ \code at mid
+ \ifcode at overhang\tkz at frameltxset{graphicbackground}{\tkz at result}%
+ \else
+ \tkz at frameset{codebackground}{\tkz at code{\tkz at File@Saved at Name.tex}}%
+ \fi
+\tkz at below
+}%
+\else% end of code saved code et result ?
+\def\tkzexample[#1]{%
+\begingroup
+\code at executetrue
+\pgfkeys{/tkzexample/.cd,
+ right margin = 0pt,
+ left margin = 0pt,
+ line frame width = 0,
+ inner left margin = 0 pt,
+ inner right margin = 0 pt,
+ inner top margin = 6 pt,
+ inner bottom margin = 0 pt,}
+\pgfqkeys{/tkzexample}{every tkzexample,#1}%
+\parindent0pt
+\begingroup
+%\tkz at above
+\let\do\@makeother
+\dospecials
+\obeylines
+\@vobeyspaces
+\catcode`\%=13 %
+\catcode`\^^M=13 %
+\find at tkzexample}% #1 est tout ce qui se trouve dans l'environnement
+\def\endoftkzexample#1{%
+\endgroup
+\ifcode at execute % et \fcode at save ??
+ \setbox\tkzexamplebox=\hbox{%
+ {\commenthandler
+ \protected at xdef\code at temp{#1}}%
+ \catcode`\^^M=9 %
+ {\ignorespaces\code at preadd\code at pre
+ \expandafter\scantokens\expandafter{\code at temp\ignorespaces}%
+ \code at post\code at postadd\ignorespaces}%
+ }%
+ \ifdim\wd\tkzexamplebox>\tkzexamplewidth
+ \def\code at mid{\par}%
+ \def\code at width{\linewidth-6pt}%
+ \else
+ \ifdim\tkz at hsep=0pt
+ \def\code at mid{\hfill}%
+ \else
+ \def\code at mid{\hskip\tkz at hsep}%
+ \fi%
+ \def\code at width{\linewidth-1.5em-\tkz at hsep-\tkzexamplewidth}%
+ \fi%
+ \par\noindent
+ \ifcode at overhang
+ \tkz at frameset{codebackground}{\tkz at code{#1}}%
+ \else
+ \tkz at frameltxset{graphicbackground}{\tkz at result}%
+ \fi
+\else% pas de code execute
+ \def\code at mid{}%
+ \def\code at width{\linewidth-6pt}%
+ \def\code at end{}%
+ \fi% fin pas de code
+ \code at mid%
+ \ifcode at overhang%
+ \ifcode at execute\tkz at frameltxset{graphicbackground}{\tkz at result}\fi
+ \else%
+\ifcode at execute\tkz at frameset{codebackground}{\tkz at code{#1}}\else
+ \par\vskip1em
+ \tkz at codesplit{#1}
+ %\tkz at frameset{codebackground}{\tkz at code{#1}}%
+\fi
+ \fi
+ \tkz at below
+ \end{tkzexample}%
+}%
+\def\endtkzexample{\endgroup}%
+\fi
+%<--------------------------------------------------------------------------->
+\pgfqkeys{/tkzltxexample}{%
+ width/.code = {\setlength\tkzltxexamplewidth{#1}},
+ code/.code = {\colorlet{codeonlybackground}{#1}},
+ show num/.is if = num at show,
+ num/.code = {\num at showtrue\setcounter{code at cnt}{1}},
+ global num/.code = {\num at showtrue},
+ numcolor/.code = {\colorlet{numcolor}{#1}},
+ numbkgcolor/.code = {\colorlet{numbackground}{#1}},
+ normal/.code = {\def\code at size{\normalsize}},
+ small/.code = {\def\code at size{\small}},
+ very small/.code = {\def\code at size{\footnotesize}},
+ right margin/.code = {\def\tkz at rightmargin{#1}},
+ left margin/.code = {\def\tkz at leftmargin{#1}},
+ inner left margin/.code = {\def\tkz at innerleftmargin{#1}},
+ inner right margin/.code = {\def\tkz at innerrightmargin{#1}},
+ inner top margin/.code = {\def\tkz at innertopmargin{#1}},
+ inner bottom margin/.code = {\def\tkz at innerbottommargin{#1}},
+ line frame width/.code = {\def\tkz at linewidth{#1}},
+ hsep/.code = {\def\tkz at hsep{#1}},
+ typeset listing/.code = {#1},
+ frame code/.code = {\def\tkz at frameset{\fcolorbox{#1}}},
+ ignorespaces/.code = {\let\@gobble at till@return =%
+ \@gobble at till@return at ignore},
+ leave comments/.code = {\def\code at catcode@hook{\catcode`\%=12}%
+ \let\commenthandler=\relax%
+ \let\typesetcomment=\relax},
+ every tkzltxexample/.style = {width=8cm},
+ vbox/.code = {\def\code at preadd{\noindent
+ \vbox\bgroup\setlength{\hsize}{\linewidth}}%
+ \def\code at postadd{\egroup}}%
+}
+\def\code at size{}%
+% \def\code at pre{}
+\def\code at post{}%
+\def\code at pre{}%
+\def\code at post{}%
+\def\code at catcode@hook{}%
+
+\newdimen\tkzltxexamplewidth
+\newbox\tkzltxexamplebox
+
+\def\tkzltxexample[#1]{%
+\begingroup
+\pgfkeys{/tkzltxexample/.cd,
+ right margin = 0pt,
+ left margin = 0pt,
+ line frame width = 0,
+ inner left margin = 0 pt,
+ inner right margin = 0 pt,
+ inner top margin = 6 pt,
+ inner bottom margin = 0 pt,}
+\pgfqkeys{/tkzltxexample}{every tkzltxexample,#1}%
+\parindent0pt
+\begingroup%
+\let\do\@makeother
+\dospecials
+\obeylines
+\@vobeyspaces
+\catcode`\%=13 %
+\catcode`\^^M=13 %
+\code at catcode@hook%
+\relax%
+\find at tkzltxexample}
+\def\endoftkzltxexample#1{%
+\endgroup%
+\def\code at end{}%
+\par\vskip1em
+\tkz at codesplit{#1}%
+\par
+\code at post
+\end{tkzltxexample}%
+}%
+
+\def\endtkzltxexample{\endgroup}
+
+
+
+\newcommand\killienc{}
+\@tempcnta128
+\@whilenum\@tempcnta<\@cclvi\do{%
+ \edef\killienc{\killienc\catcode\the\@tempcnta=12}%
+ \advance\@tempcnta\@ne}
+
+\def\tkz at ref{\arabic{section}-\arabic{subsection}-\arabic{subsubsection}}
+\def\tkz at File@Saved at Name{\tkzFileSavedPrefix-\tkz at ref}
+\pgfkeys{
+/tkzsavedcode/.cd,
+ prefix/.code = {\def\tkzFileSavedPrefix{#1}}}
+
+\newcommand{\tkzSavedCode}[1][]{%
+\pgfkeys{%
+tkzsavedcode/.cd,
+ prefix = tkzFile}
+\pgfqkeys{/tkzsavedcode}{#1}
+\renewenvironment{tkzexample}[1][]{%
+\killienc\VerbatimOut{\tkz at File@Saved at Name.tex}}{%
+\endVerbatimOut}}
+
+% \renewenvironment{tkzexample}[1][]{%
+% \killienc \VerbatimOut{tkzeuc-\tkzref.tex}%
+% }{%
+% \endVerbatimOut
+% }
+% \fi
+\endinput
Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/tkzexample.sty
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Deleted: trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.cfg
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.cfg 2020-04-11 22:30:16 UTC (rev 54662)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.cfg 2020-04-11 22:34:53 UTC (rev 54663)
@@ -1,90 +0,0 @@
-% Copyright 2011 by Alain Matthes
-% encoding: utf8
-% Copyright 2020 Alain Matthes
-% 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.
-% The latest version of this license is in
-% 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.
-%
-% This work has the LPPL maintenance status “maintained”.
-%
-% The Current Maintainer of this work is Alain Matthes.
-
-% original tkz-doc.cfg
-%
-% If you modify this original file, YOUR CHANGES WILL BE LOST when it is
-% updated. Instead, put your changes in the entire copy of tkz-base.cfg
-% and save the file in a directory part of your TEXINPUTS environment
-% variable.
-%===============================================================================
-
-\def\fileversion{1.3c}
-\def\filedate{2020/03/03}
-
-% ============= colors =========================================================
-
-% \definecolor [⟨type⟩]{⟨name⟩}{⟨model-list⟩}{⟨spec-list⟩}
-% \providecolor [⟨type⟩]{⟨name⟩}{⟨model-list⟩}{⟨spec-list⟩}
-% \colorlet [⟨type⟩]{⟨name⟩}[⟨num model⟩]{⟨color⟩}
-\definecolor{myblue}{RGB}{020,120,180}
-\definecolor{fondpaille}{cmyk}{0,0,0.1,0}
-\definecolor{bistre}{rgb}{.75,.50,.30}
-\definecolor{textcolor}{RGB}{0, 0, 0}
-\providecolor{bistre}{rgb}{.75,.50,.30}
-\definecolor{mygray}{gray}{0.1}
-
-\colorlet{sectioncolor}{MidnightBlue}
-\colorlet{titlecolorbox}{gray!10}
-\colorlet{pdflinkcolor}{myblue}
-\colorlet{pdfurlcolor}{MidnightBlue}
-\colorlet{pdffilecolor}{Peach}
-\colorlet{stringcolor}{myblue!40!black!100}
-\colorlet{commencolor}{blue!0!black!100}
-
-\colorlet{graphicbackground}{white}
-\colorlet{codebackground}{lightgray!30}
-\colorlet{codeonlybackground}{lightgray!30}
-\colorlet{numbackground}{white}
-\colorlet{textcodecolor}{darkgray}
-\colorlet{numcolor}{MidnightBlue}
-
-\definecolor{Salmon}{RGB}{178,51,51}
-\definecolor{BrickRed}{RGB}{233,49,16}
-\definecolor{TealBlue}{RGB}{16,83,165}
-\definecolor{ForestGreen}{RGB}{10,112,43}
-\definecolor{Tangerine}{RGB}{244,176,108}
-\definecolor{DarkBrown}{RGB}{130,65,0}
-\definecolor{blueGrey}{rgb}{0.4,0.48,0.53}
-\def\tkzred{\color{red}}
-\def\tkzblue{\color{blue}}
-%--------------- mots importants et macros ---------------------------------
-\newcommand*{\BS}{\texttt{\char92}}
-\newcommand*{\tkz}{T{\em k}Z}
-\newcommand*{\PGF}{\tkzname{PGF}}
-\newcommand*{\TIKZ}{Ti\textsl{k}Z}
-\newcommand*{\pdf}{\textsc{pdf}}
-\newcommand*{\pgfname}{\textsc{pgf}}
-\newcommand*{\tikzname}{Ti{\em k}Z}
-\newcommand*{\tkzdft}[1]{{\texttt{#1}}}
-\newcommand*{\tkzAttention}[3]{\ \\\llap{\textcolor{#3}{#1\hskip #2}}}
-\newcommand*{\tkzHand}{\ \\\llap{\textcolor{red}{\lefthand\hskip1em}}}
-\newcommand*{\tkzBomb}{\ \\\llap{\textcolor{red}{\bomb\hskip1em}}}
-\newcommand*{\tkzTwoBomb}{\ \\\llap{\textcolor{red}{\bomb\ \bomb\hskip1em}}}
-\newcommand*{\tkzname}[1]{\textbf{\texttt{\textcolor{MidnightBlue}{#1}}}}
-\newcommand*{\tkzimp}[1]{\textbf{#1}}
-\newcommand*{\tkzHandBomb}{\ \\\llap{\textcolor{red}{\lefthand\ \bomb\hskip1em}}}
-\providecommand\LaTeX{L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}
-\providecommand\LATEX{\LaTeX}
-\renewcommand\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\spacefactor1000}
-\providecommand\TEX{\TeX}
-%-------------------------------------------------------------------------------
-\def\tkz at background@color{white}
-\def\tkz at text@color{black}
-\global\edef\tkz at suc@bkc{\tkz at background@color}
-\global\edef\tkz at suc@txt{\tkz at text@color}
-%-------------------------------------------------------------------------------
-\endinput
-
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds 2020-04-11 22:30:16 UTC (rev 54662)
+++ trunk/Master/tlpkg/libexec/ctan2tds 2020-04-11 22:34:53 UTC (rev 54663)
@@ -4,10 +4,11 @@
# Originally written by Sebastian Rahtz. Comments to tex-live at tug.org.
#
# A script to TL-install a package from CTAN.
-# For a higher-level invocation, see ctan2tl.
+# For the higher-level invocation that is what should be used in practice,
+# see tlpkg/bin/ctan2tl.
#
# Its default actions, given a "raw" directory copied from CTAN (the
-# current directory on invocation), are
+# current directory on invocation), are, approximately,
# 1. copy everything to texmf-dist/doc/<format>/<package>
# 2. run any .ins files
# 3. run any .mf files through mktextfm
More information about the tex-live-commits
mailing list.