Fix #260: check if TikZ external is loaded

This commit is contained in:
Matthias Vogelgesang 2017-02-14 09:49:01 +01:00
parent dc7ae3d632
commit c13b01f948
1 changed files with 8 additions and 0 deletions

View File

@ -126,7 +126,15 @@
}
% \end{macrocode}
%
% To avoid generating externalized figures of the progressbar we have to disable
% them with ``tikzexternalenable'' and ``tikzexternaldisable''. However, if the
% ``external'' libray is not loaded we would get undefined control sequence
% problems, hence we define them as no-ops if they are not defined yet.
%
% \begin{macrocode}
\ifx\tikzexternalenable\undefined \newcommand{\tikzexternalenable}{} \fi
\ifx\tikzexternaldisable\undefined \newcommand{\tikzexternaldisable}{} \fi
% \end{macrocode}
%
% \subsubsection{Component sub-packages}
%