Test duplicate equation labels
===============================

First equation with label:

.. math::
   :label: duplicated

   a^2 + b^2 = c^2

Second equation with the same label:

.. math::
   :label: duplicated

   e^{i\pi} + 1 = 0
