diff options
-rw-r--r-- | Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex index 8c087c45479..01dd812f243 100644 --- a/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex +++ b/Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex @@ -6,16 +6,16 @@ % 2. under the GNU Public License. -\def\fileversion{1.16 c} -\def\filedate{2011/06/01} - +\def\fileversion{1.161 c} +\def\filedate{2011/06/12} +% 1.161 test if "isfactor" is already defined %<--------------------------------------------------------------------------–> % Objet : tools for arithmetic %<--------------------------------------------------------------------------–> % [About integers numbers] %<--------------------------------------------------------------------------–> -\ProvidesFile{tkz-tool-arith.tex}[tkz-tool-arith 1.13 c] +\ProvidesFile{tkz-tool-arith.tex}[tkz-tool-arith 1.161 c] \edef\tkzAtCode{\the\catcode`\@} \catcode`\@=11\relax %<--------------------------------------------------------------------------–> @@ -110,7 +110,8 @@ \endgroup} }{} %<---------------------------------------------------------------------------> -\pgfmathdeclarefunction{isfactor}{2}{% +\tkzutil@ifundefined{pgfmath@function@isfactor}{% + \pgfmathdeclarefunction{isfactor}{2}{% \begingroup \c@pgfmath@counta#1\relax% \c@pgfmath@countb#2\relax% @@ -123,7 +124,8 @@ \def\pgfmathresult{0}% \fi \pgfmath@smuggleone\pgfmathresult% -\endgroup} +\endgroup} +}{} %<---------------------------------------------------------------------------> \def\tkzfactors#1{% \begingroup |