From a87d1d585518d7f6db716bc9c3893e0270a0d830 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 13 Jun 2011 23:12:16 +0000 Subject: tkz-base (13jun11) git-svn-id: svn://tug.org/texlive/trunk@22961 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/tkz-base/tkz-tools-arith.tex | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'Master/texmf-dist/tex/latex/tkz-base') 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 -- cgit v1.2.3