mirror of https://github.com/matze/mtheme.git
Fix #260: check if TikZ external is loaded
This commit is contained in:
parent
dc7ae3d632
commit
c13b01f948
|
@ -126,7 +126,15 @@
|
||||||
}
|
}
|
||||||
% \end{macrocode}
|
% \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}
|
% \subsubsection{Component sub-packages}
|
||||||
%
|
%
|
||||||
|
|
Loading…
Reference in New Issue