# [OS X TeX] Using \usepgfplotslibrary{external}

Herbert Schulz herbs at wideopenwest.com
Thu Aug 4 08:52:13 EDT 2016

> On Aug 4, 2016, at 7:22 AM, Martin Bergren <martin.berggren at cs.umu.se> wrote:
>
> I would like to be able to use
>
> \usepgfplotslibrary{external}
>
> for pgfplots, which apparently should be able to store the pgfplots or tikz figures as pdfs to shorten latexing time. The problem seem to be write18.
> Is there a way around it?
>
> Cheers,
>
>
> Martin Berggren

Howdy,

Assuming you are using TeXShop:

One thing you can use is the sepdflatexmk engine. This is set up to use latexmk so that all processing through bibtex/biber and makeindex is taken care of if necessary and the pdflatex has the --shell-escape flag set. To use it simply place the line

% !TEX TS-program = sepdflatexmk

at the top of your file and then typeset the document by simply using Typeset->Typeset (Cmd-T).

Good Luck,

Herb Schulz
(herbs at wideopenwest dot com)