I am using MiKTeX and running into a very strange issue when using EPS figures within a tabularx environment. Consider the following example:
\documentclass{beamer}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{epstopdf}
\graphicspath{{../Icons_Cisco/}}
\epstopdfsetup{outdir=./} %Required since more recent MiKTeX versions - the converted figure is not found otherwise
\begin{document}
\begin{frame}
\frametitle{Test}
\begin{figure}
%\includegraphics{cloud}
\end{figure}
\begin{table}
\begin{tabularx}{\textwidth}{m{0.4\textwidth}m{0.4\textwidth}}
\begin{figure}
\includegraphics{cloud}
\end{figure} & Picture of a cloud\\
\end{tabularx}
\end{table}
\end{frame}
\end{document}
This should produce a beamer slide with a cloud icon (when using the icons from http://www.cisco.com/c/dam/en_us/about/ac50/ac47/3015_eps.zip) and the text "Picture of a cloud". However, it fails to generate an output file with the following error message:
! Package pdftex.def Error: File `./cloud-eps-converted-to.pdf' not found.
The weird thing is, though, when uncommenting the commented line which includes the cloud icon outside the tabularx environment, I get a slide with two cloud icons. I presume that the EPS to PDF conversion is run only once per file, but I cannot find an explanation why it does not work inside the tabularx environment.
Is this a known issue or am I missing something obvious? Adding extra figures to my presentations is not really an option.

tabularxenvironment makes the conversion fail. – Andreas Unterweger Feb 05 '17 at 10:51beamerclass? – Feb 05 '17 at 10:52tabularxenvironment: At least one of the columns should be of typeX(or based on theXcolumn type). – Mico Feb 05 '17 at 10:52articleclass, I get! LaTeX Error: Not in outer par mode.Removing the figure environment insidetabularxfails again at the conversion as describe above. – Andreas Unterweger Feb 05 '17 at 10:56\writeto implement shell-escape. – David Carlisle Feb 05 '17 at 11:01figureenvironment inside atableenvironment; that's why you're getting the "not in outer par mode" error message when using thearticleclass. Thebeamerclass disables much of the code of thefigureandtableenvironments, since it makes little (actually, no!) sense to use floats in abeamerdocument. Nevertheless, don't use afigureenvironment here. – Mico Feb 05 '17 at 11:02\write. – Mico Feb 05 '17 at 11:17