I'm working with ShareLatex and I'm uploading .pdf image, so it takes a long time to compile because it is a large document. I found it is possible to automatic convert .pdf images to .png using:
\usepackage{graphicx}
\usepackage{epstopdf}
\epstopdfDeclareGraphicsRule{.pdf}{png}{.png}{convert #1 \OutputFile}
\DeclareGraphicsExtensions{.png,.pdf}
which will speed up the compiler but it seems that I need to call pdflatex with the --shell-escape option. The question is, how is it done in Sharelatex?
Here is the info of the webpage of ShareLatex
Thanks
--shell-escapebut you also need this to use themintedpackage. ShareLaTeX does however havemintedsupport. – Thorbjørn E. K. Christensen Nov 15 '17 at 00:06