You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2023. It is now read-only.
What steps will reproduce the problem?
The following example does not compile:
\documentclass{standalone}
\usepackage{pgf-pie}
\begin{document}
\begin {tikzpicture}[thick]
\tikzstyle{every node}=[font=\LARGE]
\pie[polar,sum=auto,text=inside,after number={}]{10.45/A, 20.78/B, 30.67/C,
40.10/D}
\end{tikzpicture}
\end{document}
To fix it author should use ifdim instead of ifnum:
%%%%%%%%%% CIRCLE PIE BGEIN %%%%%%%%%%% %%%%%%%%%% CIRCLE PIE BGEIN %%%%%%%%%%%
\ifpolar \ifpolar
\xdef\maxValue{0} \xdef\maxValue{0}
\newdimen \@temp
\foreach \p/\e in {#2} { \foreach \p/\e in {#2} {
\@temp=\maxValue pt
\ifdim \p pt > \@temp \ifnum \maxValue < \p
\xdef\maxValue{\p} \xdef\maxValue{\p}
\fi \fi
} }
Original issue reported on code.google.com by pko...@gmail.com on 4 May 2014 at 9:24
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
pko...@gmail.com
on 4 May 2014 at 9:24The text was updated successfully, but these errors were encountered: