modification of bibliotools 2.2 from Sébastian Grauwin