summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-03-02 17:06:37 +0000
committerKarl Berry <karl@freefriends.org>2009-03-02 17:06:37 +0000
commit19fea6b94da44b2a4ba7a3f301c8c9bf453cfe39 (patch)
treed04d2e8c8f6bf83fb68d28757b34c8fdea0022c4 /Master
parentec105f442ef9d079793cc35460e4c7aa1d905ceb (diff)
new tikz package tkz-doc
git-svn-id: svn://tug.org/texlive/trunk@12286 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/tkz-doc/README1
-rw-r--r--Master/texmf-dist/doc/latex/tkz-doc/tkzexample.sty228
-rw-r--r--Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls423
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check6
-rwxr-xr-xMaster/tlpkg/libexec/ctan2tds1
-rw-r--r--Master/tlpkg/tlpsrc/collection-pictures.tlpsrc3
-rw-r--r--Master/tlpkg/tlpsrc/tkz-doc.tlpsrc2
7 files changed, 661 insertions, 3 deletions
diff --git a/Master/texmf-dist/doc/latex/tkz-doc/README b/Master/texmf-dist/doc/latex/tkz-doc/README
new file mode 100644
index 00000000000..1242f7acc2e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-doc/README
@@ -0,0 +1 @@
+Class and package for the documentation of all tkz-* packages.
diff --git a/Master/texmf-dist/doc/latex/tkz-doc/tkzexample.sty b/Master/texmf-dist/doc/latex/tkz-doc/tkzexample.sty
new file mode 100644
index 00000000000..8dde2148bde
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/tkz-doc/tkzexample.sty
@@ -0,0 +1,228 @@
+% Copyright 2009 by Alain Matthes
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License and/or
+% 2. under the GNU Free Documentation License.
+%
+% 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.
+%
+% Diff between tkexample and codeexample
+% I removed :
+% graphicbackground
+% I replaced \xdef\code@temp{#1}% by \protected@xdef\code@temp{#1}}%
+% now the use of accented letters with utf8 is possible.
+% I changed \def\code@mid{\hskip6pt}
+% \def\code@width{\linewidth-12pt\tkzexamplewidth}%
+% into
+% \def\code@mid{\hskip6pt\hskip2em}%
+% \def\code@width{\linewidth-12pt-2em-\tkzexamplewidth}
+% this is to add room for the numbers
+% I insert the next code to add numders in front of each line of code
+% \ifnum@show%
+% \noindent%
+% \llap{\colorbox{green!25!black}{%
+% \textcolor{white}{%
+% \number\value{code@cnt}}}\enspace}%
+% \stepcounter{code@cnt}%
+% \fi
+% I changed some keys :
+% I added
+% show num/.is if=num@show,
+% num/.code= {\num@showtrue\setcounter{code@cnt}{1}},
+% global num/.code= {\num@showtrue},
+% and latex/.code etc ...
+% I removed graphic/.code= {\colorlet{graphicbackground}{#1}},
+% I removed \raggedright
+%<----------------------------------------------------------------------------->
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{tkzexample}[2009/02/14 v1 beta code and graphic ]
+\definecolor{graphicbackground}{rgb}{0.96,0.96,0.8}%
+\definecolor{codebackground}{rgb}{0.8,0.8,1}%
+%\colorlet{codebackground}{Peach!20}%
+\colorlet{numbackground}{Peach!60!black}%
+\definecolor{numcolor}{rgb}{1,1,1}%
+\makeatletter
+\newcounter{code@cnt}%
+
+\ifx\scantokens\@undefined
+ \PackageError{tkzexample}{You need to use extended latex
+ (elatex) or (pdfelatex) to use this package}{}
+\fi
+
+% Define \find@example such that it doesn't destroy catcodes:
+\begingroup
+\catcode`|=0
+\catcode`[= 1
+\catcode`]=2
+\catcode`\{=12
+\catcode `\}=12
+\catcode`\\=12 |gdef|find@example#1\end{tkzexample}[|endoftkzexample[#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@till@return}}
+\gdef\@gobble@till@return#1^^M{}
+\gdef\@gobble@till@return@ignore#1^^M{\ignorespaces}
+\gdef\typesetcomment{\catcode`\%=13\def%{\@typeset@till@return}}
+\gdef\@typeset@till@return#1^^M{{\def%{\char`\%}\textsl{\char`\%#1}}\par}
+\endgroup
+
+
+
+\pgfqkeys{/tkzexample}{%
+ width/.code= {\setlength\tkzexamplewidth{#1}},
+ graphic/.code= {\colorlet{graphicbackground}{#1}},
+ code/.code= {\colorlet{codebackground}{#1}},
+ execute code/.is if=code@execute,
+ code only/.code= {\code@executefalse},
+ show num/.is if=num@show,
+ num/.code= {\num@showtrue\setcounter{code@cnt}{1}},
+ global num/.code= {\num@showtrue},
+ normal/.code= {\def\code@size{}},
+ small/.code= {\def\code@size{\small}},
+ very small/.code= {\def\code@size{\footnotesize}},
+ pre/.code= {\def\code@pre{#1}},
+ post/.code= {\def\code@post{#1}},
+ latex/.code= {\setlength\tkzexamplewidth{#1}%
+ \def\code@pre{\begin{minipage}{#1}}%
+ \def\code@post{\end{minipage}}},
+ vbox/.code= {\def\code@pre{\vbox\bgroup\setlength{\hsize}{\linewidth-6pt}}\def\code@post{\egroup}},
+ ignorespaces/.code= {\let\@gobble@till@return=\@gobble@till@return@ignore},
+ leave comments/.code= {\def\code@catcode@hook{\catcode`\%=12}\let\commenthandler=\relax\let\typesetcomment=\relax},
+ every tkzexample/.style={width=8cm+7pt},
+}
+\def\code@size{}
+\def\code@pre{}
+\def\code@post{}
+\def\code@catcode@hook{}
+
+\newdimen\tkzexamplewidth
+\newif\ifcode@execute
+\newif\ifnum@show
+\newbox\tkzexamplebox
+\def\tkzexample[#1]{%
+ %\setcounter{code@cnt}{1}%
+ \begingroup%
+ \code@executetrue
+ \pgfqkeys{/tkzexample}{every tkzexample,#1}%
+ \parindent0pt
+ \begingroup%
+ \par%
+ \medskip%
+ \let\do\@makeother%
+ \dospecials%
+ \obeylines%
+ \@vobeyspaces%
+ \catcode`\%=13%
+ \catcode`\^^M=13%
+ \code@catcode@hook%
+ \relax%
+ \find@example}
+\def\endoftkzexample#1{%
+ \endgroup%
+ \ifcode@execute%
+ \setbox\tkzexamplebox=\hbox{%
+ {%
+ {%
+ \returntospace%
+ \commenthandler%
+ \protected@xdef\code@temp{#1}%added by AM
+ }%
+ \colorbox{graphicbackground}{\color{black}\ignorespaces%
+ \code@pre\expandafter\scantokens\expandafter{\code@temp\ignorespaces}\code@post\ignorespaces}%
+ }%
+ }%
+ \ifdim\wd\tkzexamplebox>\tkzexamplewidth%
+ \def\code@start{\par}%
+ \def\code@flushstart{}%
+ \def\code@flushend{}%
+ \def\code@mid{\parskip2pt\par\noindent}%
+ \def\code@width{\linewidth-6pt}%
+ \def\code@end{}%
+ \else%
+ \def\code@start{%
+ \linewidth=\textwidth%
+ \parshape \@ne 0pt \linewidth
+ \leavevmode%
+ \hbox\bgroup}%
+ \def\code@flushstart{\hfill}%
+ \def\code@flushend{\hbox{}}%
+ \def\code@mid{\hskip6pt\hskip2em}%added \hskip2em by AM
+ \def\code@width{\linewidth-12pt-2em-\tkzexamplewidth}%modified by AM -2em
+ \def\code@end{\egroup}%
+ \fi%
+ \code@start%
+ \noindent%
+ \begin{minipage}[t]{\tkzexamplewidth}\raggedright
+ \hrule width0pt%
+ \code@size\vskip-1em%
+ \code@flushstart\box\tkzexamplebox\code@flushend%
+ \vskip-1ex%
+ \leavevmode%
+ \end{minipage}%
+ \else%
+ \def\code@mid{\par}
+ \def\code@width{\linewidth-6pt}
+ \def\code@end{}
+ \fi%
+ \code@mid%
+ \colorbox{codebackground}{%
+ \begin{minipage}[t]{\code@width}%
+ {%
+ \let\do\@makeother
+ \dospecials
+ \frenchspacing\@vobeyspaces
+ \normalfont\ttfamily\code@size%
+ \typesetcomment%
+ \@tempswafalse
+ \def\par{%
+ \if@tempswa
+ \leavevmode\null\@@par\penalty\interlinepenalty%
+ \ifnum@show%
+ \noindent\parskip=0pt%
+ \llap{\colorbox{numbackground}{%%added by AM
+ \textcolor{numcolor}{%%added by AM
+ \number\value{code@cnt}}}\enspace}%%added by AM
+ \stepcounter{code@cnt}%%added by AM
+ \fi
+ \else
+ \@tempswatrue%
+ \ifhmode\@@par\penalty\interlinepenalty\fi%
+ \ifnum@show%
+ \noindent\parskip=0pt%
+ \llap{\colorbox{numbackground}{%%added by AM
+ \textcolor{numcolor}{%%added by AM
+ \number\value{code@cnt}}}\enspace}%%added by AM
+ \stepcounter{code@cnt}%%added by AM
+ \fi
+ \fi}%
+ \obeylines
+ \everypar \expandafter{\the\everypar \unpenalty}%
+ #1}%
+ \end{minipage}}%
+ \code@end%
+ \par%
+ \medskip
+ \end{tkzexample}
+}
+
+\def\endtkzexample{\endgroup}
+
+\makeatother
diff --git a/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls b/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls
new file mode 100644
index 00000000000..5d5c81043ac
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls
@@ -0,0 +1,423 @@
+% $Id: tkz-doc.cls 2009-02-22 12h22 alain matthes $
+% Copyright (C) 2009 Alain Matthes
+%
+% This file may be distributed and/or modified
+%
+% 1. under the LaTeX Project Public License , either version 1.3
+% of this license or (at your option) any later version and/or
+% 2. under the GNU Public License.
+%
+% See the file doc/generic/pgf/licenses/LICENSE for more details.%
+% See http://www.latex-project.org/lppl.txt for details.
+%
+%
+% ``tkz-doc'' class for use with the tkz documentation ( AlterMundus Collection ).
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% tkz-doc.cls encodage : utf8 %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% %
+% Créé par Alain Matthes le 2009-02-22. %
+% %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+%% Objet : Classe LaTeX et Styles pour créer des documentations.
+%<----------------------------------------------------------------------------->
+%<---------------- Définitions relatives au package --------------------------->
+\newcommand*{\PackageName}{tkz-doc}
+\newcommand*{\PackageVersion}{0.3 beta}
+\newcommand*{\filedate}{2009/02/20}
+%<------------------------ Identification Part -------------------------------->
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{\PackageName}%
+[\filedate\space Version:\space\PackageVersion\space tkz documentation class]
+%
+\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}}
+\ProcessOptions\relax
+\LoadClass[titlepage,oneside]{scrartcl}
+\PassOptionsToPackage{dvipsnames}{xcolor}
+\RequirePackage{etex}
+\RequirePackage[utf8]{inputenc}
+\RequirePackage{xkeyval}[2005/11/25]
+\RequirePackage{framed,eso-pic}
+\RequirePackage{amsmath,amssymb}
+\RequirePackage{textcomp}
+\RequirePackage[upright]{fourier}
+\RequirePackage[scaled=0.85]{berasans}
+\RequirePackage[scaled=0.85]{beramono}
+\RequirePackage[bottom,stable,ragged]{footmisc}
+\RequirePackage[automark,nouppercase]{scrpage2}
+\pagestyle{scrheadings}
+\clearscrheadings
+\clearscrplain
+\ohead{\textcolor{Peach}{\pagemark}}
+\ihead{\textcolor{Peach}{\headmark}}
+\rofoot{\textcolor{Peach}{AlterMundus}}
+\lofoot{\textcolor{Peach}{tkz-tab.sty}}
+\automark[subsection]{section}
+\setheadsepline{.4pt}[\color{Peach}]
+\setfootsepline{.4pt}[\color{Peach}]
+\setheadwidth[0pt]{text}
+\setfootwidth[0pt]{text}
+\renewcommand{\footnoterule}{\vspace*{-3pt}{%
+ \color{Peach}\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{\sffamily}
+\setkomafont{sectioning}{\bfseries\SectionFontStyle}
+\setkomafont{pagenumber}{\bfseries\SectionFontStyle}
+\setkomafont{pagehead}{\small\sffamily}
+\setkomafont{pagefoot}{\small\sffamily}
+\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 ------------------------------->
+% --------------------–Fin Taille des fontes ------------------------------->
+\RequirePackage{makeidx}
+\makeindex
+\RequirePackage{calc}
+\RequirePackage{tikz}
+% We need lots of libraries...
+\usetikzlibrary{%
+ arrows,%
+ calc,%
+ fit,%
+ patterns,%
+ plotmarks,%
+ shapes.geometric,%
+ shapes.misc,%
+ shapes.symbols,%
+ shapes.arrows,%
+ shapes.callouts,%
+ shapes.multipart,%
+ automata,%
+ backgrounds,%
+ chains,%
+ topaths,%
+ trees,%
+ petri,%
+ matrix,%
+ calendar,%
+ folding,%
+ fadings,%
+ through,%
+ positioning,%
+ scopes,%
+ decorations.fractals,%
+ decorations.shapes,%
+ decorations.text,%
+ decorations.pathmorphing,%
+ decorations.pathreplacing,%
+ decorations.footprints,%
+ decorations.markings,%
+ shadows}
+\usetikzlibrary{snakes}
+\RequirePackage{multido}
+\RequirePackage{lscape}
+\RequirePackage{graphicx}
+\RequirePackage{amsmath, amssymb}
+\RequirePackage{array}
+\RequirePackage{multicol}
+\RequirePackage{multirow}
+\RequirePackage{tabularx,ragged2e}
+\RequirePackage{booktabs}
+\RequirePackage[bottom,stable,ragged]{footmisc}
+\RequirePackage{tkzexample}
+\raggedbottom
+\definecolor{sectioncolor}{RGB}{0, 0, 0}
+\definecolor{textcolor}{RGB}{0, 0, 0}
+\definecolor{shadecolor}{gray}{0.90}
+\colorlet{pdflinkcolor}{Peach}
+\colorlet{pdfurlcolor}{Peach}
+\colorlet{pdffilecolor}{Peach}
+\colorlet{stringcolor}{green!40!black!100}
+\colorlet{commencolor}{blue!0!black!100}
+\RequirePackage[pdftex,%
+ colorlinks=true,%
+ urlcolor=pdfurlcolor,%
+ filecolor=pdffilecolor,%
+ linkcolor=pdflinkcolor,%
+ breaklinks,%
+ linktocpage=true]{hyperref}
+\RequirePackage{url}
+\def\UrlFont{\small\ttfamily}
+%<----------------------------------------------------------------------------->
+\newcommand*{\Imacro}[1]{\index{#1_1@\texttt{\textbackslash#1}}}
+\newcommand*{\IEnv}[1]{\index{#1_1@\texttt{Environnement #1}}}
+\newcommand*{\Iarg}[2]{\index{#1_2@\texttt{\textbackslash#1: arguments}!\texttt{#2}}}
+\newcommand*{\IargName}[2]{\tkzname{#2}\index{#1_2@\texttt{\textbackslash#1: arguments}!\texttt{#2}}}
+\newcommand*{\IoptName}[2]{\tkzname{#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*{\Iaccent}[2]{\index{#1@\texttt{#2}}}
+\newcommand*{\addbs}[1]{\texttt{\textbackslash#1}}
+\newcommand*{\NameLib}[1]{\index{Ti\emph{k}Z Library !#1@\texttt{#1}}}
+\newcommand*{\NameSys}[1]{\index{Système d'exploitation !#1@\texttt{#1}}}
+\newcommand*{\NameDist}[1]{\index{Distributions TeX !#1@\texttt{#1}}}
+\newcommand*{\NameFonct}[1]{\index{Fonctions !#1@\texttt{#1}}}
+\newcommand*{\NamePack}[1]{\index{Package !#1@\texttt{#1}}}
+%<----------------------------------------------------------------------------->
+%<----------------------------------------------------------------------------->
+
+%<------------------------------------ Couverture ---------------------------->
+%<------------------------------------ Make Title ---------------------------->
+\renewcommand\maketitle{%
+
+\null
+\AddToShipoutPicture*{%
+\setlength\unitlength{1mm}
+\put(0,0){\makebox(0,0)[lb]{\color{Peach!10}\rule{\paperwidth}{\paperheight}}}
+\put(0,0){\makebox(0,0)[lb]{\color{Mahogany}\rule{40mm}{\paperheight}}}
+\put(22,200){\rotatebox{90}{%
+\makebox(0,0)[r]{\fontsize{60}{60}\color{orange!50!white}%
+\bfseries \selectfont{\@title\ \versionofpack}}}}%
+\put(2,230){%
+ \begin{tikzpicture}
+ \draw (0,0) node[circle,
+ shade,%
+ ball color=orange!50!white,
+ minimum size = 2 cm]{};
+ \draw[snake = expanding waves,%
+ color = orange!50!white,%
+ line width = 3pt](0,-1.2)--(0,-4);
+ \end{tikzpicture}}
+ \put(60,80){%
+ \begin{pgfpicture}
+\pgfmathdeclarerandomlist{color}{{Peach}{Orange}{Red}{Brown}}
+\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(80,250){\makebox(0,0)[l]{%
+\skuggadtext{Mahogany}{Peach!30}{\fontsize{50}{60}\selectfont{AlterMundus}}}}%
+\put(130,40){\makebox(0,0)[l]{%
+\fontsize{17}{21}
+\textcolor{Mahogany}{\selectfont{\authorofpack}}}}
+\put(130,30){\makebox(0,0)[l]{%
+\textcolor{Mahogany}{\url{http://altermundus.com}}}}}
+%<------------------------------- End Couverture ---------------------------->
+\setcounter{footnote}{0}%
+}
+%<------------------------------- def macro arg opt---------------------------->
+
+\def\cmd#1{\cs{\expandafter\cmd@to@cs\string#1}}
+\def\cmd@to@cs#1#2{\char\number`#2\relax}
+\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
+\providecommand\marg[1]{{\ttfamily\char`\{}\meta{#1}{\ttfamily\char`\}}}
+\providecommand\oarg[1]{{\ttfamily[}\meta{#1}{\ttfamily]}}
+\providecommand\parg[1]{{\ttfamily(}\meta{#1}{\ttfamily)}}
+
+\newcommand\opt[1]{{\color{black!50!green}#1}}
+\newcommand\ooarg[1]{{\ttfamily[}\meta{#1}{\ttfamily]}}
+
+\DeclareRobustCommand\meta[1]{%
+ \ensuremath\langle
+ \ifmmode \expandafter \nfss@text \fi
+ {%
+ \meta@font@select
+ \edef\meta@hyphen@restore
+ {\hyphenchar\the\font\the\hyphenchar\font}%
+ \hyphenchar\font\m@ne
+ \language\l@nohyphenation
+ #1\/%
+ \meta@hyphen@restore
+ }\ensuremath\rangle
+}
+\def\meta@font@select{\itshape}
+%
+%<----------------------------- NewMacroBox ----------------------------------->
+\colorlet{titlecolorbox}{Peach!50}
+
+\newenvironment{NewMacroBox}[2]{%
+\def\FrameCommand{\color{black}
+{\vrule width 1pt\hspace{3pt}}%
+}%
+\MakeFramed{\advance\hsize-\width}%
+\noindent
+\makebox[0pt][l]{%
+\hspace{-4pt}%
+\setlength{\fboxrule}{1pt}%
+\setlength{\fboxsep}{3pt}%
+\fcolorbox{black}{titlecolorbox}{%
+\rule{6pt}{0pt}%
+\makebox[\width+6pt][l]{\tkzcname{#1#2}}%
+}%
+}\\*[.5\baselineskip]%
+\noindent
+% \ignorespaces\tkzcname{#1#3}
+\Imacro{#1}
+\color{black}}{%
+\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 ----------------------------------->
+\colorlet{titlecolorbox}{Peach!50}
+
+\newenvironment{NewEnvBox}[1]{%
+\gdef\tkzEnvMacro{#1}
+\def\FrameCommand{\color{black}
+{\vrule width 1pt\hspace{3pt}}%
+}%
+\MakeFramed{\advance\hsize-\width}%
+\noindent
+\makebox[0pt][l]{%
+\hspace{-4pt}%
+\setlength{\fboxrule}{1pt}%
+\setlength{\fboxsep}{3pt}%
+\fcolorbox{black}{titlecolorbox}{%
+\rule{6pt}{0pt}%
+\makebox[\width+6pt][l]{%
+ \tkzcname{\textcolor{black}{begin}\{\tkzEnvMacro\}}{\oarg{options}}%
+ \hspace*{.25cm}\meta{environment contents}\hspace*{.25cm}%
+ \tkzcname{\textcolor{black}{end}\{\tkzEnvMacro\}}}%
+}%
+}\\*[.5\baselineskip]%
+\noindent
+% \ignorespaces\tkzcname{#1#3}
+\IEnv{#1}
+\color{black}}{%
+\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\nameoffile#1{\gdef\@nameoffile{#1}}
+\def\@nameoffile{\@latex@warning@no@line{No \noexpand\nameoffile given}}
+\long\def\defoffile#1{
+ \protected@xdef\@defoffile{\@defoffile{#1}}%
+}
+\let\@defoffile\@empty
+\def\nameoffile#1{\gdef\@nameoffile{#1}}
+\def\@nameoffile{\@latex@warning@no@line{No \noexpand\nameoffile given}}
+\long\def\defoffile#1{\protected@xdef\@defoffile{\@defoffile{#1}}%
+}
+\let\@defoffile\@empty
+
+\newcommand*{\red}{\color{BrickRed}}
+\newcommand*{\blue}{\color{BlueViolet}}
+\newcommand*{\BS}{\texttt{\char92}}
+\newcommand*{\tkz}{Ti{\em k}Z}
+\newcommand*{\orange}{\color{Orange}}
+\newcommand*{\blanc}{\color{White}}
+\newcommand*{\PGF}{\tkzname{PGF}}
+\newcommand*{\TIKZ}{\tkzname{Ti\emph{k}Z}}
+\newcommand*{\beamer}{\textsc{beamer}}
+\newcommand*{\pdf}{\textsc{pdf}}
+\newcommand*{\pgfname}{\textsc{pgf}}
+\newcommand*{\tikzname}{Ti\emph{k}Z}
+\newcommand*{\pstricks}{\textsc{pstricks}}
+\newcommand*{\var}[1]{\{\meta{#1}\}}
+\newcommand*{\varp}[1]{(\meta{#1})}
+\newcommand*{\vara}[1]{\{#1\}}
+\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 }
+%<----------------------------- presentation ---------------------------------->
+\providecommand\href[2]{\texttt{#1}}
+
+\newcommand\presentation{%
+ \thispagestyle{empty}%
+ \noindent
+ \begin{tikzpicture}
+ \draw (0,0) node[circle,
+ shade,
+ ball color=Peach,minimum size=2cm]{};
+ \draw[snake = expanding waves,%
+ color = Peach,%
+ line width = 3pt](1.2,0)--(4,0);
+ \end{tikzpicture}\par\vspace{1 cm}
+ \noindent
+ \newlength{\@lx}\settowidth{\@lx}{\huge AlterMundus}%
+ \advance\@lx3em\quad
+ \href{http://www.altermundus.com/}{%
+ \rotatebox{90}{\hspace*{1.5em}{\huge AlterMundus}}}
+ \textcolor{Mahogany}{\rule{2pt}{\@lx}}\quad%
+ \begin{minipage}[b]{.90\textwidth}
+ {%
+ \noindent\hfill
+ \raggedleft\Large
+ \href{mailto:al.ma@mac.com}{\textcolor{blue}{Alain Matthes}}\par
+ \@nameoffile\medskip\par%
+ }%
+ \emph{\@defoffile}\par
+ [\nameofdoc\ \dateofdoc]\par\medskip
+ \end{minipage}
+}
+%<------------------------ end presentation ---------------------------------->
+
+\newcommand*{\tkzname}[1]{\texttt{#1}}
+\newcommand*{\tkzimp}[1]{\textbf{#1}}
+\newcommand*{\tkzcname}[1]{\texttt{\textbackslash#1}}
+
+
+\definecolor{skugga}{gray}{0.7}
+\newlength{\skuggsep}
+\setlength{\skuggsep}{3pt}
+\newcommand{\skuggadtext}[3]{%
+\makebox[0pt][l]{%
+\rule{\skuggsep}{0pt}%
+\raisebox{-\skuggsep}{\textcolor{#2}{#3}}%
+}%
+\textcolor{#1}{#3}%
+}
+
+%<----------------------------------------------------------------------------->
+\endinput
+%<----------------------------------------------------------------------------->
+% utf8
+% pdflatex
+
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+ % %
+ % End of file `tkz-doc.cls'. %
+ % %
+ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 615b6234847..2b68102c10c 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -221,9 +221,9 @@ my @WorkingTLP = qw(
textcase textfit textopo textpath textpos
theoremref thesis-titlepage-fhac
thinsp thmtools thumb thumbpdf thuthesis ticket tikz-inet
- timetable titlefoot titlepages titlesec
- titling tocbibind
- tocloft todo todonotes
+ timetable titlefoot titlepages titlesec titling
+ tkz-doc
+ tocbibind tocloft todo todonotes
tokenizer toolbox tools toptesi totpages tracking
trajan translator tree-dvips trfsigns trivfloat trsym
tufte-latex tugboat tugboat-plain turnstile twoup txfonts Type1fonts
diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds
index 9a263bc2064..780a043553a 100755
--- a/Master/tlpkg/libexec/ctan2tds
+++ b/Master/tlpkg/libexec/ctan2tds
@@ -892,6 +892,7 @@ $standardtex='\.(cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$';
'tex-ewd', 'dotnot.tex',
'texsis', '\.txs|TXS.*tex|texsis.tex',
'ticket', '\.tdf|' . $standardtex,
+ 'tkz-doc', '\.cls', # no example.sty
'tools', '\.cfg|\.sty|\.clo|\.cls|\.def|\.fd$|.?\.tex|^\.tex$',
'translator', '\.dict|translator-language-mappings.tex|' . $standardtex,
'tugboat-plain','\.cmn|' . $standardtex,
diff --git a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc
index d2937882143..f619d2da06a 100644
--- a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc
@@ -33,6 +33,9 @@ depend schemabloc
depend swimgraf
depend texdraw
depend tikz-inet
+depend tkz-doc
+depend tkz-linknodes
+depend tkz-tab
depend tufte-latex
depend xypic
depend collection-basic
diff --git a/Master/tlpkg/tlpsrc/tkz-doc.tlpsrc b/Master/tlpkg/tlpsrc/tkz-doc.tlpsrc
new file mode 100644
index 00000000000..cb5ea31a775
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/tkz-doc.tlpsrc
@@ -0,0 +1,2 @@
+name tkz-doc
+category Package