EDIT The accepted answer completely solves my immediate problem, but for more detailed analysis of the underlying issue please refer to answer by cfr. Basically, pstricks and pdfTex don't mix well.
I have a beamer presentation with a lot of pie charts. I use pgf-pie package because it is easy and (mostly) does what I need. I have one particular pie-chart that should have no labels at all. I have tried adding
/tikz/nodes={text opacity=0,overlay}
to the code following advice found here.
Small pie-chart without any numbers or text
\documentclass{standalone}
\usepackage{pgf-pie}
\begin{document}
\begin{tikzpicture}
\pie [explode=0.1, color={blue!70, green!80, red, yellow} ,/tikz /nodes={text opacity=0,overlay}]{10/, 20/, 30/, 40/}
\end{tikzpicture}
\end{document}
Now, the strange thing is, the code works well in the example above (standalone class). However, it doesn't seem to do anything inside a beamer presentation, i.e. the labels still show. It seems that there is some sort of package conflict. How could I enable this to work in the beamer presentation? I know there are other ways to produce this but pgf-pie is quite handy otherwise.
\documentclass[12pt,compress]{beamer}
\usetheme{Warsaw}
\setbeamertemplate{navigation symbols}{}%remove navigation symbols
\setbeamercolor{alerted text}{fg=magenta}
%\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{wasysym}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{xcolor}
%\usepackage{iwona}
\usepackage{wrapfig}
\input{FactorTree}
\usepackage{pstricks}
\usetikzlibrary{matrix}
\usepackage{tkz-euclide}
\usetkzobj[all]
\usepackage{xlop}
\usepackage{tcolorbox}
\usepackage{pgfplots}
\usepackage{pgf-pie}
\usepackage[makeroom]{cancel}
\input{longdiv}







pgf-pie.stybe found? It is not in TeX Live. – cfr Sep 11 '16 at 16:21FactorTree.texto be found? If I ignore that error, I get further complaints if I use your preamble to try to construct a minimal example showing the problem. The problem is not Beamer alone, though. – cfr Sep 11 '16 at 18:45pstrickswith pdfTeX and that is never going to work properly like this. – cfr Sep 11 '16 at 19:28