\immediate\write18{tex template.dtx}
\documentclass{article}
\usepackage{tikz}
\usepackage{template}

\begin{document}
\end{document}

% Local Variables:
% tex-output-type: "pdf18"
% End: