diff options
author | Karl Berry <karl@freefriends.org> | 2011-06-13 23:12:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2011-06-13 23:12:16 +0000 |
commit | a87d1d585518d7f6db716bc9c3893e0270a0d830 (patch) | |
tree | 5f3baaa68ee2c62a9343cf55943fcb662d2ab300 /Master/texmf-dist/tex/latex | |
parent | 55b1dad1f932761ea946bbc2a48d385e49079d7a (diff) |
tkz-base (13jun11)
git-svn-id: svn://tug.org/texlive/trunk@22961 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-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 |