\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{polytexnic_commands}
\usepackage{pygments}
\usepackage{amsmath}
\usepackage{fancyvrb} % to get 'Verbatim' environment
\usepackage{relsize}
\usepackage[hyperfootnotes=false]{hyperref}
\hypersetup{hyperfootnotes=false}

\definecolor{darkblue}{rgb}{0,0.18,0.45}
\definecolor{darkgreen}{rgb}{0,0.39,0}

\hypersetup{colorlinks,linkcolor=darkblue,urlcolor=blue}

\DefineVerbatimEnvironment%
  {code}{Verbatim}{fontsize=\relsize{-0.5},fontseries=b}
% The metacode environment exists solely to allow meta-discussion of the code
% environment, as in
%   %= lang:latex
%   \begin{metacode}
%   %= lang:ruby
%   \begin{code}
%   def foo
%     "bar"
%   end
%   \end{code}
%   \end{metacode}
\DefineVerbatimEnvironment%
  {metacode}{Verbatim}{fontsize=\relsize{-0.5},fontseries=b}
\usepackage{xcolor}
\usepackage{graphicx}
\usepackage{polytexnic_commands}
\usepackage{pygments}
\usepackage{amsmath}
\usepackage{fancyvrb} % to get 'Verbatim' environment
\usepackage{relsize}
\usepackage[hyperfootnotes=false]{hyperref}
\hypersetup{hyperfootnotes=false}

% Links
\definecolor{darkblue}{rgb}{0,0.18,0.45}
\definecolor{darkgreen}{rgb}{0,0.39,0}
\hypersetup{colorlinks,linkcolor=darkblue,urlcolor=blue}

% Code environments
\DefineVerbatimEnvironment%
  {code}{Verbatim}{fontsize=\relsize{-0.5},fontseries=b}
% The metacode environment exists solely to allow meta-discussion of the code
% environment, as in
%   %= lang:latex
%   \begin{metacode}
%   %= lang:ruby
%   \begin{code}
%   def foo
%     "bar"
%   end
%   \end{code}
%   \end{metacode}
\DefineVerbatimEnvironment%
  {metacode}{Verbatim}{fontsize=\relsize{-0.5},fontseries=b}
Remove codelisting definition from template
Remove codelisting definition from template

It's actually defined in polytexnic-core because it's used by
Tralics to produce the HTML output. Putting it the polytexnic.sty
template as well causes an error.

[#51333043]
