Renumber citations in restructured text

Syntax for citations in markdown

I'll cite a publication [Bouvier_2010]_
and an other one [Bouvier_2014]_.

.. [Bouvier_2010] Bouvier, G., Evrard-Todeschi, N., Girault, J.-P. & Bertho, G. Automatic clustering of docking poses in virtual screening process using self-organizing map. Bioinformatics 26, 53–60 (2010).
.. [Bouvier_2014] Bouvier, G., Desdouits, N., Ferber, M., Blondel, A. & Nilges, M. An automatic tool to analyze and cluster macromolecular conformations based on Self-Organizing Maps. Bioinformatics btu849 (2014).

This script below will replace the citation occurrences with incremental number from 1 and compile the file in pdf with pandoc:

If you want to ask me a question or leave me a message add @bougui505 in your comment.