texlive[68665] Master: tkz-doc runtime files

commits+karl at tug.org commits+karl at tug.org
Thu Oct 26 22:56:16 CEST 2023


Revision: 68665
          https://tug.org/svn/texlive?view=revision&revision=68665
Author:   karl
Date:     2023-10-26 22:56:15 +0200 (Thu, 26 Oct 2023)
Log Message:
-----------
tkz-doc runtime files

Modified Paths:
--------------
    trunk/Master/tlpkg/libexec/ctan2tds

Added Paths:
-----------
    trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.pdf
    trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.tex
    trunk/Master/texmf-dist/tex/latex/tkz-doc/
    trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cfg
    trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls

Removed Paths:
-------------
    trunk/Master/texmf-dist/doc/latex/tkz-doc/doc/latex/
    trunk/Master/texmf-dist/doc/latex/tkz-doc/doc/tkz-doc.pdf
    trunk/Master/texmf-dist/doc/latex/tkz-doc/latex/

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

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

Index: trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.pdf
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.pdf	2023-10-26 19:55:40 UTC (rev 68664)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.pdf	2023-10-26 20:56:15 UTC (rev 68665)

Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.pdf
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/pdf
\ No newline at end of property
Added: trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.tex
===================================================================
--- trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.tex	                        (rev 0)
+++ trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.tex	2023-10-26 20:56:15 UTC (rev 68665)
@@ -0,0 +1,133 @@
+% !TEX TS-program = lualatex
+% encoding : utf8 
+% Documentation of tkz-doc.cls
+% Copyright 2022  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.
+%
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                               %
+%   doc   altermqcm.sty    encodage : utf8                      %
+%                                                               %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%                                                               %
+%           Créé par Alain Matthes le 21/03/2009                %
+%  Copyright (c) 2009 __AlterMundus__ All rights reserved.      %
+%        version : 1.45c   2022                                 %
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+
+\PassOptionsToPackage{unicode}{hyperref}
+
+\documentclass[DIV         = 14,
+               fontsize    = 10,
+               index       = totoc,
+               twoside,
+               cadre,
+               headings    = small,
+               ]{tkz-doc}
+\gdef\tkznameofpack{tkzexample.sty}
+\gdef\tkzversionofpack{1.45c}
+\gdef\tkzdateofpack{\today}
+\gdef\tkznameofdoc{doc-tkzexample}
+\gdef\tkzversionofdoc{1.45c} 
+\gdef\tkzdateofdoc{\today}
+\gdef\tkzauthorofpack{Alain Matthes}
+\gdef\tkzadressofauthor{}
+\gdef\tkznamecollection{AlterMundus}
+\gdef\tkzurlauthor{http://altermundus.fr}
+
+\gdef\tkznameofpack{tkz-doc.cls}
+\gdef\tkzversionofpack{v1.45}
+\gdef\tkzdateofpack{2022/07/14}
+\gdef\tkznameofdoc{doc-tkz-doc}
+\gdef\tkzdateofdoc{2022/07/14}
+\gdef\tkzauthorofpack{Alain Matthes}
+\gdef\tkzadressofauthor{}
+\gdef\tkznamecollection{AlterMundus}
+\gdef\tkzurlauthor{http://altermundus.fr}
+
+
+\gdef\tkzengine{lualatex}
+\gdef\tkzurlauthorcom{http://altermundus.fr}
+\nameoffile{\tkznameofpack}
+\RequirePackage{fancybox}
+\usepackage{fontspec,pgfornament}
+\setmainfont{texgyrepagella}[
+  Extension = .otf,
+  UprightFont = *-regular ,
+  ItalicFont  = *-italic  ,
+  BoldFont    = *-bold    ,
+  BoldItalicFont = *-bolditalic
+]
+\setsansfont{texgyreheros}[
+  Extension = .otf,
+  UprightFont = *-regular ,
+  ItalicFont  = *-italic  ,
+  BoldFont    = *-bold    ,
+  BoldItalicFont = *-bolditalic ,
+]
+
+\setmonofont{lmmono10-regular.otf}[
+  Numbers={Lining,SlashedZero},
+  ItalicFont=lmmonoslant10-regular.otf,
+  BoldFont=lmmonolt10-bold.otf,
+  BoldItalicFont=lmmonolt10-boldoblique.otf,
+]
+\newfontfamily\ttcondensed{lmmonoltcond10-regular.otf}
+%% (La)TeX font-related declarations:
+\linespread{1.05}      % Pagella needs more space between lines
+%\usepackage{unicode-math}
+\usepackage[math-style=literal,bold-style=literal]{unicode-math}
+\usepackage{fourier-otf}
+\let\rmfamily\ttfamily
+\usepackage{multicol,lscape}
+\usepackage[english]{babel}
+\usepackage[normalem]{ulem}
+\usepackage{multirow,multido,booktabs,cellspace}
+\usepackage{shortvrb,fancyvrb,bookmark} 
+\usepackage{makeidx}
+\makeindex 
+
+%<-------------------------------------------------------------------------> 
+% settings styles
+\tkzSetUpColors[background=white,text=black]  
+\AtBeginDocument{\MakeShortVerb{\|}} % link to shortvrb
+\RequirePackage{shortvrb}  
+\AtBeginDocument{\MakeShortVerb{\|}}
+
+\begin{document}
+%<-------------------------------------------------------------------------> 
+\parindent=0pt
+\tkzTitleFrame{tkz-doc.cls\\A class to present \\ the tkz packages}
+\clearpage
+
+
+\nameoffile{\tkznameofpack} 
+\defoffile{\textbf{tkzdoc.cls} is a class that allows me to make the documentation of my packages. If you want to use this class, it is better to analyze the source code first. This class is based on the class \tkzname{scrartcl}. This class is designed to compile with \tkzname{lualatex}. I added a single option: \tkzname{cadre} which allows to add a frame on the cover. The class is completed with a tkz-doc.cfg file that allows to define the colors that will be used.}
+
+\presentation
+
+\vfill
+
+
+
+\vspace{1cm}
+\vfill
+Please report typos or any other comments to this documentation to: \href{mailto:al.ma at mac.com}{\textcolor{blue}{Alain Matthes}}.
+This file can be redistributed and/or modified under the terms of the \LaTeX{} 
+Project Public License Distributed from \href{http://www.ctan.org/}{CTAN}\  archives.
+
+
+
+
+\end{document}
+


Property changes on: trunk/Master/texmf-dist/doc/latex/tkz-doc/tkz-doc.tex
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cfg
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cfg	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cfg	2023-10-26 20:56:15 UTC (rev 68665)
@@ -0,0 +1,59 @@
+% !TEX TS-program = lualatex
+% encoding : utf8 
+% Documentation of tkz-doc.cls
+% Copyright 2022  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.45c}
+\def\filedate{2020/04/22}
+\typeout{2020/04/22 1.45c 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} 
+\definecolor{blueGrey}{rgb}{0.4,0.48,0.53}
+\providecolor{bistre}{rgb}{.75,.50,.30}
+
+\colorlet{graphicbackground}{white}
+\colorlet{codebackground}{lightgray!30}
+\colorlet{codeonlybackground}{lightgray!30}    
+\colorlet{numbackground}{white}
+\colorlet{textcodecolor}{darkgray}
+\colorlet{numcolor}{black}  
+\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{framecolor}{myblue}
+%-------------------------------------------------------------------------------
+\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/tex/latex/tkz-doc/tkz-doc.cfg
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls	                        (rev 0)
+++ trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls	2023-10-26 20:56:15 UTC (rev 68665)
@@ -0,0 +1,515 @@
+% tkz-doc.cls
+% encoding: utf8
+% Copyright 2022  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  and Styles to create documentation.
+%<-------------- Définitions relatives au package --------------------------->
+\newcommand*{\PackageName}{tkz-doc}
+\newcommand*{\PackageVersion}{1.45c}
+\newcommand*{\filedate}{2022/07/14}
+
+\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{tikz}
+\usetikzlibrary{decorations.shapes,
+                decorations.text,
+                decorations.pathreplacing,
+                decorations.pathmorphing,
+                decorations.markings,
+                shadows}
+\RequirePackage{ragged2e}
+\RequirePackage[bottom,stable,ragged]{footmisc}
+\raggedbottom
+\RequirePackage{framed,eso-pic}
+\RequirePackage[automark,markcase=ignoreuppercase]{scrlayer-scrpage}
+\RequirePackage[yyyymmdd]{datetime}
+\RequirePackage{booktabs,cellspace,multicol}
+%<------------- 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}}
+\setheadwidth[0pt]{text}
+\KOMAoptions{footsepline=.4pt}
+\addtokomafont{footsepline}{\color{sectioncolor}}
+\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 -----------------------------
+
+
+%<---------------  some macros --------------------------------------------
+\newbox\tkzbox
+\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}} %\cs parfois ??
+
+%<-------------------------- 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 ----------------------------------------->
+
+
+
+%<--------------% Define mybox and box title style----------------------------->
+% We need to save the node
+% Every append after command might be useful to have this code
+
+\def\savelastnode{\pgfextra\edef\tmpA{\tikzlastnode}\endpgfextra}
+\def\restorelastnode{\pgfextra\edef\tikzlastnode{\tmpA}\endpgfextra}
+
+\tikzstyle{mybox} = [draw=blue!50!black, very thick,
+    rectangle, rounded corners, inner sep=10pt, inner ysep=20pt,text=darkgray]
+\tikzstyle{fancytitle} =[fill=MidnightBlue!20, text=blue!50!black,rounded corners]
+\tikzstyle{title} = [append after command={%
+    \savelastnode node[fancytitle,right=10pt] at (\tikzlastnode.north west)%
+    {#1}\restorelastnode}]
+%<------------------- end mybox ----------------------------------------->
+    
+
+%---------------  mots importants et macros ---------------------------------
+\providecommand*{\BS}{\texttt{\char92}}
+\providecommand*{\tkz}{T{\em k}Z}
+\providecommand*{\PGF}{\tkzname{PGF}}      
+\providecommand*{\TIKZ}{Ti\textsl{k}Z} 
+\providecommand*{\tikzname}{Ti{\em k}Z}
+\providecommand*{\pgfname}{\textsc{pgf}}
+\providecommand*{\tkzdft}[1]{{\texttt{#1}}}
+\providecommand*{\tkzAttention}[3]{\ \\\llap{\textcolor{#3}{#1\hskip #2}}} 
+\providecommand*{\tkzHand}{\ \\\llap{\textcolor{red}{\lefthand\hskip1em}}}
+\providecommand*{\tkzBomb}{\ \\\llap{\textcolor{red}{\bomb\hskip1em}}}
+\providecommand*{\tkzTwoBomb}{\ \\\llap{\textcolor{red}{\bomb\ \bomb\hskip1em}}}
+\providecommand*{\tkzname}[1]{\textbf{\texttt{\textcolor{black}{#1}}}}
+\providecommand*{\tkzimp}[1]{\textbf{#1}}
+\providecommand*{\tkzHandBomb}{\ \\\llap{\textcolor{red}{\lefthand\ \bomb\hskip1em}}}
+\providecommand\LaTeX{L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}
+\renewcommand\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\spacefactor1000}
+\providecommand\LATEX{\LaTeX} 
+\providecommand\TEX{\TeX} 
+
+%<----------------------------- def macro arg opt---------------------------->
+\DeclareRobustCommand\cs[1]{\texttt{\char`\\#1}}
+\def\cmd at to@cs#1#2{\char\number`#2\relax}
+\def\cmd#1{\cs{\expandafter\cmd at to@cs\string#1}}
+
+\providecommand\marg[1]{{\ttfamily\char`\{}\opt{\meta{#1}}{\ttfamily\char`\}}}
+\providecommand\parg[1]{{\ttfamily(}\opt{\meta{#1}}{\ttfamily)}}
+\providecommand\oarg[1]{{\ttfamily[}\opt{\meta{#1}}{\ttfamily]}}
+\providecommand\ooarg[1]{{\ttfamily[}\meta{#1}{\ttfamily]}}
+\providecommand\opt[1]{{\color{myblue}#1}}
+\providecommand*{\var}[1]{\{\opt{\meta{#1}}\}}
+\providecommand*{\varp}[1]{\big(\opt{\meta{#1}}\big)}
+\providecommand*{\vara}[1]{\{#1\}}
+
+% -- Macros pour indexation -------------------------------------------------
+% It is necessary to think about \protect
+\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*{\IstyleEnv}[2]{\index{#1_3@\texttt{#1: styles}!\texttt{#2}}}
+\newcommand*{\Iaccent}[2]{\index{#1@\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*{\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*{\tkzhname}[1]{\textbf{\texttt{\textcolor{MidnightBlue}{%
+                      \textbackslash#1}}}}
+\newcommand*{\tkzNameSys}[1]{\texttt{\textcolor{MidnightBlue}{#1}}\index{Operating System   !#1@\texttt{#1}}}
+\newcommand*{\tkzNameDist}[1]{\texttt{\textcolor{MidnightBlue}{#1}}\index{TeX Distributions  !#1@\texttt{#1}}}          \newcommand{\red}{\color{BrickRed}}
+% print #1 but add index
+\newcommand*{\tkzcname}[1]{\Imacro{#1}\textbf{\texttt{\textcolor{MidnightBlue}{%
+ \textbackslash#1}}}}
+\renewcommand\TeX{T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX%
+  \spacefactor1000 }
+\providecommand\LaTeX{%
+  L\kern-.36em\raise.3ex\hbox{\sc a}\kern-.15em\TeX}
+\providecommand\LATEX{\LaTeX} 
+%    Some definitions useful in producing this sort of documentation:
+\chardef\bslash=`\\ % p. 424, TeXbook
+%    Normalized (nonbold, nonitalic) tt font, to avoid font
+%    substitution warning messages if tt is used inside section
+%    headings and other places where odd font combinations might
+%    result.
+\newcommand{\ntt}{\normalfont\ttfamily}
+%    command name
+\newcommand{\cn}[1]{{\protect\ntt\bslash#1}}
+%    LaTeX package name
+\newcommand{\pkg}[1]{{\protect\ntt#1}}
+%    File name
+\newcommand{\fn}[1]{{\protect\ntt#1}}
+%    environment name
+\newcommand{\env}[1]{{\protect\ntt#1}}
+\hfuzz1pc % Don't bother to report overfull boxes if overage is < 1pc
+         
+
+\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}
+
+%<---------------------------------------------------------------------
+%<------------------  couverture.  ------------------------------------
+\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,180){% 270 en portrait 180 en landscape
+   \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   cover ---------------------------->
+%<--------- presentation first 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]{.70\textwidth}
+    {%
+    \noindent\hfill
+     \raggedleft\Large
+     \href{mailto:al.ma at mac.com}{\textcolor{sectioncolor}{\tkzauthorofpack}}\par
+     }%
+    {\@defoffile}
+   \par
+  \end{minipage}
+}
+%<----------------------- Spc. Table  ---------------------------->
+\newcommand{\tkzsubf}[2]{%
+  {\small\begin{tabular}[t]{@{}c@{}}
+  #1\\#2
+  \end{tabular}}%
+}
+
+\renewcommand{\labelitemi}{--}
+\setlength\parindent{0pt}
+\RedeclareSectionCommand[tocnumwidth=3.5em]{part}
+\RedeclareSectionCommand[tocnumwidth=3.5em]{section}
+\RedeclareSectionCommand[tocnumwidth=3.5em]{subsection}
+\RedeclareSectionCommand[tocnumwidth=3.5em]{subsubsection}
+\renewcommand\partheadstartvskip{\clearpage\null\vfil}
+\renewcommand\partheadmidvskip{\par\nobreak\vskip 20pt\thispagestyle{empty}}
+\renewcommand\partheadendvskip{\vfil\clearpage}
+\renewcommand\raggedpart{\centering}
+
+%<-------------------------------------------------------------------------
+% code for booktab font change command see jos-astuces.rtfd
+\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}}%
+
+% table inside the cover ---------------------------->
+
+\def\tkzTitleFrame#1{%
+\edef\titleinframe{#1}
+\author{\tkzauthorofpack}  
+\title{\tkznameofpack}
+\date{\today}
+\clearpage
+\thispagestyle{empty}
+\maketitle
+\null
+\if at tkzcadre 
+\AddToShipoutPicture*{%
+\setlength\unitlength{1mm}
+\if at landscape\def\tkz at posy{90}\def\tkz at posx{160}%
+\else\def\tkz at posx{70}\def\tkz at posy{140}
+\fi
+\put(\tkz at posx,\tkz at posy){%
+\begin{tikzpicture}[color=framecolor,
+every node/.style={inner sep=0pt}]
+ \node[draw,line width=2pt,double,color=framecolor,
+ fill=myblue!10,opacity=.5,minimum width=300pt,minimum height=240pt] (vecbox) {};
+ \node[text width=240pt]  at (vecbox.center){%
+  \begin{center}
+    \color{MidnightBlue}
+      \fontsize{24}{48}
+    \selectfont\titleinframe%
+ \end{center}};
+ \node[anchor=north west] at (vecbox.north west)
+{\pgfornament[width=2cm]{61}}; 
+\node[anchor=north east] at (vecbox.north east)
+{\pgfornament[width=2cm,symmetry=v]{61}}; 
+\node[anchor=south west] at (vecbox.south west)
+{\pgfornament[width=2cm,symmetry=h]{61}}; 
+\node[anchor=south east] at (vecbox.south east) {\pgfornament[width=2cm,symmetry=c]{61}};
+\end{tikzpicture}
+}
+}\fi}
+\endinput
\ No newline at end of file


Property changes on: trunk/Master/texmf-dist/tex/latex/tkz-doc/tkz-doc.cls
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Modified: trunk/Master/tlpkg/libexec/ctan2tds
===================================================================
--- trunk/Master/tlpkg/libexec/ctan2tds	2023-10-26 19:55:40 UTC (rev 68664)
+++ trunk/Master/tlpkg/libexec/ctan2tds	2023-10-26 20:56:15 UTC (rev 68665)
@@ -1442,6 +1442,7 @@
  'tksbrief',    "die 'skipping, LaTeX 2.09'",
  'tkz',         "die 'skipping, container directory'",
  'tkz-base',    "&MAKEtkz",
+ 'tkz-doc',	"&MAKEtkz",
  'tkz-elements',"&MAKEtkz",
  'tkz-euclide', "&MAKEtkz",
  'tkz-fct',     "&MAKEtkz",



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